FreeBSD kernel IPv4 code
libalias Struct Reference

#include <alias_local.h>

Collaboration diagram for libalias:

Public Member Functions

 LIST_ENTRY (libalias) instancelist
 
 SPLAY_HEAD (splay_out, alias_link) linkSplayOut
 
 SPLAY_HEAD (splay_in, group_in) linkSplayIn
 
 LIST_HEAD (, alias_link) pptpList
 
 TAILQ_HEAD (, alias_link) checkExpire
 
 LIST_HEAD (sctpNatTableL, sctp_nat_assoc) *sctpTableLocal
 
 LIST_HEAD (sctpNatTableG, sctp_nat_assoc) *sctpTableGlobal
 

Data Fields

int packetAliasMode
 
struct in_addr aliasAddress
 
struct in_addr targetAddress
 
unsigned int icmpLinkCount
 
unsigned int udpLinkCount
 
unsigned int tcpLinkCount
 
unsigned int pptpLinkCount
 
unsigned int protoLinkCount
 
unsigned int fragmentIdLinkCount
 
unsigned int fragmentPtrLinkCount
 
unsigned int sockCount
 
char * logDesc
 
int fireWallFD
 
int fireWallBaseNum
 
int fireWallNumNums
 
int fireWallActiveNum
 
char * fireWallField
 
unsigned int skinnyPort
 
struct proxy_entryproxyList
 
struct in_addr true_addr
 
u_short true_port
 
u_short aliasPortLower
 
u_short aliasPortLength
 
int sctpLinkCount
 
struct sctp_nat_timer sctpNatTimer
 
u_int sctpNatTableSize
 
struct mtx mutex
 

Detailed Description

Definition at line 89 of file alias_local.h.

Member Function Documentation

◆ LIST_ENTRY()

libalias::LIST_ENTRY ( libalias  )

◆ LIST_HEAD() [1/3]

libalias::LIST_HEAD ( alias_link  )

◆ LIST_HEAD() [2/3]

libalias::LIST_HEAD ( sctpNatTableG  ,
sctp_nat_assoc   
)

◆ LIST_HEAD() [3/3]

libalias::LIST_HEAD ( sctpNatTableL  ,
sctp_nat_assoc   
)

◆ SPLAY_HEAD() [1/2]

libalias::SPLAY_HEAD ( splay_in  ,
group_in   
)

◆ SPLAY_HEAD() [2/2]

libalias::SPLAY_HEAD ( splay_out  ,
alias_link   
)

◆ TAILQ_HEAD()

libalias::TAILQ_HEAD ( alias_link  )

Field Documentation

◆ aliasAddress

◆ aliasPortLength

u_short libalias::aliasPortLength

Definition at line 146 of file alias_local.h.

Referenced by _RandomPort(), LibAliasInit(), and LibAliasSetAliasPortRange().

◆ aliasPortLower

u_short libalias::aliasPortLower

Definition at line 145 of file alias_local.h.

Referenced by _RandomPort(), LibAliasInit(), and LibAliasSetAliasPortRange().

◆ fireWallActiveNum

int libalias::fireWallActiveNum

Definition at line 132 of file alias_local.h.

Referenced by InitPunchFW(), and PunchFWHole().

◆ fireWallBaseNum

int libalias::fireWallBaseNum

Definition at line 128 of file alias_local.h.

Referenced by ClearAllFWHoles(), InitPunchFW(), LibAliasSetFWBase(), and PunchFWHole().

◆ fireWallFD

int libalias::fireWallFD

◆ fireWallField

char* libalias::fireWallField

Definition at line 134 of file alias_local.h.

Referenced by ClearAllFWHoles(), ClearFWHole(), InitPunchFW(), PunchFWHole(), and UninitPunchFW().

◆ fireWallNumNums

int libalias::fireWallNumNums

Definition at line 130 of file alias_local.h.

Referenced by ClearAllFWHoles(), InitPunchFW(), LibAliasSetFWBase(), and PunchFWHole().

◆ fragmentIdLinkCount

unsigned int libalias::fragmentIdLinkCount

Definition at line 112 of file alias_local.h.

Referenced by AddLink(), DeleteLink(), LibAliasInit(), and ShowAliasStats().

◆ fragmentPtrLinkCount

unsigned int libalias::fragmentPtrLinkCount

Definition at line 113 of file alias_local.h.

Referenced by AddLink(), DeleteLink(), LibAliasInit(), and ShowAliasStats().

◆ icmpLinkCount

unsigned int libalias::icmpLinkCount

Definition at line 107 of file alias_local.h.

Referenced by AddLink(), DeleteLink(), LibAliasInit(), and ShowAliasStats().

◆ logDesc

char* libalias::logDesc

Definition at line 117 of file alias_local.h.

Referenced by InitPacketAliasLog(), ShowAliasStats(), and UninitPacketAliasLog().

◆ mutex

struct mtx libalias::mutex

Definition at line 165 of file alias_local.h.

◆ packetAliasMode

◆ pptpLinkCount

unsigned int libalias::pptpLinkCount

Definition at line 110 of file alias_local.h.

Referenced by AddLink(), DeleteLink(), LibAliasInit(), and ShowAliasStats().

◆ protoLinkCount

unsigned int libalias::protoLinkCount

Definition at line 111 of file alias_local.h.

Referenced by AddLink(), DeleteLink(), LibAliasInit(), and ShowAliasStats().

◆ proxyList

struct proxy_entry* libalias::proxyList

Definition at line 139 of file alias_local.h.

Referenced by ProxyCheck(), RuleAdd(), RuleDelete(), and RuleNumberDelete().

◆ sctpLinkCount

int libalias::sctpLinkCount

Definition at line 153 of file alias_local.h.

Referenced by LibAliasInit(), and ShowAliasStats().

◆ sctpNatTableSize

u_int libalias::sctpNatTableSize

◆ sctpNatTimer

struct sctp_nat_timer libalias::sctpNatTimer

Definition at line 156 of file alias_local.h.

◆ skinnyPort

unsigned int libalias::skinnyPort

Definition at line 137 of file alias_local.h.

Referenced by AliasHandleSkinny(), fingerprint(), and LibAliasSetSkinnyPort().

◆ sockCount

unsigned int libalias::sockCount

Definition at line 114 of file alias_local.h.

Referenced by DeleteLink(), GetSocket(), LibAliasInit(), and ShowAliasStats().

◆ targetAddress

struct in_addr libalias::targetAddress

Definition at line 97 of file alias_local.h.

Referenced by FindOriginalAddress(), LibAliasInit(), and LibAliasSetTarget().

◆ tcpLinkCount

unsigned int libalias::tcpLinkCount

Definition at line 109 of file alias_local.h.

Referenced by AddLink(), DeleteLink(), HouseKeeping(), LibAliasInit(), and ShowAliasStats().

◆ true_addr

◆ true_port

u_short libalias::true_port

◆ udpLinkCount

unsigned int libalias::udpLinkCount

Definition at line 108 of file alias_local.h.

Referenced by AddLink(), DeleteLink(), HouseKeeping(), LibAliasInit(), and ShowAliasStats().


The documentation for this struct was generated from the following file: