Home
last modified time | relevance | path

Searched refs:mDNSAddrType_IPv4 (Results 1 – 10 of 10) sorted by relevance

/external/mdnsresponder/mDNSShared/
DPlatformCommon.c47 if (dst->type == mDNSAddrType_IPv4) in mDNSPlatformSourceAddrForDest()
78 if (dst->type == mDNSAddrType_IPv4) src->ip.v4.NotAnInteger = addr.a4.sin_addr.s_addr; in mDNSPlatformSourceAddrForDest()
DDebugServices.c1363 case mDNSAddrType_IPv4: F.precision = 4; a = (unsigned char *)&ip->ip.v4; break; in DebugSNPrintFVAList()
2832 maddr.type = mDNSAddrType_IPv4; in DebugServicesTest()
/external/mdnsresponder/mDNSPosix/
DIdentify.c132 hostaddr.type = mDNSAddrType_IPv4; // Prefer v4 target to v6 target, for now in InfoCallback()
313 target.type = mDNSAddrType_IPv4; in main()
DPosixDaemon.c98 const mDNSAddr dummy = { mDNSAddrType_IPv4, { { { 1, 1, 1, 1 } } } };; in Reconfigure()
DNetMonitor.c237 if (entry->addr.type == mDNSAddrType_IPv4) in AddHost()
254 HostList *list = (addr->type == mDNSAddrType_IPv4) ? &IPv4HostList : &IPv6HostList; in GotPacketFromHost()
773 if (!Filters) return(srcaddr->type == mDNSAddrType_IPv4); in AddressMatchesFilterList()
949 a.type = mDNSAddrType_IPv4; in main()
DmDNSPosix.c124 ipAddr->type = mDNSAddrType_IPv4; in SockAddrTomDNSAddr()
177 if (dst->type == mDNSAddrType_IPv4) in mDNSPlatformSendUDP()
275 if (senderAddr.type == mDNSAddrType_IPv4) destAddr.ip.v4 = AllDNSLinkGroup_v4.ip.v4; in SocketDataReady()
521 DNSAddr.type = mDNSAddrType_IPv4; in ParseDNSServers()
/external/mdnsresponder/mDNSCore/
DmDNSEmbeddedAPI.h288 mDNSAddrType_IPv4 = 4, enumerator
2379 #define mDNSAddrIsRFC1918(X) ((X)->type == mDNSAddrType_IPv4 && mDNSv4AddrIsRFC1918(&(X)->ip.v4))
2401 ((X)->type == mDNSAddrType_IPv4 && mDNSSameIPv4Address((X)->ip.v4, AllDNSLinkGroup_v4.ip.v4)) || \
2405 ((X)->type == mDNSAddrType_IPv4 && mDNSIPv4AddressIsZero((X)->ip.v4)) || \
2409 ((X)->type == mDNSAddrType_IPv4 && !mDNSIPv4AddressIsZero((X)->ip.v4)) || \
2413 ((X)->type == mDNSAddrType_IPv4 && mDNSIPv4AddressIsOnes((X)->ip.v4)) || \
2417 …((X)->type == mDNSAddrType_IPv4) ? !(mDNSIPv4AddressIsZero((X)->ip.v4) || mDNSIPv4AddressIsOnes((X…
2424 ((X)->type == mDNSAddrType_IPv4) ? mDNSv4AddressIsLinkLocal(&(X)->ip.v4) : \
DmDNS.c340 if (addr->type == mDNSAddrType_IPv4) in mDNS_AddressIsLocalSubnet()
1679 if ((dest->type == mDNSAddrType_IPv4 && mDNSSameIPv4Address(rr->v4Requester, dest->ip.v4)) || in SendDelayedUnicastResponse()
1805 a->type = mDNSAddrType_IPv4; in GetIPv4FromName()
1846 …(SameDomainName(suffix, (const domainname*)"\x7" "in-addr" "\x4" "arpa")) return mDNSAddrType_IPv4; in ReverseMapDomainType()
2055 mDNSAddr v4 = { mDNSAddrType_IPv4, {{{0}}} }; in SendResponses()
2112 if (rr->AddressProxy.type == mDNSAddrType_IPv4) in SendResponses()
2724 if (ds[i].Type == mDNSAddrType_IPv4) v4 = mDNStrue; in SuppressOnThisInterface()
3013 if (ar->AddressProxy.type == mDNSAddrType_IPv4) in SendQueries()
5029 intf->SPSAddr[sps].type = mDNSAddrType_IPv4; in NetWakeResolve()
5951 if (srcaddr->type == mDNSAddrType_IPv4) in ProcessQuery()
[all …]
DDNSCommon.c94 mDNSexport const mDNSAddr AllDNSLinkGroup_v4 = { mDNSAddrType_IPv4, { { { 224, 0, 0, 251 } }…
310 case mDNSAddrType_IPv4 : return(mDNSBool)(mDNSSameIPv4Address(ip1->ip.v4, ip2->ip.v4)); in mDNSSameAddress()
321 …case mDNSAddrType_IPv4: return(mDNSBool)(mDNSSameIPv4Address(ip->ip.v4, AllDNSLinkGroup_v4.ip.v4)); in mDNSAddrIsDNSMulticast()
2989 case mDNSAddrType_IPv4: F.precision = 4; a = (unsigned char *)&ip->ip.v4; break; in mDNS_vsnprintf()
DuDNS.c1549 zd->Addr.type = mDNSAddrType_IPv4; in GetZoneData_QuestionCallback()
2343 …if (v4addr && v4addr->type != mDNSAddrType_IPv4) { LogMsg("mDNS_SetPrimaryInterfaceInfo v4 address… in mDNS_SetPrimaryInterfaceInfo()
2345 …if (router && router->type != mDNSAddrType_IPv4) { LogMsg("mDNS_SetPrimaryInterfaceInfo passed non… in mDNS_SetPrimaryInterfaceInfo()
3683 q->servAddr.type = mDNSAddrType_IPv4; in LLQGotZoneData()