74 void processArp(PoolPtr p, PEFRAME pF);
76 void AddCheckArp(MACADR *ma, IPADDR4 ip,
int ifnum);
77 void DeleteArpFromIp(IPADDR4 ip);
79 void RouteOut(PEFRAME pf, IPADDR4 ip, PoolPtr p);
80 void RouteOutVia(PEFRAME pf, IPADDR4 ipfrom, IPADDR4 ipto, PoolPtr p,
int intf);
83 void AddStaticArp(MACADR *ma,
IPADDR ip,
int ifnum);
87 BOOL IsMyAddressUsedArpDetect(uint16_t timeout,
int interface = 0);
89 int GetProperInterface4(IPADDR4 dst);
113 beuint16_t hard_Type;
114 beuint16_t prot_Type;
122 } __attribute__((packed)) ARP;
Used to hold and manipulate IPv4 and IPv6 addresses in dual stack mode.
Definition: ipv6_addr.h:28
void ShowArp()
Display ARP cache, output will be the stdio serial port.
Definition: arp.cpp:409
void fShowArp(FILE *fp)
Display ARP cache, output will be sent to the specified file pointer.
Definition: arp.cpp:393
BOOL GetArpMacFromIp(IPADDR4 ip, MACADR &ma)
Check to see if the specified IP address is in the ARP cache.
Definition: arp.cpp:971
void sendGratuitousArp(int interfaceNumber, IPADDR4 ip)
Send Gratuitous ARP Request.
Definition: arp.cpp:604