02.03.2014 Views

BSP Developer's Guide

BSP Developer's Guide

BSP Developer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

VxWorks 5.5<br />

<strong>BSP</strong> Developer’s <strong>Guide</strong><br />

this driver. Your driver uses this function pointer to pass data up to the<br />

protocol.<br />

attached<br />

A BOOL indicating whether or not the device is attached. The MUX sets and<br />

manages this value.<br />

txSem<br />

A semaphore that controls access to this device’s transmission facilities. The<br />

MUX sets and manages this value.<br />

flags<br />

A value constructed from ORing in IFF_* flag constants. Except for IFF_LOAN<br />

and IFF_SCAT, these constants are the same IFF_* flags associated with the<br />

TCP/IP stack.<br />

IFF_UP<br />

IFF_BROADCAST<br />

IFF_DEBUG<br />

IFF_LOOPBACK<br />

IFF_POINTOPOINT<br />

IFF_NOTRAILERS<br />

IFF_RUNNING<br />

IFF_NOARP<br />

IFF_PROMISC<br />

IFF_ALLMULTI<br />

IFF_OACTIVE<br />

IFF_SIMPLEX<br />

IFF_LINK0<br />

IFF_LINK1<br />

IFF_LINK2<br />

IFF_MULTICAST<br />

IFF_LOAN<br />

IFF_SCAT<br />

The interface driver is up.<br />

The broadcast address is valid.<br />

Debugging is on.<br />

This is a loopback net.<br />

The interface is a point-to-point link.<br />

The device must avoid using trailers.<br />

The device has successfully allocated needed<br />

resources.<br />

There is no address resolution protocol.<br />

This device receives all packets. n<br />

This device receives all multicast packets.<br />

Transmission in progress.<br />

The device cannot hear its own transmissions.<br />

A per link layer defined bit.<br />

A per link layer defined bit.<br />

A per link layer defined bit.<br />

The device supports multicast.<br />

The device supports buffer loaning.<br />

The device supports scatter/gather.<br />

pFuncTable<br />

A pointer to a net_funcs structure. This structure contains function pointers to<br />

your driver’s entry points for handling standard requests such as unload or<br />

send. Your driver must allocate and initialize this structure when the device is<br />

loaded. See Identifying the Entry Points into Your Network Driver: NET_FUNCS,<br />

p.286.<br />

284

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!