HomeSort by: relevance | last modified time | path
    Searched defs:rrtype (Results 1 - 23 of 23) sorted by relevancy

  /src/external/apache2/mDNSResponder/dist/unittests/
mdns_ut.c 71 mDNSu16 rrtype = 0; local
90 if (rrtype == 0 || rrtype == kDNSType_CNAME) {
91 rrtype = rr->rrtype;
96 return rrtype;
  /src/external/apache2/mDNSResponder/dist/ServiceRegistration/test/
test-dnssd.h 46 uint16_t rrtype; member in struct:dns_service_event
test-dnssd.c 33 dns_service_rdata_to_text(test_state_t *state, int rrtype, const uint8_t *rdata, uint16_t rdlen, char *outbuf, size_t buflen)
38 rr.type = rrtype;
49 int rrtype = 0; local
61 rr_printed = dns_service_rdata_to_text(state, event->rrtype, event->rdata, event->rdlen, rrbuf, sizeof(rrbuf));
69 // Get the rrtype from the previous event.
74 rrtype = ep->rrtype;
77 // as well as the rrtype from the RegisterRecord event.
85 rr_printed = dns_service_rdata_to_text(state, rrtype, rdata, rdlen, rrbuf, sizeof(rrbuf));
283 uint16_t rdlen, const void *rdata, uint16_t rrtype, uint16_t rrclass, uint32_t ttl, void *attr
    [all...]
  /src/external/mpl/bind/dist/lib/dns/rdata/generic/
dsync_66.c 35 dns_rdatatype_t rrtype; local
46 * RRtype
50 result = dns_rdatatype_fromtext(&rrtype, &token.value.as_textregion);
60 rrtype = (dns_rdatatype_t)i;
62 RETERR(uint16_tobuffer(rrtype, target));
  /src/external/apache2/mDNSResponder/dist/ServiceRegistration/
advertising_proxy_services.h 45 uint16_t rrtype; member in struct:advertising_proxy_host_address
srp-ioloop.c 343 uint16_t rrtype; local
351 rrtype = dns_rrtype_a;
363 rrtype = dns_rrtype_aaaa;
404 if (cti_services != NULL && rrtype == dns_rrtype_aaaa) {
421 srp_add_interface_address(rrtype, rdata, rdlen);
srp-mdns-proxy.h 166 uint16_t rrtype; // For hosts, always A or AAAA, for instances always TXT, PTR or SRV. member in struct:adv_record_registration
dnssd-proxy.c 191 uint16_t rrtype; // Resource record type returned in callback. member in struct:answer
397 DNSServiceErrorType errorCode, const char *fullname, uint16_t rrtype,
1154 dp_query_add_data_to_response(dnssd_query_t *query, const char *fullname, uint16_t rrtype, uint16_t rrclass,
1174 SERIAL(query), SERIAL(question), fullname, dns_rrtype_to_string(rrtype), rrclass);
1180 } else if (rrtype == dns_rrtype_a && rdlen == 4) {
1197 } else if (rrtype == dns_rrtype_aaaa && rdlen == 16) {
1214 INFO("survived for rrtype " PUB_S_SRP " rdlen %d", dns_rrtype_to_string(rrtype), rdlen);
1224 query->dso != NULL ? "PUSH" : "DNS ", dns_rrtype_to_string(rrtype), rrclass, question->name, question->served_domain->domain);
1228 SERIAL(query), SERIAL(question), query->dso != NULL ? "push" : " dns", dns_rrtype_to_string(rrtype), rrclass, question->name)
    [all...]
  /src/external/bsd/nsd/dist/
dns.c 280 FIELD("rrtype", 2),
401 FIELD("rrtype", 2),
1063 rrtype_to_string(uint16_t rrtype)
1067 nsd_type_descriptor(rrtype);
1071 snprintf(buf, sizeof(buf), "TYPE%d", (int) rrtype);
1086 long rrtype; local
1182 rrtype = strtol(name + 4, &end, 10);
1185 if (rrtype < 0 || rrtype > 65535L)
1188 return (uint16_t) rrtype;
    [all...]
  /src/external/apache2/mDNSResponder/nss/
