diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-07-04 08:22:20 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-07-04 08:22:20 +0000 |
commit | 7b888444f73c10939da5e09e58c0d750db5a6426 (patch) | |
tree | cdfbd262ce4190d3edacf456ea4b8fb42e661097 /sys/netinet/if_ether.h | |
parent | 2853d72618abd8407e6323f5090f60b69c1e6e5c (diff) |
Rewrite the function used to determine if we do proxy ARP for one of
our addresses to reuse arplookup() and do only one list iteration.
Looks ok to claudio@, ok mikeb@
Diffstat (limited to 'sys/netinet/if_ether.h')
-rw-r--r-- | sys/netinet/if_ether.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h index 0b70ceb3f78..9c0d6a6344e 100644 --- a/sys/netinet/if_ether.h +++ b/sys/netinet/if_ether.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ether.h,v 1.49 2013/03/22 01:41:12 tedu Exp $ */ +/* $OpenBSD: if_ether.h,v 1.50 2013/07/04 08:22:19 mpi Exp $ */ /* $NetBSD: if_ether.h,v 1.22 1996/05/11 13:00:00 mycroft Exp $ */ /* @@ -281,6 +281,7 @@ extern struct ifnet *revarp_ifp; #endif /* NFSCLIENT */ void arprequest(struct ifnet *, u_int32_t *, u_int32_t *, u_int8_t *); +int arpproxy(struct in_addr, u_int); void revarpinput(struct mbuf *); void in_revarpinput(struct mbuf *); void revarprequest(struct ifnet *); |