Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/libalias/alias_local.h
Show First 20 Lines • Show All 83 Lines • ▼ Show 20 Lines | struct libalias { | ||||
LIST_ENTRY(libalias) instancelist; | LIST_ENTRY(libalias) instancelist; | ||||
/* Mode flags documented in alias.h */ | /* Mode flags documented in alias.h */ | ||||
int packetAliasMode; | int packetAliasMode; | ||||
/* Address written onto source field of IP packet. */ | /* Address written onto source field of IP packet. */ | ||||
struct in_addr aliasAddress; | struct in_addr aliasAddress; | ||||
/* IP address incoming packets are sent to | /* IP address incoming packets are sent to | ||||
* if no aliasing link already exists */ | * if no aliasing link already exists */ | ||||
struct in_addr targetAddress; | struct in_addr targetAddress; | ||||
/* Used as a dummy parameter for some function calls */ | |||||
struct in_addr nullAddress; | |||||
/* 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]; | ||||
/* Link statistics */ | /* Link statistics */ | ||||
int icmpLinkCount; | int icmpLinkCount; | ||||
int udpLinkCount; | int udpLinkCount; | ||||
▲ Show 20 Lines • Show All 284 Lines • Show Last 20 Lines |