summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2012-01-08 13:34:00 +0000
committerglebius <glebius@FreeBSD.org>2012-01-08 13:34:00 +0000
commitf99edf0f86987cda4cc1999771966c5abd3bc94e (patch)
tree2c9f0db1a4c18fd02246fcd38805ef9ff33a326e
parent343f2eb0fe468bcd8464b2e3aaf953f6dae6e5b3 (diff)
downloadFreeBSD-src-f99edf0f86987cda4cc1999771966c5abd3bc94e.zip
FreeBSD-src-f99edf0f86987cda4cc1999771966c5abd3bc94e.tar.gz
Move arprequest() declaration to if_ether.h.
-rw-r--r--sys/net/if_llatbl.c3
-rw-r--r--sys/netinet/if_ether.c2
-rw-r--r--sys/netinet/if_ether.h2
3 files changed, 2 insertions, 5 deletions
diff --git a/sys/net/if_llatbl.c b/sys/net/if_llatbl.c
index b19a0a4..559a174 100644
--- a/sys/net/if_llatbl.c
+++ b/sys/net/if_llatbl.c
@@ -65,9 +65,6 @@ MALLOC_DEFINE(M_LLTABLE, "lltable", "link level address tables");
static VNET_DEFINE(SLIST_HEAD(, lltable), lltables);
#define V_lltables VNET(lltables)
-extern void arprequest(struct ifnet *, struct in_addr *, struct in_addr *,
- u_char *);
-
static void vnet_lltable_init(void);
struct rwlock lltable_rwlock;
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c
index 3e40cb3..4544fbe 100644
--- a/sys/netinet/if_ether.c
+++ b/sys/netinet/if_ether.c
@@ -123,8 +123,6 @@ SYSCTL_VNET_INT(_net_link_ether_inet, OID_AUTO, maxhold, CTLFLAG_RW,
"Number of packets to hold per ARP entry");
static void arp_init(void);
-void arprequest(struct ifnet *,
- struct in_addr *, struct in_addr *, u_char *);
static void arpintr(struct mbuf *);
static void arptimer(void *);
#ifdef INET
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h
index 4b3ebd7..8d44d35 100644
--- a/sys/netinet/if_ether.h
+++ b/sys/netinet/if_ether.h
@@ -115,6 +115,8 @@ struct ifaddr;
int arpresolve(struct ifnet *ifp, struct rtentry *rt,
struct mbuf *m, struct sockaddr *dst, u_char *desten,
struct llentry **lle);
+void arprequest(struct ifnet *, struct in_addr *, struct in_addr *,
+ u_char *);
void arp_ifinit(struct ifnet *, struct ifaddr *);
void arp_ifinit2(struct ifnet *, struct ifaddr *, u_char *);
void arp_ifscrub(struct ifnet *, uint32_t);
OpenPOWER on IntegriCloud