summaryrefslogtreecommitdiffstats
path: root/sys/netinet/if_ether.c
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2010-08-11 20:18:19 +0000
committerwill <will@FreeBSD.org>2010-08-11 20:18:19 +0000
commitd548943ae909fff2cc91f964186d557895e14bab (patch)
tree04a9bbb85e9f7f4a28b5bef19bf56f932ebf0ea4 /sys/netinet/if_ether.c
parent9198b19835979cee1b431f818f01d9859c25f48f (diff)
downloadFreeBSD-src-d548943ae909fff2cc91f964186d557895e14bab.zip
FreeBSD-src-d548943ae909fff2cc91f964186d557895e14bab.tar.gz
Unbreak LINT by moving all carp hooks to net/if.c / netinet/ip_carp.h, with
the appropriate ifdefs. Reviewed by: bz Approved by: ken (mentor)
Diffstat (limited to 'sys/netinet/if_ether.c')
-rw-r--r--sys/netinet/if_ether.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c
index bdc981a..a6ea36e 100644
--- a/sys/netinet/if_ether.c
+++ b/sys/netinet/if_ether.c
@@ -64,6 +64,9 @@ __FBSDID("$FreeBSD$");
#include <netinet/in_var.h>
#include <net/if_llatbl.h>
#include <netinet/if_ether.h>
+#if defined(INET) || defined(INET6)
+#include <netinet/ip_carp.h>
+#endif
#include <net/if_arc.h>
#include <net/iso88025.h>
@@ -118,10 +121,6 @@ static void arptimer(void *);
#ifdef INET
static void in_arpinput(struct mbuf *);
#endif
-#if defined(INET) || defined(INET6)
-int (*carp_iamatch_p)(struct ifnet *, struct in_ifaddr *, struct in_addr *,
- u_int8_t **);
-#endif
static const struct netisr_handler arp_nh = {
.nh_name = "arp",
OpenPOWER on IntegriCloud