aboutsummaryrefslogtreecommitdiff
path: root/net/arp.h
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-23 08:00:11 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-23 17:53:07 -0500
commit228041893c2b6f79326f4b49ee7b3b3a90e90e8e (patch)
tree347b2ac6dc73cb5a345bfb2325d7ad26b092d777 /net/arp.h
parente94070c443bdc9c0231abeca920d9f9362701aec (diff)
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 <joe.hershberger@ni.com>
Diffstat (limited to 'net/arp.h')
-rw-r--r--net/arp.h2
1 files changed, 2 insertions, 0 deletions
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);