uip_arp.c File Reference


Detailed Description

Implementation of the ARP Address Resolution Protocol.
Author:
Adam Dunkels <adam@dunkels.com>

Definition in file uip_arp.c.

#include "uip_arp.h"
#include <string.h>

Go to the source code of this file.

Data Structures

struct  arp_hdr
struct  ethip_hdr
struct  arp_entry

Defines

#define ARP_REQUEST   1
#define ARP_REPLY   2
#define ARP_HWTYPE_ETH   1
#define BUF   ((struct arp_hdr *)&uip_buf[0])
#define IPBUF   ((struct ethip_hdr *)&uip_buf[0])

Functions

void uip_arp_init (void)
void uip_arp_timer (void)
static void uip_arp_update (u16_t *ipaddr, struct uip_eth_addr *ethaddr)
void uip_arp_ipin (void)
void uip_arp_arpin (void)
void uip_arp_out (void)

Variables

uip_eth_addr uip_ethaddr
static struct arp_entry arp_table [UIP_ARPTAB_SIZE]
static u16_t ipaddr [2]
static u8_t i
static u8_t c
static u8_t arptime
static u8_t tmpage


Generated on Fri Jan 6 22:23:17 2006 for EtherProgs by  doxygen 1.4.5