Data Structures | |
struct | _NICINFO |
Network interface controller information structure. More... | |
Typedefs | |
typedef _NICINFO | NICINFO |
Network interface controller information type. | |
Functions | |
int | NicInit (NUTDEVICE *dev) |
Initialize Ethernet hardware. | |
int | NicOutput (NUTDEVICE *dev, NETBUF *nb) |
Send Ethernet packet. | |
Variables | |
NUTDEVICE | devEth0 |
Device information structure. | |
NUTDEVICE | devEth0cs |
Device information structure. |
|
Network interface controller information type.
|
|
Device information structure. A pointer to this structure must be passed to NutRegisterDevice() to bind this Ethernet device driver to the Nut/OS kernel. An application may then call NutNetIfConfig() with the name eth0 of this driver to initialize the network interface. |
|
Device information structure. Applications must pass this structure to NutRegisterDevice() to bind this Ethernet device driver to the Nut/OS kernel. Having done that, the application may call NutNetIfConfig() with the name eth0 of this driver to initialize the network interface. |