ether.h File Reference

Ethernet protocol definitions. More...

Go to the source code of this file.

Functions

void NutEtherInput (NUTDEVICE *dev, NETBUF *nb)
 Handle incoming Ethernet frames.
int NutEtherOutput (NUTDEVICE *dev, uint16_t type, uint8_t *ha, NETBUF *nb)
 Send Ethernet frame.
int NutRegisterEthHandler (uint16_t type, uint16_t mask, int(*hdlr)(NUTDEVICE *, NETBUF *))
 Register an additional Ethernet protocol handler.

Variables

int(* ether_demux )(NUTDEVICE *, NETBUF *)
 Pointer to an optional demultiplexer.


Detailed Description

Ethernet protocol definitions.

Definition in file ether.h.


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