Lines Matching defs:Protocol

563                 if (info->Protocol)
570 NATPortReq.opcode = info->Protocol;
621 req.protocol = (info->Protocol == NATOp_MapUDP ? PCPProto_UDP : PCPProto_TCP);
627 if (info->Protocol)
678 if (!n->Protocol) n->NewResult = mStatus_NoError;
745 (n->Protocol ?
774 const char *prot = n->Protocol == 0 ? "Add" : n->Protocol == NATOp_MapUDP ? "UDP" : n->Protocol == NATOp_MapTCP ? "TCP" : "???";
806 if (n->Protocol) n->RequestedPort = extport; // Don't report the (PCP) external port to address-only operations
825 LogInfo("mDNS_StartNATOperation_internal %p Protocol %d IntPort %d RequestedPort %d NATLease %d", traversal,
826 traversal->Protocol, mDNSVal16(traversal->IntPort), mDNSVal16(traversal->RequestedPort), traversal->NATLease);
834 traversal, traversal->Protocol, mDNSVal16(traversal->IntPort), traversal->NATLease);
837 if (traversal->Protocol && traversal->Protocol == (*n)->Protocol && mDNSSameIPPort(traversal->IntPort, (*n)->IntPort) &&
841 traversal, traversal->Protocol, mDNSVal16(traversal->IntPort), traversal->NATLease,
842 *n, (*n)->Protocol, mDNSVal16((*n)->IntPort), (*n)->NATLease);
875 if (!traversal->Protocol)
903 traversal->Protocol, mDNSVal16(traversal->IntPort), mDNSVal16(traversal->RequestedPort), traversal->NATLease);
911 if (traversal->Protocol ?
912 ((traversal->Protocol == p->Protocol && mDNSSameIPPort(traversal->IntPort, p->IntPort)) ||
913 (!p->Protocol && traversal->Protocol == NATOp_MapTCP && mDNSSameIPPort(traversal->IntPort, DiscardPort))) :
914 (!p->Protocol || (p->Protocol == NATOp_MapTCP && mDNSSameIPPort(p->IntPort, DiscardPort))))
918 traversal, traversal->Protocol, mDNSVal16(traversal->IntPort), traversal->NATLease,
919 p, p->Protocol, mDNSVal16( p->IntPort), p->NATLease);
2169 //Assume <Service Instance>.<App Protocol>.<Transport protocol>.<Name>
2180 rr->NATinfo.Protocol = protocol;
2431 h->natinfo.Protocol = 0;
3700 mDNSu8 Protocol = AddrReply->opcode & 0x7F;
3718 if (ptr->Protocol == Protocol && mDNSSameIPPort(ptr->IntPort, PortMapReply->intport))
3849 mDNSu8 ptrProtocol = ((ptr->Protocol & NATOp_MapTCP) == NATOp_MapTCP ? PCPProto_TCP : PCPProto_UDP);
3851 (!ptr->Protocol && protocol == PCPProto_TCP && mDNSSameIPPort(DiscardPort, intport)))
5073 if (!cur->Protocol || HaveRoutable || cur->ExpiryTime || cur->retryInterval > NATMAP_INIT_RETRY * 8)
5079 //LogMsg("NAT callback %d %d %d", cur->Protocol, cur->ExpiryTime, cur->retryInterval);
5080 if (cur->Protocol && mDNSIPPortIsZero(ExternalPort) && !mDNSIPv4AddressIsZero(m->Router.ip.v4))