make LLTABLE visible to netinet

This commit is contained in:
Kip Macy 2009-04-15 20:49:59 +00:00
parent 6672361085
commit 582b6122ab
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=191120
2 changed files with 2 additions and 2 deletions

View File

@ -81,8 +81,6 @@ __FBSDID("$FreeBSD$");
#define SIN(s) ((struct sockaddr_in *)s)
#define SDL(s) ((struct sockaddr_dl *)s)
#define LLTABLE(ifp) \
((struct in_ifinfo *)(ifp)->if_afdata[AF_INET])->ii_llt
SYSCTL_DECL(_net_link_ether);
SYSCTL_NODE(_net_link_ether, PF_INET, inet, CTLFLAG_RW, 0, "");

View File

@ -95,6 +95,8 @@ struct in_aliasreq {
#ifdef _KERNEL
extern u_char inetctlerrmap[];
#define LLTABLE(ifp) \
((struct in_ifinfo *)(ifp)->if_afdata[AF_INET])->ii_llt
/*
* Hash table for IP addresses.
*/