Lines Matching defs:nat
5887 const NATTraversalInfo *nat;
5888 for (nat = m->NATTraversals; nat; nat=nat->next)
5891 nat,
5892 nat->Protocol ? (nat->Protocol == NATOp_MapTCP ? "TCP" : "UDP") : "ADD",
5893 mDNSVal16(nat->IntPort),
5894 (nat->lastSuccessfulProtocol == NATTProtocolNone ? "None " :
5895 nat->lastSuccessfulProtocol == NATTProtocolNATPMP ? "NAT-PMP " :
5896 nat->lastSuccessfulProtocol == NATTProtocolUPNPIGD ? "UPnP/IGD" :
5897 nat->lastSuccessfulProtocol == NATTProtocolPCP ? "PCP " :
5899 nat->Result,
5900 nat->retryPortMap ? (nat->retryPortMap - now) / mDNSPlatformOneSecond : 0,
5901 nat->retryInterval / mDNSPlatformOneSecond,
5902 nat->ExpiryTime ? (nat->ExpiryTime - now) / mDNSPlatformOneSecond : 0,
5903 &nat->NewAddress, mDNSVal16(nat->RequestedPort),
5904 &nat->ExternalAddress, mDNSVal16(nat->ExternalPort));