mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
Retire arpresolve_addr(), which is not used anywhere, from if_ether.c.
This commit is contained in:
parent
adeebb8308
commit
90d99b6587
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=340493
@ -572,21 +572,6 @@ arpresolve_full(struct ifnet *ifp, int is_gw, int flags, struct mbuf *m,
|
||||
return (error);
|
||||
}
|
||||
|
||||
/*
|
||||
* Resolve an IP address into an ethernet address.
|
||||
*/
|
||||
int
|
||||
arpresolve_addr(struct ifnet *ifp, int flags, const struct sockaddr *dst,
|
||||
char *desten, uint32_t *pflags, struct llentry **plle)
|
||||
{
|
||||
int error;
|
||||
|
||||
flags |= LLE_ADDRONLY;
|
||||
error = arpresolve_full(ifp, 0, flags, NULL, dst, desten, pflags, plle);
|
||||
return (error);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Lookups link header based on an IP address.
|
||||
* On input:
|
||||
|
@ -117,9 +117,6 @@ extern u_char ether_ipmulticast_max[ETHER_ADDR_LEN];
|
||||
struct ifaddr;
|
||||
struct llentry;
|
||||
|
||||
int arpresolve_addr(struct ifnet *ifp, int flags,
|
||||
const struct sockaddr *dst, char *desten, uint32_t *pflags,
|
||||
struct llentry **plle);
|
||||
int arpresolve(struct ifnet *ifp, int is_gw, struct mbuf *m,
|
||||
const struct sockaddr *dst, u_char *desten, uint32_t *pflags,
|
||||
struct llentry **plle);
|
||||
|
Loading…
Reference in New Issue
Block a user