Lines Matching defs:Protocol
432 u.NATPortReq.opcode = info->Protocol;
519 const char *prot = n->Protocol == NATOp_MapUDP ? "UDP" : n->Protocol == NATOp_MapTCP ? "TCP" : "?";
558 LogInfo("mDNS_StartNATOperation_internal %p Protocol %d IntPort %d RequestedPort %d NATLease %d", traversal,
559 traversal->Protocol, mDNSVal16(traversal->IntPort), mDNSVal16(traversal->RequestedPort), traversal->NATLease);
567 traversal, traversal->Protocol, mDNSVal16(traversal->IntPort), traversal->NATLease);
573 if (traversal->Protocol && traversal->Protocol == (*n)->Protocol && mDNSSameIPPort(traversal->IntPort, (*n)->IntPort) &&
577 traversal, traversal->Protocol, mDNSVal16(traversal->IntPort), traversal->NATLease,
578 *n, (*n) ->Protocol, mDNSVal16((*n) ->IntPort), (*n) ->NATLease);
628 traversal->Protocol, mDNSVal16(traversal->IntPort), mDNSVal16(traversal->RequestedPort), traversal->NATLease);
633 if (traversal->Protocol)
635 if (traversal->Protocol == p->Protocol && mDNSSameIPPort(traversal->IntPort, p->IntPort))
640 traversal, traversal->Protocol, mDNSVal16(traversal->IntPort), traversal->NATLease,
641 p, p ->Protocol, mDNSVal16(p ->IntPort), p ->NATLease);
940 // We have a protocol anomaly here in the LLQ definition.
1841 mDNSu8 protocol;
1849 //Assume <Service Instance>.<App Protocol>.<Transport protocol>.<Name>
1850 // Skip the first two labels to get to the transport protocol
1853 if (SameDomainLabel(p, (mDNSu8 *)"\x4" "_tcp")) protocol = NATOp_MapTCP;
1854 else if (SameDomainLabel(p, (mDNSu8 *)"\x4" "_udp")) protocol = NATOp_MapUDP;
1855 else { LogMsg("StartRecordNatMap: could not determine transport protocol of service %##s", rr->resrec.name->c); return; }
1860 rr->NATinfo.Protocol = protocol;
2112 h->natinfo.Protocol = 0;
3338 mDNSu8 Protocol = AddrReply->opcode & 0x7F;
3356 if (ptr->Protocol == Protocol && mDNSSameIPPort(ptr->IntPort, PortMapReply->intport))
4438 else if (cur->Protocol) // Check if it's time to send port mapping packets
4479 if (!cur->Protocol || HaveRoutable || cur->ExpiryTime || cur->retryInterval > NATMAP_INIT_RETRY * 8)
4484 //LogMsg("NAT callback %d %d %d", cur->Protocol, cur->ExpiryTime, cur->retryInterval);
4485 if (cur->Protocol && mDNSIPPortIsZero(ExternalPort) && !mDNSIPv4AddressIsZero(m->Router.ip.v4))