Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

# arp.c File Reference

## Detailed Description

Definition in file arp.c.

`#include "global.h"`
`#include "net.h"`
`#include "nic.h"`
`#include "arp.h"`
`#include "rprintf.h"`

Go to the source code of this file.

## Functions
void | arpInit (void)
void | arpSetAddress (struct netEthAddr *myeth, uint32_t myip)
void | arpArpIn (unsigned int len, struct netEthArpHeader *packet)
void | arpIpIn (struct netEthIpHeader *packet)
void | arpIpOut (struct netEthIpHeader *packet, uint32_t phyDstIp)
void | arpTimer (void)
int | arpMatchIp (uint32_t ipaddr)
## Variables
ArpEntry | ArpMyAddr
| my local interface information (IP and MAC address)
ArpEntry | ArpTable [ARP_TABLE_SIZE]
| ARP table of matched IP<->MAC associations.