Home
last modified time | relevance | path

Searched refs:mDNSAddrType_IPv4 (Results 1 – 11 of 11) 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.h299 mDNSAddrType_IPv4 = 4, enumerator
2390 #define mDNSAddrIsRFC1918(X) ((X)->type == mDNSAddrType_IPv4 && mDNSv4AddrIsRFC1918(&(X)->ip.v4))
2412 ((X)->type == mDNSAddrType_IPv4 && mDNSSameIPv4Address((X)->ip.v4, AllDNSLinkGroup_v4.ip.v4)) || \
2416 ((X)->type == mDNSAddrType_IPv4 && mDNSIPv4AddressIsZero((X)->ip.v4)) || \
2420 ((X)->type == mDNSAddrType_IPv4 && !mDNSIPv4AddressIsZero((X)->ip.v4)) || \
2424 ((X)->type == mDNSAddrType_IPv4 && mDNSIPv4AddressIsOnes((X)->ip.v4)) || \
2428 …((X)->type == mDNSAddrType_IPv4) ? !(mDNSIPv4AddressIsZero((X)->ip.v4) || mDNSIPv4AddressIsOnes((X…
2435 ((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()
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.c1051 if ( inDstIP->type != mDNSAddrType_IPv4 ) in mDNSPlatformTCPConnect()
1549 if( inDstIP->type == mDNSAddrType_IPv4 ) in mDNSPlatformSendUDP()
2780 ( p->interfaceInfo.ip.type == mDNSAddrType_IPv4 ) && in SetupInterface()
3128 outIP->type = mDNSAddrType_IPv4; in SockAddrToMDNSAddr()
3320 sock->overlapped.dstAddr.type = mDNSAddrType_IPv4; in UDPEndRecv()
4598 ip->type = mDNSAddrType_IPv4; in SetupAddr()