Functions | |
void | NutArpCacheUpdate (NUTDEVICE *dev, u_long ip, u_char *ha) |
Update an ARP entry. | |
int | NutArpCacheQuery (NUTDEVICE *dev, CONST u_long ip, u_char *mac) |
Query MAC address for a specified IP address. | |
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. |
|
Allocate an ARP network buffer structure.
|
|
Query MAC address for a specified IP address. If no entry is available in the ARP cache, an ARP request is generated, sent out to the network and the calling thread will be suspended.
|
|
Update an ARP entry. If an entry with the same IP address exists, then this entry is updated. If no entry exists, a new one is created. All threads waiting for address resolution are woken up.
|
|
Handle incoming ARP packets. Packets not destined to us or packets with unsupported address type or item length are silently discarded.
|
|
Send an ARP packet.
|