Searched refs:ExternalPort (Results 1 - 4 of 4) sorted by relevance

/external/mdnsresponder/mDNSCore/
H A DuDNS.c588 traversal->ExternalPort = zeroIPPort;
730 // Normally we'd just request event packets be sent directly to m->LLQNAT.ExternalPort, except...
731 // with LLQs over TLS/TCP we're doing a weird thing where instead of requesting packets be sent to ExternalAddress:ExternalPort
732 // we're requesting that packets be sent to ExternalPort, but at the source address of our outgoing TCP connection.
742 //LogMsg("GetLLQEventPort: src %#a for dst %#a (%d)", &src, dst, mDNSv4AddrIsRFC1918(&src.ip.v4) ? mDNSVal16(m->LLQNAT.ExternalPort) : 0);
743 return(mDNSv4AddrIsRFC1918(&src.ip.v4) ? mDNSVal16(m->LLQNAT.ExternalPort) : mDNSVal16(MulticastDNSPort));
890 if (!mDNSAddressIsOnes(&q->servAddr) && !mDNSIPPortIsZero(m->LLQNAT.ExternalPort) &&
999 else if (q && q->LongLived && q->state != LLQ_Poll && !mDNSIPPortIsZero(m->LLQNAT.ExternalPort) && !mDNSIPPortIsZero(q->servPort))
1002 // If we have a NAT port mapping, ExternalPort is the external port
1003 // If we have a routable address so we don't need a port mapping, ExternalPort i
4477 const mDNSIPPort ExternalPort = HaveRoutable ? cur->IntPort : local
[all...]
H A DmDNSEmbeddedAPI.h1009 // When the callback is invoked ExternalPort is *usually* set to be the same the same as RequestedPort, except:
1010 // (a) When we're behind a NAT gateway with port mapping disabled, ExternalPort is reported as zero to
1013 // (b) When we have a routable non-RFC1918 address, we don't *need* a port mapping, so ExternalPort
1021 mDNSIPPort ExternalPort; member in struct:NATTraversalInfo_struct
H A DmDNS.c5385 mDNSVal16(nat->IntPort), mDNSVal16(nat->ExternalPort), nat->Result,
8032 LogInfo("LLQNATCallback external address:port %.4a:%u, NAT result %d", &n->ExternalAddress, mDNSVal16(n->ExternalPort), n->Result);
8035 startLLQHandshake(m, q); // If ExternalPort is zero, will do StartLLQPolling instead
11387 // Clearing t->ExternalPort/t->RequestedPort will cause the mStatus_MemFree callback handlers
11390 t->ExternalPort = zeroIPPort;
/external/mdnsresponder/mDNSShared/
H A Duds_daemon.c3282 *data++ = request->u.pm.NATinfo.ExternalPort.b[0];
3283 *data++ = request->u.pm.NATinfo.ExternalPort.b[1];
3289 &request->u.pm.NATinfo.ExternalAddress, mDNSVal16(request->u.pm.NATinfo.ExternalPort), request->u.pm.NATinfo.Lifetime);
4177 mDNSVal16(req->u.pm.NATinfo.ExternalPort),
4441 mDNSVal16(nat->IntPort), mDNSVal16(nat->ExternalPort), nat->Result,

Completed in 109 milliseconds