Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages | Examples

include/dev/nicrtl.h File Reference


Detailed Description

Network interface controller definitions.


Data Structures

struct  _NICINFO
 Network interface controller information structure. More...


Defines

#define DEV_ETHER

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.


Variable Documentation

NUTDEVICE devEth0cs
 

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.


© 2000-2003 by egnite Software GmbH - visit http://www.ethernut.de/