mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Move arprequest() declaration to if_ether.h.
This commit is contained in:
parent
34d80cf2ff
commit
94901d5e60
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=229810
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user