Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/
H A DPlatformCommon.c175 if (dst->type == mDNSAddrType_IPv4) in mDNSPlatformSourceAddrForDest()
210 if (dst->type == mDNSAddrType_IPv4) src->ip.v4.NotAnInteger = addr.a4.sin_addr.s_addr; in mDNSPlatformSourceAddrForDest()
339 int sa_family = (addrType == mDNSAddrType_IPv4) ? AF_INET : AF_INET6; in mDNSPosixTCPSocketSetup()
498 addr.type = mDNSAddrType_IPv4; in mDNSPosixDoTCPListenCallback()
521 addr.type = mDNSAddrType_IPv4; in mDNSPosixDoTCPListenCallback()
591 else if (addrtype == mDNSAddrType_IPv4) in mDNSPosixTCPListen()
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/
H A DPosixDaemon.c95 const mDNSAddr dummy = { mDNSAddrType_IPv4, { { { 1, 1, 1, 1 } } } };; in Reconfigure()
H A DmDNSPosix.c110 ipAddr->type = mDNSAddrType_IPv4; in SockAddrTomDNSAddr()
165 if (dst->type == mDNSAddrType_IPv4) in mDNSPlatformSendUDP()
330 … if (senderAddr.type == mDNSAddrType_IPv4) destAddr.ip.v4 = AllDNSLinkGroup_v4.ip.v4; in SocketDataReady()
556 if (dst->type == mDNSAddrType_IPv4) in mDNSPlatformTCPConnect()
588 if (dst->type == mDNSAddrType_IPv4) in mDNSPlatformTCPConnect()
824 DNSAddr.type = mDNSAddrType_IPv4; in ParseDNSServers()
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/
H A DmDNSEmbeddedAPI.h344 mDNSAddrType_IPv4 = 4, enumerator
2834 #define mDNSAddrIsRFC1918(X) ((X)->type == mDNSAddrType_IPv4 && mDNSv4AddrIsRFC1918(&(X)->ip.v4))
2863 … ((X)->type == mDNSAddrType_IPv4 && mDNSSameIPv4Address((X)->ip.v4, AllDNSLinkGroup_v4.ip.v4)) || \
2867 ((X)->type == mDNSAddrType_IPv4 && mDNSIPv4AddressIsZero((X)->ip.v4)) || \
2871 ((X)->type == mDNSAddrType_IPv4 && !mDNSIPv4AddressIsZero((X)->ip.v4)) || \
2875 ((X)->type == mDNSAddrType_IPv4 && mDNSIPv4AddressIsOnes((X)->ip.v4)) || \
2879 …((X)->type == mDNSAddrType_IPv4) ? !(mDNSIPv4AddressIsZero((X)->ip.v4) || mDNSIPv4AddressIsOnes((X…
2886 ((X)->type == mDNSAddrType_IPv4) ? mDNSv4AddressIsLinkLocal(&(X)->ip.v4) : \
H A DmDNS.c482 if (addr->type == mDNSAddrType_IPv4) in mDNS_AddressIsLocalSubnet()
526 intf->ip.type == mDNSAddrType_IPv4 && mDNSv4AddressIsLinkLocal(&intf->ip.ip.v4)) in FirstIPv4LLInterfaceForID()
2283 … if ((dest->type == mDNSAddrType_IPv4 && mDNSSameIPv4Address(rr->v4Requester, dest->ip.v4)) || in SendDelayedUnicastResponse()
2417 a->type = mDNSAddrType_IPv4; in GetIPv4FromName()
2458 …(SameDomainName(suffix, (const domainname*)"\x7" "in-addr" "\x4" "arpa")) return mDNSAddrType_IPv4; in ReverseMapDomainType()
2719 mDNSAddr v4 = { mDNSAddrType_IPv4, {{{0}}} }; in SendResponses()
2781 if (rr->AddressProxy.type == mDNSAddrType_IPv4) in SendResponses()
3484 if (ds[i].Type == mDNSAddrType_IPv4) v4 = mDNStrue; in SuppressOnThisInterface()
3793 if (ar->AddressProxy.type == mDNSAddrType_IPv4) in SendQueries()
6170 if (laddr.type == mDNSAddrType_IPv4) in UpdateKeepaliveRData()
[all …]
H A DDNSCommon.c99 mDNSexport const mDNSAddr AllDNSLinkGroup_v4 = { mDNSAddrType_IPv4, { { { 224, 0, 0, 251 } } } …
463 case mDNSAddrType_IPv4: return (mDNSBool)(mDNSSameIPv4Address(ip1->ip.v4, ip2->ip.v4)); in mDNSSameAddress()
474 …case mDNSAddrType_IPv4: return (mDNSBool)(mDNSSameIPv4Address(ip->ip.v4, AllDNSLinkGroup_v4.ip.v4)… in mDNSAddrIsDNSMulticast()
3565 const mDNSAddr zeroIPv4Addr = { mDNSAddrType_IPv4, {{{ 0 }}} }; in DumpPacket()
4045 … case mDNSAddrType_IPv4: F.precision = 4; a = (unsigned char *)&ip->ip.v4; break; in mDNS_vsnprintf()
H A DuDNS.c1851 zd->Addr.type = mDNSAddrType_IPv4; in GetZoneData_QuestionCallback()
2642 …if (v4addr && v4addr->type != mDNSAddrType_IPv4) { LogMsg("mDNS_SetPrimaryInterfaceInfo v4 address… in mDNS_SetPrimaryInterfaceInfo()
2644 …if (router && router->type != mDNSAddrType_IPv4) { LogMsg("mDNS_SetPrimaryInterfaceInfo passed non… in mDNS_SetPrimaryInterfaceInfo()
3984 q->servAddr.type = mDNSAddrType_IPv4; in LLQGotZoneData()
4583 … mDNSPlatformSetSocktOpt(q->LocalSocket, mDNSTransport_UDP, mDNSAddrType_IPv4, q); in uDNS_CheckCurrentQuestion()