Definitions for the ARP module.
Adam Dunkels' original copyright notice
Copyright (c) 2001-2003, Adam Dunkels. All rights reserved.
(contained in this file) still holds. For modifications:
Copyright © 2011 Albrecht Weinert, Bochum
Data Structures | |
struct | arp_entry |
An ARP entry. More... | |
struct | arp_hdr |
The ARP header. More... | |
struct | ethip_hdr |
The IP header. More... | |
struct | uip_eth_hdr |
The Ethernet header. More... | |
Defines | |
#define | ARP_HWTYPE_ETH |
ARP packet hardware Ethernet (the only supported one) | |
#define | ARP_REPLY |
packet type answer "I have IP.. and MAC.." | |
#define | ARP_REQUEST |
packet type request "which MAC has IP...?" | |
#define | UIP_ETHTYPE_ARP |
Type ARP (in little endian) | |
#define | UIP_ETHTYPE_IP |
Type IP (V.4) (in little endian) | |
#define | UIP_ETHTYPE_IP6 |
Type IPV6 (in little endian) | |
Functions | |
void | uip_arp_arpin (void) |
ARP processing for incoming ARP packets. | |
void | uip_arp_init (void) |
Initialise the ARP module. | |
void | uip_arp_ipin (void) |
ARP processing for incoming IP packets. | |
void | uip_arp_out (void) |
The ARP output prepare function. | |
void | uip_arp_timer (void) |
Periodic ARP processing function. | |
Variables | |
struct arp_entry | arp_table [] |
The ARP table. | |
struct uip_eth_addr | broadcast_ethaddr |
The broadcast MAC. | |
const uint16_t | broadcast_ipaddr [] |
The broadcast IP address. |