Lines Matching refs:arv4
1427 if (hi->arv4.state == regState_Registered || hi->arv4.state == regState_Refresh || in GetServiceTarget()
2082 if (h->arv4.resrec.RecordType) in hostnameGetPublicAddressCallback()
2084 …if (mDNSSameIPv4Address(h->arv4.resrec.rdata->u.ipv4, n->ExternalAddress)) return; // If address u… in hostnameGetPublicAddressCallback()
2086 h->arv4.resrec.name->c, &h->arv4.resrec.rdata->u.ipv4, &n->ExternalAddress); in hostnameGetPublicAddressCallback()
2087 mDNS_Deregister(m, &h->arv4); // mStatus_MemFree callback will re-register with new address in hostnameGetPublicAddressCallback()
2091 …LogInfo("Advertising hostname %##s IPv4 %.4a (NAT gateway's external address)", h->arv4.resrec.nam… in hostnameGetPublicAddressCallback()
2092 h->arv4.resrec.RecordType = kDNSRecordTypeKnownUnique; in hostnameGetPublicAddressCallback()
2093 h->arv4.resrec.rdata->u.ipv4 = n->ExternalAddress; in hostnameGetPublicAddressCallback()
2094 mDNS_Register(m, &h->arv4); in hostnameGetPublicAddressCallback()
2102 …if (!mDNSIPv4AddressIsZero(m->AdvertisedV4.ip.v4) && h->arv4.resrec.RecordType == kDNSRecordTypeUn… in AdvertiseHostname()
2104 …mDNS_SetupResourceRecord(&h->arv4, mDNSNULL, mDNSInterface_Any, kDNSType_A, kHostNameTTL, kDNSReco… in AdvertiseHostname()
2105 AssignDomainName(&h->arv4.namestorage, &h->fqdn); in AdvertiseHostname()
2106 h->arv4.resrec.rdata->u.ipv4 = m->AdvertisedV4.ip.v4; in AdvertiseHostname()
2107 h->arv4.state = regState_Unregistered; in AdvertiseHostname()
2122 LogInfo("Advertising hostname %##s IPv4 %.4a", h->arv4.resrec.name->c, &m->AdvertisedV4.ip.v4); in AdvertiseHostname()
2123 h->arv4.resrec.RecordType = kDNSRecordTypeKnownUnique; in AdvertiseHostname()
2124 mDNS_Register_internal(m, &h->arv4); in AdvertiseHostname()
2151 if (rr == &i->arv4 || rr == &i->arv6) in HostnameCallback()
2155 if (hi->arv4.resrec.RecordType == kDNSRecordTypeUnregistered && in HostnameCallback()
2176 if (hi->arv4.state == regState_Unregistered && in HostnameCallback()
2224 …if (h->arv4.state == regState_Pending || h->arv4.state == regState_NATMap || h->arv6.state == regS… in FoundStaticHostname()
2300 (*ptr)->arv4.state = regState_Unregistered; in mDNS_AddDynDNSHostName()
2321 …mDNSBool f4 = hi->arv4.resrec.RecordType != kDNSRecordTypeUnregistered && hi->arv4.state != regSta… in mDNS_RemoveDynDNSHostName()
2326 if (f4) mDNS_Deregister_internal(m, &hi->arv4, mDNS_Dereg_normal); in mDNS_RemoveDynDNSHostName()
2373 if (i->arv4.resrec.RecordType > kDNSRecordTypeDeregistering && in mDNS_SetPrimaryInterfaceInfo()
2374 !mDNSSameIPv4Address(i->arv4.resrec.rdata->u.ipv4, m->AdvertisedV4.ip.v4)) in mDNS_SetPrimaryInterfaceInfo()
2376 LogInfo("mDNS_SetPrimaryInterfaceInfo deregistering %s", ARDisplayString(m, &i->arv4)); in mDNS_SetPrimaryInterfaceInfo()
2377 mDNS_Deregister_internal(m, &i->arv4, mDNS_Dereg_normal); in mDNS_SetPrimaryInterfaceInfo()