nss_mdnsd.c 473 int namelen, af, addrlen, rrtype, err; local
490 rrtype = kDNSServiceType_A;
495 rrtype = kDNSServiceType_AAAA;
520 err = _mdns_gethtbyname_abs(info, &h_ctx, sname, rrtype, &sr,
541 const char *name, int rrtype, svc_ref **sr, short timeout)
559 rrtype,
800 uint16_t rrtype,
820 switch (rrtype) {
  /src/external/bsd/unbound/dist/respip/
respip.c 229 new_rrset(struct regional* region, uint16_t rrtype, uint16_t rrclass)
253 rrset->rk.type = htons(rrtype);
262 uint16_t rrtype, uint16_t rrclass, time_t ttl, uint8_t* rdata,
268 if (rrtype == LDNS_RR_TYPE_CNAME && raddr->data) {
277 } else if((rrtype != LDNS_RR_TYPE_CNAME) &&
278 ((sa->sa_family == AF_INET && rrtype != LDNS_RR_TYPE_A) ||
279 (sa->sa_family == AF_INET6 && rrtype != LDNS_RR_TYPE_AAAA))) {
286 raddr->data = new_rrset(region, rrtype, rrclass);
299 uint16_t rrtype = 0, rrclass = 0; local
319 if(!rrstr_get_rr_content(buf, &nm, &rrtype, &rrclass, &ttl, rr, sizeof(rr)
    [all...]
  /src/external/bsd/unbound/dist/services/
localzone.c 362 uint16_t rrtype, uint16_t rrclass)
391 rrset->rrset->rk.type = htons(rrtype);
550 int nmlabs, uint16_t rrtype, uint16_t rrclass, time_t ttl,
567 if (rrtype == LDNS_RR_TYPE_CNAME)
579 rrset = local_data_find_type(node, rrtype, 0);
581 rrset = new_local_rrset(z->region, node, rrtype, rrclass);
585 if(rrtype == LDNS_RR_TYPE_NSEC)
587 if(rrtype == LDNS_RR_TYPE_SOA &&
611 uint16_t rrtype = 0, rrclass = 0; local
616 if(!rrstr_get_rr_content(rrstr, &nm, &rrtype, &rrclass, &ttl, rr
    [all...]
  /src/external/apache2/mDNSResponder/dist/Clients/
dns-sd.c 595 fprintf(stderr, "%s -Q <name> <rrtype> <rrclass> (Generic query for any record type)\n", arg0);
596 fprintf(stderr, "%s -q <name> <rrtype> <rrclass> (Generic query, using SuppressUnusable)\n", arg0);
606 fprintf(stderr, "%s -C <name> <rrtype> <rrclass> (Query; reconfirming each result)\n", arg0);
1029 static void ParseDNSSECRecords(uint16_t rrtype, char *rdb, size_t rdb_size, unsigned const char *rd, uint16_t rdlen)
1032 switch (rrtype)
1145 const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, void *context)
1176 strncpy(rr_type, DNSTypeName(rrtype), sizeof(rr_type));
1180 switch (rrtype)
1218 ParseDNSSECRecords(rrtype, rdb, sizeof(rdb), rd, rdlen);
1255 DNSServiceReconfirmRecord(flags, ifIndex, fullname, rrtype, rrclass, rdlen, rdata)
1713 uint16_t rrtype = 0; local
1825 uint16_t rrtype = kDNSServiceType_TXT; local
1861 uint16_t rrtype = kDNSServiceType_TXT; local
1925 uint16_t rrtype = kDNSServiceType_TXT; local
2257 uint16_t rrtype, rrclass; local
    [all...]
  /src/external/apache2/mDNSResponder/dist/mDNSShared/
dnssd_clientstub.c 267 const uint16_t rrtype,
274 return DNSServiceQueryRecordInternal(sdRef, flags, ifindex, name, rrtype, rrclass, attr, callback, context);
1638 uint16_t rrtype, rrclass, rdlen; local
1642 rrtype = get_uint16(&data, end);
1649 else ((DNSServiceQueryRecordReply)sdr->AppCallback)(sdr, cbh->cb_flags, cbh->cb_interface, cbh->cb_err, name, rrtype, rrclass, rdlen, rdata, ttl, sdr->AppContext);
1659 uint16_t rrtype,
1665 return DNSServiceQueryRecordInternal(sdRef, flags, interfaceIndex, name, rrtype, rrclass, NULL, callBack, context);
1674 uint16_t rrtype,
1697 len += 2 * sizeof(uint16_t); // rrtype, rrclass
1709 put_uint16(rrtype, &ptr)
1727 uint16_t rrtype, rrclass, rdlen; local
    [all...]
uds_daemon.c 384 LogMcast("%s: %##s (%s) (%s) Client(%d)[%s]", status ? "+Service" : "-Service", ar->resrec.name->c, DNSTypeName(ar->resrec.rrtype),
970 // Data must be in the following format: flags, interfaceIndex, name, rrtype, rrclass, rdlen, rdata, (optional) ttl
1251 if (rr->resrec.rrtype == kDNSType_SRV && SameDomainName(rr->resrec.name, r->name) && !IdenticalSameNameRecord(&rr->resrec, r))
1263 if (rr->resrec.rrtype == kDNSType_SRV &&
1684 rr->resrec.rrclass == kDNSClass_IN && (rr->resrec.rrtype == kDNSType_A || rr->resrec.rrtype == kDNSType_AAAA ||
1685 rr->resrec.rrtype == kDNSType_CNAME))
1709 rr->resrec.rroriginalttl = DefaultTTLforRRType(rr->resrec.rrtype);
1715 DM_NAME_PARAM_NONNULL(record->name), DNS_TYPE_PARAM(record->rrtype));
1929 if (rp->resrec.rrtype != kDNSType_OPT && s1 != s2 &
2203 mDNSu16 rrtype = get_uint16(&request->msgptr, request->msgend); local
2577 mDNSu16 rrtype = 0; local
4318 const mDNSu16 rrtype = answer->rrtype; local
4406 const mDNSu16 rrtype = answer->rrtype; local
    [all...]
  /src/external/bsd/unbound/dist/sldns/
wire2str.c 286 char* sldns_wire2str_type(uint16_t rrtype)
289 sldns_wire2str_type_buf(rrtype, buf, sizeof(buf));
335 size_t str_len, uint16_t rrtype)
339 rrtype, NULL, 0, NULL);
351 uint16_t rrtype = sldns_wirerr_get_type(rr, rrlen, dname_len); local
353 rrtype);
356 int sldns_wire2str_type_buf(uint16_t rrtype, char* s, size_t slen)
359 return sldns_wire2str_type_print(&s, &slen, rrtype);
527 uint16_t rrtype = 0; local
558 rrtype = sldns_read_uint16(*d)
    [all...]
  /src/external/bsd/unbound/dist/validator/
autotrust.c 1445 uint16_t rrtype = htons(LDNS_RR_TYPE_DNSKEY); local
1454 memmove(rr+dname_len, &rrtype, 2);
  /src/external/mpl/dhcp/dist/includes/
tree.h 258 unsigned rrtype; member in struct:expression::expr_union::__anon24473
265 unsigned rrtype; member in struct:expression::expr_union::__anon24474
  /src/external/apache2/mDNSResponder/dist/mDNSCore/
DNSCommon.c 265 mDNSexport char *DNSTypeName(mDNSu16 rrtype)
267 switch (rrtype)
293 mDNS_snprintf(buffer, sizeof(buffer), "TYPE%d", rrtype);
500 mDNSu32 length = mDNS_snprintf(buffer, MaxMsg-1, "%4d %##s %s ", rr->rdlength, rr->name->c, DNSTypeName(rr->rrtype));
502 if (!rr->rdlength && rr->rrtype != kDNSType_OPT) { mDNS_snprintf(buffer+length, RemSpc, "<< ZERO RDATA LENGTH >>"); return(buffer); }
504 switch (rr->rrtype)
1725 mDNSu16 rrtype, mDNSu32 ttl, mDNSu8 RecordType, AuthRecType artype, mDNSRecordCallback Callback, void *Context)
1754 ttl = DefaultTTLforRRType(rrtype);
1760 rr->resrec.rrtype = rrtype;
3173 mDNSu16 rrtype = kDNSQType_ANY; local
4260 mDNSu16 rrtype, rrclass, rdlength; local
    [all...]
mDNS.c 142 mDNSlocal void MakeNegativeCacheRecord(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)
1094 // SameResourceRecordNameClassInterface is functionally the same as SameResourceRecordSignature, except rrtype does not have to match
1096 #define SameResourceRecordSignature(A,B) (A)->resrec.rrtype == (B)->resrec.rrtype && SameResourceRecordNameClassInterface((A),(B))
1121 if (pktrr->resrec.rrtype != authrr->resrec.rrtype) return(mDNSfalse)
11426 mDNSu16 rrtype; \/\/ The DNS type that this record set has in common. The rrtype of the RRSIG should be member in struct:__anon6043
    [all...]
mDNSEmbeddedAPI.h 524 #define mDNS_KeepaliveRecord(rr) ((rr)->rrtype == kDNSType_NULL && SameDomainLabel(SecondLabel((rr)->name)->c, (mDNSu8 *)"\x0A_keepalive"))
947 // 16 bit RRTYPE space is split into 256 windows and each window has 256 bits (32 bytes).
1341 mDNSu16 rrtype; // See DNS_TypeValues enum. member in struct:ResourceRecord_struct
2588 mDNSu8 RDataBuffer[MaxMsg]; // Temp storage used to construct rrtype + rdata bytes for logging.
2871 mDNSu16 rrtype, mDNSu32 ttl, mDNSu8 RecordType, AuthRecType artype, mDNSRecordCallback Callback, void *Context);
3048 extern char *DNSTypeName(mDNSu16 rrtype);
  /src/external/gpl3/gdb/dist/gdb/
mips-tdep.c 2129 rrtype, /* 2 5,3,3,5 */ enumerator in enum:mips16_inst_fmts
2346 /* upk.fmt = rrtype; */
  /src/external/gpl3/gdb.old/dist/gdb/
mips-tdep.c 2133 rrtype, /* 2 5,3,3,5 */ enumerator in enum:mips16_inst_fmts
2350 /* upk.fmt = rrtype; */

Completed in 119 milliseconds