/macosx-10.9.5/mDNSResponder-522.92.1/mDNSShared/Java/ |
H A D | DNSSDRecordRegistrar.java | 38 @param rrtype 60 public DNSRecord registerRecord( int flags, int ifIndex, String fullname, int rrtype, argument
|
H A D | QueryListener.java | 44 @param rrtype 57 int rrtype, int rrclass, byte[] rdata, int ttl); 56 queryAnswered( DNSSDService query, int flags, int ifIndex, String fullName, int rrtype, int rrclass, byte[] rdata, int ttl) argument
|
H A D | DNSSD.java | 298 @param rrtype 314 public static DNSSDService queryRecord( int flags, int ifIndex, String serviceName, int rrtype, argument 317 { return getInstance()._queryRecord( flags, ifIndex, serviceName, rrtype, rrclass, listener); } 386 @param rrtype 398 public static void reconfirmRecord( int flags, int ifIndex, String fullName, int rrtype, argument 400 { getInstance()._reconfirmRecord( flags, ifIndex, fullName, rrtype, rrclass, rdata); } 451 abstract protected DNSSDService _queryRecord( int flags, int ifIndex, String serviceName, int rrtype, argument 461 abstract protected void _reconfirmRecord( int flags, int ifIndex, String fullName, int rrtype, argument 581 protected DNSSDService _queryRecord( int flags, int ifIndex, String serviceName, int rrtype, argument 585 return new AppleQuery( flags, ifIndex, serviceName, rrtype, rrclas 606 _reconfirmRecord( int flags, int ifIndex, String fullName, int rrtype, int rrclass, byte[] rdata) argument 625 ReconfirmRecord( int flags, int ifIndex, String fullName, int rrtype, int rrclass, byte[] rdata) argument 811 registerRecord( int flags, int ifIndex, String fullname, int rrtype, int rrclass, byte[] rdata, int ttl) argument 825 RegisterRecord( int flags, int ifIndex, String fullname, int rrtype, int rrclass, byte[] rdata, int ttl, AppleDNSRecord destObj) argument 831 AppleQuery( int flags, int ifIndex, String serviceName, int rrtype, int rrclass, QueryListener client) argument 842 CreateQuery( int flags, int ifIndex, String serviceName, int rrtype, int rrclass) argument [all...] |
/macosx-10.9.5/mDNSResponder-522.92.1/Clients/Java/ |
H A D | SwingQueryListener.java | 63 int rrtype, int rrclass, byte[] rdata, int ttl) 69 fType = rrtype; 62 queryAnswered( DNSSDService query, int flags, int ifIndex, String fullName, int rrtype, int rrclass, byte[] rdata, int ttl) argument
|
H A D | DNSSDUnitTest.java | 285 public QueryTest( int flags, int ifIndex, String serviceName, int rrtype, int rrclass) argument 288 DNSSD.queryRecord( flags, ifIndex, serviceName, rrtype, rrclass, this); 293 int rrtype, int rrclass, byte[] rdata, int ttl) 297 " fullName:" + fullName + " rrtype:" + String.valueOf( rrtype) + 292 queryAnswered( DNSSDService query, int flags, int ifIndex, String fullName, int rrtype, int rrclass, byte[] rdata, int ttl) argument
|
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSCore/ |
H A D | DNSCommon.h | 144 (r1)->rrtype == (r2)->rrtype && \ 153 (r1)->rrtype == (r2)->rrtype && \ 161 #define RRTypeAnswersQuestionType(R,Q) ((R)->rrtype == kDNSType_CNAME || (R)->rrtype == (Q) || (Q) == kDNSQType_ANY || RRAssertsNonexistence((R),(Q))) 163 #define UNICAST_NSEC(rr) ((rr)->rrtype == kDNSType_NSEC && RRAssertsExistence((rr), kDNSType_NSEC)) 173 extern mDNSBool ValidateRData(const mDNSu16 rrtype, const mDNSu16 rdlength, const RData *const rd); 177 ((RR)->rrtype == kDNSType_NS || (RR)->rrtype [all...] |
H A D | dnssec.c | 255 mDNSexport DNSSECVerifier *AllocateDNSSECVerifier(mDNS *const m, const domainname *name, mDNSu16 rrtype, mDNSInterfaceID InterfaceID, argument 269 dv->origType = rrtype; 284 InitializeQuestion(m, &dv->q, InterfaceID, name, rrtype, qcallback, dv); 520 r->rrtype = rr->rrtype; 621 if ((swap16(rrsigRData->typeCovered)) != rv->rrtype) 623 debugdnssec("ValidateRRSIG: typeCovered mismatch rrsig %d, rr type %d", swap16(rrsigRData->typeCovered), rv->rrtype); 638 switch (rv->rrtype) 646 debugdnssec("ValidateRRSIG: Signer Name does not match the record name for %s", DNSTypeName(rv->rrtype)); 654 debugdnssec("ValidateRRSIG: Signer Name matches the record name for %s", DNSTypeName(rv->rrtype)); 1309 mDNSu16 rrtype; member in struct:__anon10893 1735 ConvertRDATAToCanonical(mDNSu16 rrtype, mDNSu16 rdlength, mDNSu8 *rdata) argument 2798 mDNSu16 rrtype, rrclass; local 2909 mDNSu16 rrtype, rrclass; local 3352 mDNSu16 rrtype; local [all...] |
H A D | nsec.c | 137 mDNSu16 rrtype; local 157 rrtype = rr->rrtype; 162 rrtype = rv->rrtype; 165 dv = AllocateDNSSECVerifier(m, name, rrtype, pdv->q.InterfaceID, DNSSEC_VALIDATION_SECURE, 185 if ((*rp)->resrec.rrtype == kDNSType_RRSIG) 247 if (cr->resrec.rrtype != kDNSType_NSEC && cr->resrec.rrtype != kDNSType_NSEC3 && 248 cr->resrec.rrtype ! [all...] |
H A D | dnssec.h | 36 mDNSu16 rrtype; member in struct:RRVerifier_struct 140 extern DNSSECVerifier *AllocateDNSSECVerifier(mDNS *const m, const domainname *name, mDNSu16 rrtype, mDNSInterfaceID InterfaceID,
|
H A D | DNSCommon.c | 173 mDNSexport char *DNSTypeName(mDNSu16 rrtype) argument 175 switch (rrtype) 198 mDNS_snprintf(buffer, sizeof(buffer), "TYPE%d", rrtype); 371 mDNSu32 length = mDNS_snprintf(buffer, MaxMsg-1, "%4d %##s %s ", rr->rdlength, rr->name->c, DNSTypeName(rr->rrtype)); 375 switch (rr->rrtype) 1355 mDNSu16 rrtype, mDNSu32 ttl, mDNSu8 RecordType, AuthRecType artype, mDNSRecordCallback Callback, void *Context) 1384 ttl = DefaultTTLforRRType(rrtype); 1390 rr->resrec.rrtype = rrtype; 1492 switch(rr->rrtype) 1354 mDNS_SetupResourceRecord(AuthRecord *rr, RData *RDataStorage, mDNSInterfaceID InterfaceID, mDNSu16 rrtype, mDNSu32 ttl, mDNSu8 RecordType, AuthRecType artype, mDNSRecordCallback Callback, void *Context) argument 2032 ValidateRData(const mDNSu16 rrtype, const mDNSu16 rdlength, const RData *const rd) argument 2509 putQuestion(DNSMessage *const msg, mDNSu8 *ptr, const mDNSu8 *const limit, const domainname *const name, mDNSu16 rrtype, mDNSu16 rrclass) argument 2567 putDeleteRRSetWithLimit(DNSMessage *msg, mDNSu8 *ptr, const domainname *name, mDNSu16 rrtype, mDNSu8 *limit) argument 2589 mDNSu16 rrtype = kDNSQType_ANY; local [all...] |
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSPosix/ |
H A D | Identify.c | 101 if (answer->rrtype == kDNSType_PTR || answer->rrtype == kDNSType_CNAME) 105 mprintf("%##s %s %##s\n", answer->name->c, DNSTypeName(answer->rrtype), answer->rdata->u.name.c); 114 if (answer->rrtype == kDNSType_A) 119 mprintf("%##s %s %.4a\n", answer->name->c, DNSTypeName(answer->rrtype), &answer->rdata->u.ipv4); 123 else if (answer->rrtype == kDNSType_AAAA) 128 mprintf("%##s %s %.16a\n", answer->name->c, DNSTypeName(answer->rrtype), &answer->rdata->u.ipv6); 135 else if (answer->rrtype == kDNSType_HINFO) 159 if (answer->rrtype == kDNSType_PTR && mDNSSameAddress(&lastsrc, &target)) 162 mprintf("%##s %s %##s\n", answer->name->c, DNSTypeName(answer->rrtype), answe [all...] |
H A D | NetMonitor.c | 259 if (pktrr->rrtype == kDNSType_A || pktrr->rrtype == kDNSType_AAAA) 266 if (pktrr->rrtype == kDNSType_PTR) 273 else if (pktrr->rrtype == kDNSType_HINFO) 288 mDNSlocal void SendUnicastQuery(mDNS *const m, HostEntry *entry, domainname *name, mDNSu16 rrtype, mDNSInterfaceID InterfaceID) argument 296 qptr = putQuestion(&query, qptr, limit, name, rrtype, kDNSClass_IN); 397 mDNSlocal void recordstat(HostEntry *entry, const domainname *fqdn, int op, mDNSu16 rrtype) argument 404 if (rrtype == kDNSType_SRV || rrtype == kDNSType_TXT) op = op - OP_browsegroup + OP_resolvegroup; 405 else if (rrtype ! [all...] |
H A D | nss_mdns.c | 209 rrtype 217 rr_to_af (ns_type_t rrtype); 579 uint16_t rrtype, 854 ns_type_t rrtype; local 866 rrtype = kDNSServiceType_A; 872 rrtype = kDNSServiceType_AAAA; 892 rrtype, // resource record type 1065 uint16_t rrtype, 1101 rrtype, 1102 ns_type_to_str (rrtype) 1058 mdns_lookup_callback( DNSServiceRef sdref, DNSServiceFlags flags, uint32_t interface_index, DNSServiceErrorType error_code, const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, void *context ) argument 2273 rr_to_af(ns_type_t rrtype) argument [all...] |
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSWindows/DLL.NET/ |
H A D | dnssd_NET.h | 279 int rrtype, 389 uint16_t rrtype, 895 * rrtype: The type of the record (e.g. TXT, SRV, etc), as defined in nameser.h. 910 int rrtype, 1240 * rrtype: The numerical type of the resource record (e.g. PTR, SRV, etc), as defined 1263 int rrtype, 1292 * rrtype: The resource record's type (e.g. PTR, SRV, etc) as defined in nameser.h. 1310 int rrtype, 1333 * rrtype: The numerical type of the resource record to be queried for (e.g. PTR, SRV, etc) 1355 int rrtype, [all...] |
H A D | dnssd_NET.cpp | 262 int rrtype, 271 OnQueryRecordReply(this, flags, interfaceIndex, errorCode, fullname, rrtype, rrclass, rdata, ttl); 615 uint16_t rrtype, 639 self->m_outer->QueryRecordDispatch((ServiceFlags) flags, (int) interfaceIndex, (ErrorCode) errorCode, ConvertToString(fullname), rrtype, rrclass, rdataBytes, ttl); 737 int rrtype, 755 int err = DNSServiceAddRecord(sdRef->m_impl->m_ref, &record->m_impl->m_ref, flags, rrtype, len, v, ttl); 940 int rrtype, 960 int err = DNSServiceRegisterRecord(sdRef->m_impl->m_ref, &record->m_impl->m_ref, flags, interfaceIndex, pFullname->c_str(), rrtype, rrclass, len, v, ttl, (DNSServiceRegisterRecordReply) ServiceRef::ServiceRefImpl::RegisterRecordCallback, sdRef->m_impl); 983 int rrtype, 991 int err = DNSServiceQueryRecord(&sdRef->m_impl->m_ref, flags, interfaceIndex, pFullname->c_str(), rrtype, rrclas 256 QueryRecordDispatch( ServiceFlags flags, int interfaceIndex, ErrorCode errorCode, String * fullname, int rrtype, int rrclass, Byte rdata[], int ttl ) argument 608 QueryRecordCallback( DNSServiceRef DNSServiceRef, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char * fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void * rdata, uint32_t ttl, void * context ) argument 733 AddRecord( ServiceRef * sdRef, int flags, int rrtype, Byte rdata[], int ttl ) argument 934 RegisterRecord( ServiceRef * sdRef, ServiceFlags flags, int interfaceIndex, String * fullname, int rrtype, int rrclass, Byte rdata[], int ttl ) argument 978 QueryRecord( ServiceFlags flags, int interfaceIndex, String * fullname, int rrtype, int rrclass, QueryRecordReply * callback ) argument 1012 ReconfirmRecord( ServiceFlags flags, int interfaceIndex, String * fullname, int rrtype, int rrclass, Byte rdata[] ) argument [all...] |
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSWindows/DLLX/ |
H A D | DNSSDService.h | 312 uint16_t rrtype, 408 STDMETHOD(QueryRecord)(DNSSDFlags flags, ULONG ifIndex, BSTR fullname, DNSSDRRType rrtype, DNSSDRRClass rrclass, IDNSSDEventManager *eventManager, IDNSSDService **service); 410 STDMETHOD(RegisterRecord)(DNSSDFlags flags, ULONG ifIndex, BSTR fullname, DNSSDRRType rrtype, DNSSDRRClass rrclass, VARIANT rdata, ULONG ttl, IDNSSDEventManager* eventManager, IDNSSDRecord** record); 412 STDMETHOD(AddRecord)(DNSSDFlags flags, DNSSDRRType rrtype, VARIANT rdata, ULONG ttl, IDNSSDRecord ** record); 414 STDMETHOD(ReconfirmRecord)(DNSSDFlags flags, ULONG ifIndex, BSTR fullname, DNSSDRRType rrtype, DNSSDRRClass rrclass, VARIANT rdata);
|
H A D | DLLX.idl | 338 [id(5), helpstring("method QueryRecord")] HRESULT QueryRecord([in] DNSSDFlags flags, [in] ULONG ifIndex, [in] BSTR fullname, [in] DNSSDRRType rrtype, [in] DNSSDRRClass rrclass, [in] IDNSSDEventManager* eventManager, [out,retval] IDNSSDService** service); 340 [id(6), helpstring("method RegisterRecord")] HRESULT RegisterRecord([in] DNSSDFlags flags, [in] ULONG ifIndex, [in] BSTR fullname, [in] DNSSDRRType rrtype, [in] DNSSDRRClass rrclass, [in] VARIANT rdata, [in] ULONG ttl, [in] IDNSSDEventManager* eventManager, [out,retval] IDNSSDRecord** record); 342 [id(7), helpstring("method AddRecord")] HRESULT AddRecord([in] DNSSDFlags flags, [in] DNSSDRRType rrtype, [in] VARIANT rdata, [in] ULONG ttl, [out,retval] IDNSSDRecord** record); 344 [id(8), helpstring("method ReconfirmRecord")] HRESULT ReconfirmRecord([in] DNSSDFlags flags, [in] ULONG ifIndex, [in] BSTR fullname, [in] DNSSDRRType rrtype, [in] DNSSDRRClass rrclass, [in] VARIANT rdata); 400 [id(7), helpstring("method QueryRecordAnswered")] void QueryRecordAnswered([in] IDNSSDService* service, [in] DNSSDFlags flags, [in] ULONG ifIndex, [in] BSTR fullName, [in] DNSSDRRType rrtype, [in] DNSSDRRClass rrclass, [in] VARIANT rdata, [in] ULONG ttl);
|
H A D | DNSSDService.cpp | 638 STDMETHODIMP CDNSSDService::QueryRecord(DNSSDFlags flags, ULONG ifIndex, BSTR fullname, DNSSDRRType rrtype, DNSSDRRClass rrclass, IDNSSDEventManager *eventManager, IDNSSDService **service) argument 700 err = DNSServiceQueryRecord( &subord, flags | kDNSServiceFlagsShareConnection, ifIndex, fullNameUTF8.c_str(), ( uint16_t ) rrtype, ( uint16_t ) rrclass, ( DNSServiceQueryRecordReply ) &QueryRecordReply, object ); 740 STDMETHODIMP CDNSSDService::RegisterRecord(DNSSDFlags flags, ULONG ifIndex, BSTR fullName, DNSSDRRType rrtype, DNSSDRRClass rrclass, VARIANT rdata, ULONG ttl, IDNSSDEventManager* eventManager, IDNSSDRecord** record) argument 812 err = DNSServiceRegisterRecord( m_primary, &rref, flags, ifIndex, fullNameUTF8.c_str(), rrtype, rrclass, ( uint16_t ) byteArray.size(), byteArray.size() > 0 ? &byteArray[ 0 ] : NULL, ttl, &RegisterRecordReply, object ); 852 STDMETHODIMP CDNSSDService::AddRecord(DNSSDFlags flags, DNSSDRRType rrtype, VARIANT rdata, ULONG ttl, IDNSSDRecord ** record) argument 914 err = DNSServiceAddRecord( m_primary, &rref, flags, rrtype, ( uint16_t ) byteArray.size(), byteArray.size() > 0 ? &byteArray[ 0 ] : NULL, ttl ); 950 STDMETHODIMP CDNSSDService::ReconfirmRecord(DNSSDFlags flags, ULONG ifIndex, BSTR fullName, DNSSDRRType rrtype, DNSSDRRClass rrclass, VARIANT rdata) argument 984 err = DNSServiceReconfirmRecord( flags, ifIndex, fullNameUTF8.c_str(), rrtype, rrclass, ( uint16_t ) byteArray.size(), byteArray.size() > 0 ? &byteArray[ 0 ] : NULL ); 1720 uint16_t rrtype, 1766 eventManager->Fire_QueryRecordAnswered( service, ( DNSSDFlags ) flags, ifIndex, fullName, ( DNSSDRRType ) rrtype, ( DNSSDRRClas 1713 QueryRecordReply( DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t ifIndex, DNSServiceErrorType errorCode, const char *fullNameUTF8, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, void *context ) argument [all...] |
/macosx-10.9.5/CPANInternal-140/Net-DNS/lib/Net/DNS/ |
H A D | RR.pm | 293 my ($name, $rrtype, $rrclass, $ttl, $rdlength, $data, $offset) = @_; 296 type => $rrtype, 303 if ($RR{$rrtype}) { 304 my $subclass = $class->_get_subclass($rrtype); 330 my $rrtype = $4 || ''; 340 $rrtype = Net::DNS::typesbyval(Net::DNS::typesbyname($rrtype)) if $rrtype =~ m/^TYPE\d+/o; 344 if (!$rrtype && $rrclass && $rrclass eq 'ANY') { 345 $rrtype [all...] |
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSShared/ |
H A D | dnssd_clientshim.c | 294 uint16_t rrtype, 303 (void)rrtype; // Unused 365 if (answer->rrtype != kDNSType_PTR) 366 { LogMsg("FoundInstance: Should not be called with rrtype %d (not a PTR record)", answer->rrtype); return; } 446 if (answer->rrtype == kDNSType_SRV && x->SRV == answer) x->SRV = mDNSNULL; 447 if (answer->rrtype == kDNSType_TXT && x->TXT == answer) x->TXT = mDNSNULL; 451 if (answer->rrtype == kDNSType_SRV) x->SRV = answer; 452 if (answer->rrtype == kDNSType_TXT) x->TXT = answer; 593 uint16_t rrtype, 289 DNSServiceAddRecord( DNSServiceRef sdRef, DNSRecordRef *RecordRef, DNSServiceFlags flags, uint16_t rrtype, uint16_t rdlen, const void *rdata, uint32_t ttl ) argument 586 DNSServiceRegisterRecord( DNSServiceRef sdRef, DNSRecordRef *RecordRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, DNSServiceRegisterRecordReply callback, void *context ) argument 638 DNSServiceQueryRecord( DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, DNSServiceQueryRecordReply callback, void *context ) argument 789 DNSServiceReconfirmRecord( DNSServiceFlags flags, uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata ) argument [all...] |
H A D | dns_sd.h | 1243 * rrtype: The type of the record (e.g. kDNSServiceType_TXT, kDNSServiceType_SRV, etc) 1262 uint16_t rrtype, 1604 * rrtype: The resource record's type (e.g. kDNSServiceType_PTR, kDNSServiceType_SRV, etc) 1633 uint16_t rrtype, 1661 * rrtype: The numerical type of the resource record to be queried for 1684 uint16_t rrtype, 1877 * rrtype: The numerical type of the resource record (e.g. kDNSServiceType_PTR, kDNSServiceType_SRV, etc) 1908 uint16_t rrtype, 1940 * rrtype: The resource record's type (e.g. kDNSServiceType_PTR, kDNSServiceType_SRV, etc) 1955 uint16_t rrtype, [all...] |
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSWindows/DLLStub/ |
H A D | DLLStub.cpp | 187 uint16_t rrtype, 199 ret = func( sdRef, RecordRef, flags, rrtype, rdlen, rdata, ttl ); 348 uint16_t rrtype, 363 ret = func( sdRef, RecordRef, flags, interfaceIndex, fullname, rrtype, rrclass, rdlen, rdata, ttl, callBack, context ); 377 uint16_t rrtype, 389 ret = func( sdRef, flags, interfaceIndex, fullname, rrtype, rrclass, callBack, context ); 402 uint16_t rrtype, 414 ret = func( flags, interfaceIndex, fullname, rrtype, rrclass, rdlen, rdata ); 182 DNSServiceAddRecord( DNSServiceRef sdRef, DNSRecordRef *RecordRef, DNSServiceFlags flags, uint16_t rrtype, uint16_t rdlen, const void *rdata, uint32_t ttl ) argument 341 DNSServiceRegisterRecord( DNSServiceRef sdRef, DNSRecordRef *RecordRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, DNSServiceRegisterRecordReply callBack, void *context ) argument 371 DNSServiceQueryRecord( DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, DNSServiceQueryRecordReply callBack, void *context ) argument 397 DNSServiceReconfirmRecord( DNSServiceFlags flags, uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata ) argument
|
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSMacOSX/ |
H A D | DNSServiceDiscovery.h | 282 @param rrtype A standard DNS Resource Record Type, from http://www.iana.org/assignments/dns-parameters 288 DNSRecordReference DNSServiceRegistrationAddRecord(dns_service_discovery_ref dnsServiceDiscovery, uint16_t rrtype, uint16_t rdlen, const char *rdata, uint32_t ttl) AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_3;
|
/macosx-10.9.5/Libinfo-449.1.3/lookup.subproj/ |
H A D | mdns_module.c | 1093 _mdns_query_callback(DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t ifIndex, DNSServiceErrorType errorCode, const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, void *ctx) argument 1102 context->last_type = rrtype; 1105 if (_mdns_debug) printf(";; [%s %hu %hu]: error %d\n", fullname, rrtype, rrclass, errorCode); 1110 if (rrtype == ns_t_aaaa && rdlen == sizeof(struct in6_addr) && 1129 switch (rrtype) { 1132 if (((rrtype == ns_t_a && context->host->host.h_addrtype == AF_INET) || 1133 (rrtype == ns_t_aaaa && context->host->host.h_addrtype == AF_INET6)) && 1205 printf(";; [%s %hu %hu]: malformed reply\n", fullname, rrtype, rrclass); 1217 if (_mdns_debug) printf(";; [%s %hu %hu]: malformed reply\n", fullname, rrtype, rrclass); 1225 if (_mdns_debug) printf(";; [%s %hu %hu]: name mismatch\n", fullname, rrtype, rrclas [all...] |
/macosx-10.9.5/mDNSResponder-522.92.1/Clients/ |
H A D | DNSServiceBrowser.m | 73 - (void)updateAddress:(uint16_t)rrtype addr:(const void *)buff addrLen:(uint16_t)addrLen host:(const char*)host interfaceIndex:(uint32_t)interface more:(boolean_t)moreToCome; 133 const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, void *context) 136 [(BrowserController*)context updateAddress:rrtype addr:rdata addrLen:rdlen host:fullname interfaceIndex:interfaceIndex more:(flags & kDNSServiceFlagsMoreComing)]; 461 - (void)updateAddress:(uint16_t)rrtype addr:(const void *)buff addrLen:(uint16_t)addrLen host:(const char*) host interfaceIndex:(uint32_t)interface more:(boolean_t)moreToCome 465 if (rrtype == kDNSServiceType_A) { 476 } else if (rrtype == kDNSServiceType_AAAA) {
|