Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/libalias/alias_local.h
Show First 20 Lines • Show All 91 Lines • ▼ Show 20 Lines | struct libalias { | ||||
/* Lookup table of pointers to chains of link records. | /* Lookup table of pointers to chains of link records. | ||||
* Each link record is doubly indexed into input and | * Each link record is doubly indexed into input and | ||||
* output lookup tables. */ | * output lookup tables. */ | ||||
LIST_HEAD (, alias_link) linkTableOut[LINK_TABLE_OUT_SIZE]; | LIST_HEAD (, alias_link) linkTableOut[LINK_TABLE_OUT_SIZE]; | ||||
LIST_HEAD (, alias_link) linkTableIn[LINK_TABLE_IN_SIZE]; | LIST_HEAD (, alias_link) linkTableIn[LINK_TABLE_IN_SIZE]; | ||||
/* HouseKeeping */ | /* HouseKeeping */ | ||||
TAILQ_HEAD (, alias_link) checkExpire; | TAILQ_HEAD (, alias_link) checkExpire; | ||||
/* Link statistics */ | /* Link statistics */ | ||||
int icmpLinkCount; | unsigned int icmpLinkCount; | ||||
int udpLinkCount; | unsigned int udpLinkCount; | ||||
int tcpLinkCount; | unsigned int tcpLinkCount; | ||||
int pptpLinkCount; | unsigned int pptpLinkCount; | ||||
int protoLinkCount; | unsigned int protoLinkCount; | ||||
int fragmentIdLinkCount; | unsigned int fragmentIdLinkCount; | ||||
int fragmentPtrLinkCount; | unsigned int fragmentPtrLinkCount; | ||||
int sockCount; | unsigned int sockCount; | ||||
/* System time in seconds for current packet */ | /* System time in seconds for current packet */ | ||||
int timeStamp; | int timeStamp; | ||||
/* If equal to zero, DeleteLink() | /* If equal to zero, DeleteLink() | ||||
* will not remove permanent links */ | * will not remove permanent links */ | ||||
int deleteAllLinks; | int deleteAllLinks; | ||||
/* log descriptor */ | /* log descriptor */ | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
char *logDesc; | char *logDesc; | ||||
▲ Show 20 Lines • Show All 262 Lines • Show Last 20 Lines |