Collaboration diagram for Device eth0:
|
Variables | |
| NUTDEVICE | devEth0 |
| Device information structure. | |
|
|
Initial value: {
0,
{'e', 't', 'h', '0', 0, 0, 0, 0, 0},
IFTYP_NET,
0,
0,
&ifn_eth0,
&dcb_eth0,
NicInit,
0,
0,
0,
0,
0,
0,
0
}
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. |