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

netinet/if_ether.h File Reference

Ethernet interface definitions. More...


Data Structures

struct  ether_arp
 Ethernet ARP protocol structure. More...

struct  ether_header
 Ethernet protocol header. More...


Defines

#define ETHERTYPE_IP
 IP protocol.

#define ETHERTYPE_ARP
 Address resolution protocol.

#define ETHERMTU
 Ethernet maximum transfer unit.

#define ETHERMIN
 Ethernet manimum transfer unit.


Typedefs

typedef struct ether_header  ETHERHDR
 Ethernet protocol header type.

typedef struct ether_arp  ETHERARP
 Ethernet ARP protocol type.


Functions

void NutArpInput (NUTDEVICE *dev, NETBUF *nb)
 Handle incoming ARP packets. More...

NETBUFNutArpAllocNetBuf (u_short type, u_long ip, u_char *mac)
 Allocate an ARP network buffer structure. More...

int NutArpOutput (NUTDEVICE *dev, NETBUF *nb, u_char flags)
 Send an ARP packet. More...

void NutArpCacheUpdate (NUTDEVICE *dev, u_long ip, u_char *ha)
 Update an ARP entry. More...

int NutArpCacheQuery (NUTDEVICE *dev, const u_long ip, u_char *mac, NETBUF *nbip)
 Query MAC address for a specified IP address. More...


Detailed Description

Ethernet interface definitions.

A more elaborated file description.


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