Nut/OS  4.10.3
API Reference
ether.h File Reference

Ethernet protocol definitions. More...

#include <sys/types.h>
#include <dev/netbuf.h>
#include <net/if_var.h>
Include dependency graph for ether.h:
This graph shows which files directly or indirectly include this file:

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.