make LLTABLE visible to netinet

This commit is contained in:
kmacy 2009-04-15 20:49:59 +00:00
parent 244e1ecdbf
commit af3258259b
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.
*/