Lines Matching defs:extport
573 NATPortReq.extport = info->RequestedPort;
772 mDNSlocal void natTraversalHandlePortMapReplyWithAddress(mDNS *const m, NATTraversalInfo *n, const mDNSInterfaceID InterfaceID, mDNSu16 err, mDNSv4Addr extaddr, mDNSIPPort extport, mDNSu32 lease, NATTProtocol protocol)
777 if (err || lease == 0 || mDNSIPPortIsZero(extport))
780 n, prot, mDNSVal16(n->IntPort), &extaddr, mDNSVal16(extport), lease, err);
793 if (!mDNSSameIPv4Address(n->NewAddress, extaddr) || !mDNSSameIPPort(n->RequestedPort, extport))
802 &extaddr, mDNSVal16(extport), lease);
806 if (n->Protocol) n->RequestedPort = extport; // Don't report the (PCP) external port to address-only operations
815 mDNSexport void natTraversalHandlePortMapReply(mDNS *const m, NATTraversalInfo *n, const mDNSInterfaceID InterfaceID, mDNSu16 err, mDNSIPPort extport, mDNSu32 lease, NATTProtocol protocol)
817 natTraversalHandlePortMapReplyWithAddress(m, n, InterfaceID, err, m->ExtAddress, extport, lease, protocol);
3719 natTraversalHandlePortMapReply(m, ptr, InterfaceID, PortMapReply->err, PortMapReply->extport, PortMapReply->NATRep_lease, NATTProtocolNATPMP);
3737 mDNSIPPort extport = zeroIPPort;
3811 extport = reply->extPort;
3853 natTraversalHandlePortMapReplyWithAddress(m, ptr, InterfaceID, reply->result ? NATErr_NetFail : NATErr_None, mappedAddress, extport, reply->lifetime, NATTProtocolPCP);