Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages | Examples
include/netinet/if_ether.h File Reference
Detailed Description
Ethernet interface definitions.A more elaborated file description.
Defines | |
| #define | ETHERTYPE_IP |
| IP protocol. | |
| #define | ETHERTYPE_ARP |
| Address resolution protocol. | |
| #define | ETHERMTU |
| Ethernet maximum transfer unit. | |
| #define | ETHERMIN |
| Ethernet minimum transfer unit. | |
Typedefs | |
| typedef ether_header | ETHERHDR |
| Ethernet protocol header type. | |
| typedef ether_arp | ETHERARP |
| Ethernet ARP protocol type. | |
Functions | |
| void | NutArpInput (NUTDEVICE *dev, NETBUF *nb) |
| Handle incoming ARP packets. | |
| NETBUF * | NutArpAllocNetBuf (u_short type, u_long ip, u_char *mac) |
| Allocate an ARP network buffer structure. | |
| int | NutArpOutput (NUTDEVICE *dev, NETBUF *nb) |
| Send an ARP packet. | |
| void | NutArpCacheUpdate (NUTDEVICE *dev, u_long ip, u_char *ha) |
| Update an ARP entry. | |
| int | NutArpCacheQuery (NUTDEVICE *dev, u_long ip, u_char *mac) |