Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

# uip/uip_arp.h File Reference

## Detailed Description

Macros and definitions for the ARP module.

Author:
  Adam Dunkels <adam@dunkels.com>

`#include "uip.h"`

Include dependency graph for uip_arp.h:

This graph shows which files directly or indirectly include this file:

## Data Structures
struct | uip_eth_addr
| Representation of a 48-bit Ethernet address. More...
struct | uip_eth_hdr
| The Ethernet header. More...
## Defines
#define | uip_setdraddr(addr)
| Set the default router's IP address.
#define | uip_setnetmask(addr)
| Set the netmask.
#define | uip_getdraddr(addr)
| Get the default router's IP address.
#define | uip_getnetmask(addr)
| Get the netmask.
#define | uip_setethaddr(eaddr)
| Specifiy the Ethernet MAC address.
## Functions
void | uip_arp_init (void)
| Initialize the ARP module.
void | uip_arp_ipin (void)
| ARP processing for incoming IP packets.
void | uip_arp_arpin (void)
| ARP processing for incoming ARP packets.
void | uip_arp_out (void)
| Prepend Ethernet header to an outbound IP packet and see if we need to send out an ARP request.
void | uip_arp_timer (void)
| Periodic ARP processing function.