svn commit: r229810 - in head/sys: net netinet
Gleb Smirnoff
glebius at FreeBSD.org
Sun Jan 8 13:34:01 UTC 2012
Author: glebius
Date: Sun Jan 8 13:34:00 2012
New Revision: 229810
URL: http://svn.freebsd.org/changeset/base/229810
Log:
Move arprequest() declaration to if_ether.h.
Modified:
head/sys/net/if_llatbl.c
head/sys/netinet/if_ether.c
head/sys/netinet/if_ether.h
Modified: head/sys/net/if_llatbl.c
==============================================================================
--- head/sys/net/if_llatbl.c Sun Jan 8 12:38:41 2012 (r229809)
+++ head/sys/net/if_llatbl.c Sun Jan 8 13:34:00 2012 (r229810)
@@ -65,9 +65,6 @@ MALLOC_DEFINE(M_LLTABLE, "lltable", "lin
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;
Modified: head/sys/netinet/if_ether.c
==============================================================================
--- head/sys/netinet/if_ether.c Sun Jan 8 12:38:41 2012 (r229809)
+++ head/sys/netinet/if_ether.c Sun Jan 8 13:34:00 2012 (r229810)
@@ -123,8 +123,6 @@ SYSCTL_VNET_INT(_net_link_ether_inet, OI
"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
Modified: head/sys/netinet/if_ether.h
==============================================================================
--- head/sys/netinet/if_ether.h Sun Jan 8 12:38:41 2012 (r229809)
+++ head/sys/netinet/if_ether.h Sun Jan 8 13:34:00 2012 (r229810)
@@ -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);
More information about the svn-src-all
mailing list