Searched refs:mDNSv4AddrIsRFC1918 (Results 1 – 3 of 3) sorted by relevance
424 if (!mDNSIPv4AddressIsZero(m->Router.ip.v4) && mDNSv4AddrIsRFC1918(&m->Router.ip.v4)) in uDNS_SendNATMsg()482 if (mDNSv4AddrIsRFC1918(&ExtAddr)) in natTraversalHandleAddressReply()743 …return(mDNSv4AddrIsRFC1918(&src.ip.v4) ? mDNSVal16(m->LLQNAT.ExternalPort) : mDNSVal16(MulticastDN… in GetLLQEventPort()1357 …&m->AdvertisedV4, mDNSv4AddrIsRFC1918(&m->AdvertisedV4.ip.v4) ? " (RFC 1918)" … in startLLQHandshake()1949 …toTarget == Target_AutoHostAndNATMAP && !mDNSIPPortIsZero(port) && mDNSv4AddrIsRFC1918(&m->Adverti… in UpdateOneSRVRecord()2080 if (mDNSIPv4AddressIsZero(n->ExternalAddress) || mDNSv4AddrIsRFC1918(&n->ExternalAddress)) return; in hostnameGetPublicAddressCallback()2108 if (mDNSv4AddrIsRFC1918(&m->AdvertisedV4.ip.v4)) in AdvertiseHostname()3864 …mDNSv4AddrIsRFC1918(&m->AdvertisedV4.ip.v4) && newRR->nta && !mDNSAddrIsRFC1918(&newRR->nta->Addr)… in RecordRegistrationGotZoneData()4370 mDNSBool rfc1918 = mDNSv4AddrIsRFC1918(&m->AdvertisedV4.ip.v4); in CheckNATMappings()4476 …const mStatus EffectiveResult = cur->NewResult ? cur->NewResult : mDNSv4AddrIsRFC1918(&m->External… in CheckNATMappings()
2389 extern mDNSBool mDNSv4AddrIsRFC1918(mDNSv4Addr *addr); // returns true for RFC1918 private address…2390 #define mDNSAddrIsRFC1918(X) ((X)->type == mDNSAddrType_IPv4 && mDNSv4AddrIsRFC1918(&(X)->ip.v4))
116 mDNSexport mDNSBool mDNSv4AddrIsRFC1918(mDNSv4Addr *addr) in mDNSv4AddrIsRFC1918() function