From 228041893c2b6f79326f4b49ee7b3b3a90e90e8e Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Wed, 23 May 2012 08:00:11 +0000 Subject: net: Separate ArpRequest() into lower-level func Link-local support will need to send ARP packets, but needs more fine-grained control over the contents. Split the implementation into 2 parts so link-local can share the code. Signed-off-by: Joe Hershberger --- net/arp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'net/arp.h') diff --git a/net/arp.h b/net/arp.h index 956fc5e57..bfd57e010 100644 --- a/net/arp.h +++ b/net/arp.h @@ -22,6 +22,8 @@ extern int NetArpWaitTry; void ArpInit(void); void ArpRequest(void); +void arp_raw_request(IPaddr_t sourceIP, const uchar *targetEther, + IPaddr_t targetIP); void ArpTimeoutCheck(void); void ArpReceive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len); -- cgit v1.2.3