Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DPlatformCommon.c74 a->type = mDNSAddrType_IPv4; in FindDefaultRouteIP()
H A DmDNSEmbeddedAPI.h1198 mDNSAddrType_IPv4 = 4, enumerator
2553 ((X)->type == mDNSAddrType_IPv4 && mDNSSameIPv4Address((X)->ip.v4, AllDNSLinkGroupv4)) || \
2557 ((X)->type == mDNSAddrType_IPv4 && mDNSIPv4AddressIsZero((X)->ip.v4)) || \
2561 ((X)->type == mDNSAddrType_IPv4 && !mDNSIPv4AddressIsZero((X)->ip.v4)) || \
2565 ((X)->type == mDNSAddrType_IPv4 && mDNSIPv4AddressIsOnes((X)->ip.v4)) || \
2569 …((X)->type == mDNSAddrType_IPv4) ? !(mDNSIPv4AddressIsZero((X)->ip.v4) || mDNSIPv4AddressIsOnes((X…
H A DmDNSPosix.c377 ipAddr->type = mDNSAddrType_IPv4; in SockAddrTomDNSAddr()
424 if (dst->type == mDNSAddrType_IPv4) in mDNSPlatformSendUDP()
522 if (senderAddr.type == mDNSAddrType_IPv4) destAddr.ip.v4 = AllDNSLinkGroupv4; in SocketDataReady()
671 DNSAddr.type = mDNSAddrType_IPv4; in ParseDNSServers()
H A DuDNS.c1191 addr.type = mDNSAddrType_IPv4; in ReceiveNATAddrResponse()
1817 AuthRecord **dst = (type == mDNSAddrType_IPv4 ? &hi->arv4 : &hi->arv6); in AssignHostnameInfoAuthRecord()
1821 …if (type != mDNSAddrType_IPv4 && type != mDNSAddrType_IPv6) { LogMsg("ERROR: AssignHostnameInfoAut… in AssignHostnameInfoAuthRecord()
1824 …mDNS_SetupResourceRecord(ar, mDNSNULL, 0, type == mDNSAddrType_IPv4 ? kDNSType_A : kDNSType_AAAA, … in AssignHostnameInfoAuthRecord()
1828 if (type == mDNSAddrType_IPv4 && u->AdvertisedV4.ip.v4.NotAnInteger) in AssignHostnameInfoAuthRecord()
1842 …LogMsg("ERROR: AssignHostnameInfoAuthRecord - overwriting %s AuthRec", type == mDNSAddrType_IPv4 ?… in AssignHostnameInfoAuthRecord()
1873 …sedV4.ip.v4.NotAnInteger) AssignHostnameInfoAuthRecord(m, i, mDNSAddrType_IPv4); in UpdateHostnameRegistrations()
1907 if (u->AdvertisedV4.ip.v4.NotAnInteger) AssignHostnameInfoAuthRecord(m, new, mDNSAddrType_IPv4); in mDNS_AddDynDNSHostName()
1954 …if (v4addr && v4addr->type != mDNSAddrType_IPv4) { LogMsg("mDNS_SetPrimaryInterfaceInfo V4 address… in mDNS_SetPrimaryInterfaceInfo()
1956 …if (router && router->type != mDNSAddrType_IPv4) { LogMsg("mDNS_SetPrimaryInterfaceInfo passed non… in mDNS_SetPrimaryInterfaceInfo()
[all …]
H A DmDNS.c1787 mDNSexport const mDNSAddr AllDNSLinkGroup_v4 = { mDNSAddrType_IPv4, { { { 224, 0, 0, 251 } } …
1960 case mDNSAddrType_IPv4: F.precision = 4; a = (unsigned char *)&ip->ip.v4; break; in mDNS_vsnprintf()
2155 if (addr->type == mDNSAddrType_IPv4) in AddressIsLocalSubnet()
2925 if ((dest->type == mDNSAddrType_IPv4 && mDNSSameIPv4Address(rr->v4Requester, dest->ip.v4)) || in SendDelayedUnicastResponse()
3045 mDNSAddr v4 = { mDNSAddrType_IPv4, {{{0}}} }; in SendResponses()
3531 if (ds[i].Type == mDNSAddrType_IPv4) v4 = mDNStrue; in SuppressOnThisInterface()
5067 if (srcaddr->type == mDNSAddrType_IPv4) in ProcessQuery()
5167 if (srcaddr->type == mDNSAddrType_IPv4) in ProcessQuery()
5319 srcaddr->type == mDNSAddrType_IPv4 ? "v4" : "v6", i); in ProcessQuery()
5755 #define ValidQuestionTarget(Q) (((Q)->Target.type == mDNSAddrType_IPv4 || (Q)->Target.type == mDNSA…
[all …]
H A DDNSCommon.c415 if (addr->type != mDNSAddrType_IPv4) return mDNSfalse; in IsPrivateV4Addr()
527 case mDNSAddrType_IPv4 : return(mDNSBool)(mDNSSameIPv4Address(ip1->ip.v4, ip2->ip.v4)); in mDNSSameAddress()
538 …case mDNSAddrType_IPv4: return(mDNSBool)(ip->ip.v4.NotAnInteger == AllDNSLinkGroupv4.NotAnInteger); in mDNSAddrIsDNSMulticast()