summaryrefslogtreecommitdiffstats
path: root/sys/netinet/if_ether.h
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2007-12-17 07:40:34 +0000
committerkmacy <kmacy@FreeBSD.org>2007-12-17 07:40:34 +0000
commit5d9e84762ff39809f194363b8a97e3fae172b8c1 (patch)
tree2c1772fe1f6710638d11e67594c7a3c6914651cf /sys/netinet/if_ether.h
parent9251d75b0194e548690e01ce21d32516eb8e5c63 (diff)
downloadFreeBSD-src-5d9e84762ff39809f194363b8a97e3fae172b8c1.zip
FreeBSD-src-5d9e84762ff39809f194363b8a97e3fae172b8c1.tar.gz
widen the routing event interface (arp update, redirect, and eventually pmtu change)
into separate functions revert previous commit's changes to arpresolve and add a new interface arpresolve2 which does arp resolution without an mbuf
Diffstat (limited to 'sys/netinet/if_ether.h')
-rw-r--r--sys/netinet/if_ether.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h
index 14df15f..ae2b0d0 100644
--- a/sys/netinet/if_ether.h
+++ b/sys/netinet/if_ether.h
@@ -111,6 +111,8 @@ extern u_char ether_ipmulticast_max[ETHER_ADDR_LEN];
int arpresolve(struct ifnet *ifp, struct rtentry *rt,
struct mbuf *m, struct sockaddr *dst, u_char *desten);
+int arpresolve2(struct ifnet *ifp, struct rtentry *rt,
+ struct sockaddr *dst, u_char *desten);
void arp_ifinit(struct ifnet *, struct ifaddr *);
void arp_ifinit2(struct ifnet *, struct ifaddr *, u_char *);
#endif
OpenPOWER on IntegriCloud