Home
last modified time | relevance | path

Searched refs:rrtype (Results 1 – 16 of 16) sorted by relevance

/netbsd/src/external/apache2/mDNSResponder/dist/mDNSCore/
DDNSCommon.h321 r1->rrtype == r2->rrtype && in IdenticalSameNameRecord()
353 #define UNICAST_NSEC(rr) ((rr)->rrtype == kDNSType_NSEC && RRAssertsExistence((rr), kDNSType_NSEC))
354 #define MULTICAST_NSEC(rr) ((rr)->rrtype == kDNSType_NSEC && RRAssertsNonexistence((rr), kDNSType_N…
366 extern mDNSBool ValidateRData(const mDNSu16 rrtype, const mDNSu16 rdlength, const RData *const rd);
399 …((RR)->rrtype == kDNSType_NS || (RR)->rrtype == kDNSType_CNAME || (RR)->rrtype == kDNSType_PTR || …
400 …((RR)->rrtype == kDNSType_MX || (RR)->rrtype == kDNSType_AFSDB || (RR)->rrtype == kDNSType_RT || …
401 …((RR)->rrtype == kDNSType_SRV ) ? &(RR)->rdata->u.srv.target : mD…
450 …u8 *ptr, const mDNSu8 *const limit, const domainname *const name, mDNSu16 rrtype, mDNSu16 rrclass);
455 …RSetWithLimit(DNSMessage *msg, mDNSu8 *ptr, const domainname *name, mDNSu16 rrtype, mDNSu8 *limit);
DmDNSDebug.h368 … ##__VA_ARGS__, DNS_TYPE_PARAM((RR_PTR)->rrtype), RDATA_PARAM(_typeRDataBuf, _typeRDataLen, \
369 … (RR_PTR)->rrtype, _rdataBytes, _rdataLen)); \
403 …RMAT "type: " PUB_DNS_TYPE ", rdata: <none>", ##__VA_ARGS__, DNS_TYPE_PARAM((RR_PTR)->rrtype)); \
697 #define RDATA_PARAM(buf, buf_len, rrtype, rdata, rdata_len) \ argument
698 … (rdata_len + 2), GetPrintableRDataBytes(buf, buf_len, rrtype, rdata, rdata_len)
702 …#define TYPE_RDATA_PARAM(buf, buf_len, rrtype, rdata, rdata_len) RDATA_PARAM(buf, buf_len, rrtype,… argument
706 #define RDATA_PARAM(buf, buf_len, rrtype, rdata, rdata_len) (rdata) argument
710 #define TYPE_RDATA_PARAM(buf, buf_len, rrtype, rdata, rdata_len) \ argument
711 DNSTypeName(rrtype), RDATA_PARAM(buf, buf_len, rrtype, rdata, rdata_len)
DDNSCommon.c265 mDNSexport char *DNSTypeName(mDNSu16 rrtype) in DNSTypeName() argument
267 switch (rrtype) in DNSTypeName()
293 mDNS_snprintf(buffer, sizeof(buffer), "TYPE%d", rrtype); in DNSTypeName()
500 …DNS_snprintf(buffer, MaxMsg-1, "%4d %##s %s ", rr->rdlength, rr->name->c, DNSTypeName(rr->rrtype)); in GetRRDisplayString_rdb()
502 …if (!rr->rdlength && rr->rrtype != kDNSType_OPT) { mDNS_snprintf(buffer+length, RemSpc, "<< ZERO R… in GetRRDisplayString_rdb()
504 switch (rr->rrtype) in GetRRDisplayString_rdb()
1725 …mDNSu16 rrtype, mDNSu32 ttl, mDNSu8 RecordType, AuthRecType artype, mDNSRecordCallback Callback, v… in mDNS_SetupResourceRecord() argument
1754 ttl = DefaultTTLforRRType(rrtype); in mDNS_SetupResourceRecord()
1760 rr->resrec.rrtype = rrtype; in mDNS_SetupResourceRecord()
1859 switch(rr->rrtype) in RDataHashValue()
[all …]
DmDNS.c142 …tiveCacheRecord(mDNS *m, CacheRecord *cr, const domainname *name, mDNSu32 namehash, mDNSu16 rrtype,
385 … ((rr)->resrec.rrtype == kDNSType_A || (rr)->resrec.rrtype == kDNSType_AAAA || \
386 (rr)->resrec.rrtype == kDNSType_CNAME || \
387 (rr)->resrec.rrtype == kDNSType_PTR))
649 if (rr->rrtype != kDNSType_CNAME) in FollowCNAME()
1096 #define SameResourceRecordSignature(A,B) (A)->resrec.rrtype == (B)->resrec.rrtype && SameResourceRe…
1121 if (pktrr->resrec.rrtype != authrr->resrec.rrtype) return(mDNSfalse); in PacketRRMatchesSignature()
1321 DNSTypeName(rr->resrec.rrtype)); in SetTargetToHostName()
1349 rr->resrec.name->c, DNSTypeName(rr->resrec.rrtype)); in SetTargetToHostName()
1377 if (rr->resrec.rrtype != kDNSType_SRV) in ActivateUnicastRegistration()
[all …]
DuDNS.c1823 if (answer->rrtype != question->qtype) return; // Don't care about CNAMEs in GetZoneData_QuestionCallback()
1825 if (answer->rrtype == kDNSType_SOA) in GetZoneData_QuestionCallback()
1849 else if (answer->rrtype == kDNSType_SRV) in GetZoneData_QuestionCallback()
1915 else if (answer->rrtype == kDNSType_A) in GetZoneData_QuestionCallback()
2036 …if (rr->resrec.rrtype != kDNSType_SRV) { LogMsg("UpdateAllServiceRecords:ERROR!! ResourceRecord no… in UpdateAllServiceRecords()
2046 if (r->resrec.rrtype == kDNSType_PTR) in UpdateAllServiceRecords()
2048 else if (r->resrec.rrtype == kDNSType_TXT) in UpdateAllServiceRecords()
2050 if (srvRR && srvRR->resrec.rrtype != kDNSType_SRV) in UpdateAllServiceRecords()
2097 …if (rr->resrec.rrtype != kDNSType_SRV) {LogMsg("CompleteRecordNatMap: Not a service record %s", AR… in CompleteRecordNatMap()
2188 if (rr->resrec.rrtype != kDNSType_SRV) in StartRecordNatMap()
[all …]
DmDNSEmbeddedAPI.h524 #define mDNS_KeepaliveRecord(rr) ((rr)->rrtype == kDNSType_NULL && SameDomainLabel(SecondLabel((rr)…
1341 mDNSu16 rrtype; // See DNS_TypeValues enum. member
2871 …mDNSu16 rrtype, mDNSu32 ttl, mDNSu8 RecordType, AuthRecType artype, mDNSRecordCallback Callback, v…
3048 extern char *DNSTypeName(mDNSu16 rrtype);
DDNSDigest.c1945 …if (lcr.r.resrec.RecordType != kDNSRecordTypePacketNegative && lcr.r.resrec.rrtype == kDNSType_TSI… in DNSDigest_VerifyMessage_Verify()
/netbsd/src/external/apache2/mDNSResponder/dist/Clients/
Ddns-sd.c1029 static void ParseDNSSECRecords(uint16_t rrtype, char *rdb, size_t rdb_size, unsigned const char *rd… in ParseDNSSECRecords() argument
1032 switch (rrtype) in ParseDNSSECRecords()
1145 …const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32… in qr_reply() argument
1176 strncpy(rr_type, DNSTypeName(rrtype), sizeof(rr_type)); in qr_reply()
1180 switch (rrtype) in qr_reply()
1218 ParseDNSSECRecords(rrtype, rdb, sizeof(rdb), rd, rdlen); in qr_reply()
1255 DNSServiceReconfirmRecord(flags, ifIndex, fullname, rrtype, rrclass, rdlen, rdata); in qr_reply()
1713 uint16_t rrtype = 0; in API_NULL_input_test() local
1718 …if ( (DNSServiceQueryRecord( 0, flags, interfaceIndex, fullname, rrtype, rrclass, callBack,… in API_NULL_input_test()
1719 …|| (DNSServiceQueryRecord(&sdRef, flags, interfaceIndex, 0, rrtype, rrclass, callBack, con… in API_NULL_input_test()
[all …]
/netbsd/src/external/apache2/mDNSResponder/dist/mDNSShared/
Ddns_sd.h1497 uint16_t rrtype,
1979 uint16_t rrtype,
2046 uint16_t rrtype,
2311 uint16_t rrtype,
2361 uint16_t rrtype,
3236 uint16_t rrtype,
3466 uint16_t rrtype,
Ddnssd_clientstub.h47 …uint16_t rrtype, uint16_t rrclass, const DNSServiceAttribute *attr, const DNSServiceQueryRecordRep…
57 … uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen,
Ddnssd_clientstub.c267 const uint16_t rrtype, in DNSServiceQueryRecordWithAttribute() argument
274 …return DNSServiceQueryRecordInternal(sdRef, flags, ifindex, name, rrtype, rrclass, attr, callback,… in DNSServiceQueryRecordWithAttribute()
1638 uint16_t rrtype, rrclass, rdlen; in handle_query_response() local
1642 rrtype = get_uint16(&data, end); in handle_query_response()
1649 …->AppCallback)(sdr, cbh->cb_flags, cbh->cb_interface, cbh->cb_err, name, rrtype, rrclass, rdlen, r… in handle_query_response()
1659 uint16_t rrtype, in DNSServiceQueryRecord() argument
1665 …return DNSServiceQueryRecordInternal(sdRef, flags, interfaceIndex, name, rrtype, rrclass, NULL, ca… in DNSServiceQueryRecord()
1674 uint16_t rrtype, in DNSServiceQueryRecordInternal() argument
1709 put_uint16(rrtype, &ptr); in DNSServiceQueryRecordInternal()
1727 uint16_t rrtype, rrclass, rdlen; in handle_addrinfo_response() local
[all …]
DClientRequests.c740 if (inAnswer->rrtype != kDNSType_SOA) goto exit; in QueryRecordOpCallback()
768 if ((inAddRecord == QC_add) && (inAnswer->rrtype == kDNSType_CNAME)) in QueryRecordOpCallback()
883 ((inAnswer->rrtype == kDNSServiceType_A) || in QueryRecordOpCallback()
884 (inAnswer->rrtype == kDNSServiceType_AAAA))) in QueryRecordOpCallback()
887 if (inAnswer->rrtype == kDNSServiceType_A) in QueryRecordOpCallback()
891 else if (inAnswer->rrtype == kDNSServiceType_AAAA) in QueryRecordOpCallback()
895 resolved_cache_append_address(inQuestion, inAnswer->rrtype, data_ptr); in QueryRecordOpCallback()
1120 … if (inAnswer->rrtype == kDNSType_A || inAnswer->rrtype == kDNSType_AAAA) in NotifyWebContentFilter()
1122 if (inAnswer->rrtype == kDNSType_A) in NotifyWebContentFilter()
1136 else if (inAnswer->rrtype == kDNSType_AAAA) in NotifyWebContentFilter()
[all …]
Duds_daemon.c384 …ent(%d)[%s]", status ? "+Service" : "-Service", ar->resrec.name->c, DNSTypeName(ar->resrec.rrtype), in LogMcastService()
1251 …if (rr->resrec.rrtype == kDNSType_SRV && SameDomainName(rr->resrec.name, r->name) && !IdenticalSam… in CountPeerRegistrations()
1263 if (rr->resrec.rrtype == kDNSType_SRV && in CountExistingRegistrations()
1684 …rr->resrec.rrclass == kDNSClass_IN && (rr->resrec.rrtype == kDNSType_A || rr->resrec.rrtype == kDN… in _handle_regrecord_request_start()
1685 rr->resrec.rrtype == kDNSType_CNAME)) in _handle_regrecord_request_start()
1709 rr->resrec.rroriginalttl = DefaultTTLforRRType(rr->resrec.rrtype); in _handle_regrecord_request_start()
1715 DM_NAME_PARAM_NONNULL(record->name), DNS_TYPE_PARAM(record->rrtype)); in _handle_regrecord_request_start()
1929 if (rp->resrec.rrtype != kDNSType_OPT && s1 != s2 && in conflictWithAuthRecords()
2151 …rd_to_service(request_state *const request, service_instance *const instance, const mDNSu16 rrtype, in add_record_to_service() argument
2160 extra->r.resrec.rrtype = rrtype; in add_record_to_service()
[all …]
Ddiscover_resolver.c843 …const mDNSAddr_Type addr_type = answer->rrtype == kDNSType_A ? mDNSAddrType_IPv4 : mDNSAddrType_IP… in discover_resolver_addr_query_callback()
861 mdns_require_quiet(answer->rrtype == kDNSType_A || answer->rrtype == kDNSType_AAAA, exit); in discover_resolver_addr_query_callback()
/netbsd/src/external/apache2/mDNSResponder/nss/
Dnss_mdnsd.c473 int namelen, af, addrlen, rrtype, err; in _mdns_gethtbyname() local
490 rrtype = kDNSServiceType_A; in _mdns_gethtbyname()
495 rrtype = kDNSServiceType_AAAA; in _mdns_gethtbyname()
520 err = _mdns_gethtbyname_abs(info, &h_ctx, sname, rrtype, &sr, in _mdns_gethtbyname()
541 const char *name, int rrtype, svc_ref **sr, short timeout) in _mdns_gethtbyname_abs() argument
559 rrtype, in _mdns_gethtbyname_abs()
800 uint16_t rrtype, in _mdns_hostent_cb() argument
820 switch (rrtype) { in _mdns_hostent_cb()
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dmips-tdep.c2133 rrtype, /* 2 5,3,3,5 */ enumerator