Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NatTypeUnknown = NatType("NatUnknown") NatTypeBlocked = NatType("NatBlocked") NatTypeNotBehind = NatType("NatNotBehind") NatTypeSymmetric = NatType("NatSymmetric") NatTypeFullCone = NatType("NatFullCone") NatTypeAddrRestrictedCone = NatType("NatAddrRestrictedCone") NatTypePortRestrictedCone = NatType("NatPortRestrictedCone") BehaviorTypeUnknown = BehaviorType("BehaviorUnknown") BehaviorTypeEndpoint = BehaviorType("BehaviorEndpointIndependent") BehaviorTypeAddr = BehaviorType("BehaviorAddressDependent") BehaviorTypeAddrAndPort = BehaviorType("BehaviorAddressAndPortDependent") )
Functions ¶
This section is empty.
Types ¶
type BehaviorType ¶
type BehaviorType string
type Nat ¶
type Nat struct { ExternalAddr []gnet.IPPort NatType NatType MappingType BehaviorType FilteringType BehaviorType }
Click to show internal directories.
Click to hide internal directories.