| /src/external/mpl/bind/dist/bin/tests/system/rrchecker/ |
| tests_rrchecker.py | 130 def run_rrchecker(option, rr_class, rr_type, rr_rest): 133 input_text=f"{rr_class} {rr_type} {rr_rest}".encode("utf-8"), 174 rr_class, rr_type, rr_rest = rr_class_orig, rr_type_orig, rr_rest_orig 176 rr_class, rr_type, *rr_rest = run_rrchecker( 184 rr_type = "(" + rr_type 190 rr_class, rr_type, *rr_rest = run_rrchecker("-p", rr_class, rr_type, rr_rest) 193 assert rr_type_orig == rr_type
|
| /src/external/apache2/mDNSResponder/dist/mDNSShared/dns_objects/objs/ |
| dns_obj_rr_soa.c | 39 .rr_type = kDNSRecordType_SOA, 60 _dns_obj_rr_soa_kind.dns_obj_rr_init_fields(&obj->base, name, _dns_obj_rr_soa_kind.rr_type,
|
| dns_obj_rr_srv.c | 40 .rr_type = kDNSRecordType_SRV, 61 _dns_obj_rr_srv_kind.dns_obj_rr_init_fields(&obj->base, name, _dns_obj_rr_srv_kind.rr_type,
|
| dns_obj_rr_private.h | 72 uint16_t rr_type; // Any subkind of the resource record should have a specific DNS type.
|
| dns_obj_rr_dnskey.c | 46 .rr_type = kDNSRecordType_DNSKEY, 73 _dns_obj_rr_dnskey_kind.dns_obj_rr_init_fields(&obj->base, name, _dns_obj_rr_dnskey_kind.rr_type,
|
| dns_obj_rr_ds.c | 42 .rr_type = kDNSRecordType_DS, 69 _dns_obj_rr_ds_kind.dns_obj_rr_init_fields(&obj->base, name, _dns_obj_rr_ds_kind.rr_type, class, rdata,
|
| dns_obj_rr_nsec3.c | 41 .rr_type = kDNSRecordType_NSEC3, 78 _dns_obj_rr_nsec3_kind.dns_obj_rr_init_fields(&obj->base, name, _dns_obj_rr_nsec3_kind.rr_type,
|
| /src/external/bsd/nsd/dist/ |
| ixfr.h | 185 const rr_type *rr); 186 void ixfr_store_addrr(struct ixfr_store* ixfr_store, const rr_type *rr); 187 int ixfr_store_addrr_rdatas(struct ixfr_store* ixfr_store, const rr_type *rr); 192 const rr_type* rr);
|
| zonec.c | 205 + sizeof(rr_type*) /* Add space for one RR. */ 211 rrset->rrs = region_alloc(state->database->region, sizeof(rr_type*)); 280 (rrset_orig->rr_count+1)*sizeof(rr_type*)); 283 rrset_orig->rr_count*sizeof(rr_type*)); 289 rrset_orig->rr_count*sizeof(rr_type*)); 452 + sizeof(rr_type*) 460 sizeof(rr_type*)); 463 sizeof(rr_type)+rrset->rrs[0]->rdlength); 466 sizeof(rr_type)+rrset->rrs[0]->rdlength);
|
| namedb.h | 27 typedef struct rr rr_type; typedef in typeref:struct:rr 131 rr_type* nsec3_param; /* NSEC3PARAM RR of chain in use or NULL */ 190 * array of rr_type pointers. This is then accessed in an aligned 193 * The rr_type pointers for the rrs are stored after the struct rrset, 199 * the space used by the rr_type** rrs array pointer. 203 rr_type** rrs; 207 rr_type* rrs[]; /* c99 flexible array */ 351 uint16_t rr_rrsig_type_covered(rr_type* rr); 441 rr_type *zone_rr_iter_next(zone_rr_iter_type *iter);
|
| packet.c | 51 packet_encode_rr(query_type *q, domain_type *owner, rr_type *rr, uint32_t ttl) 245 rr_type * 267 rr_type *result = (rr_type *) region_alloc(region, 268 sizeof(rr_type));
|
| packet.h | 157 rr_type *rr, 186 rr_type *packet_read_rr(region_type *region,
|
| rdata.h | 56 const nsd_type_descriptor_type *descriptor, const rr_type *rr); 58 const nsd_type_descriptor_type *descriptor, const rr_type *rr); 64 const rr_type *rr); 517 int32_t rr_calculate_uncompressed_rdata_length(const rr_type* rr); 527 void rr_write_uncompressed_rdata(const rr_type* rr, uint8_t* buf, size_t len); 550 size_t index, const rr_type* rr, uint16_t offset, uint16_t* field_len, 679 void rr_lower_usage(namedb_type* db, rr_type* rr);
|
| difffile.c | 238 add_rr_to_recyclebin(namedb_type* db, rr_type* rr) 241 region_recycle(db->region, rr, sizeof(rr_type) + rr->rdlength); 328 region_recycle(db->region, rrset->rrs, sizeof(rr_type*) * rrset->rr_count); 333 + rrset->rr_count*sizeof(rr_type*) 339 rdatas_equal(const rr_type *rr1, const rr_type *rr2, uint16_t type, 448 rr_type *rr) 492 rr_type *rr, int add) 517 nsec3_delete_rr_trigger(namedb_type* db, rr_type* rr, zone_type* zone) 637 nsec3_add_rr_trigger(namedb_type* db, rr_type* rr, zone_type* zone [all...] |
| dbaccess.c | 143 sizeof(rr_type)+zone->soa_nx_rrset->rrs[0]->rdlength); 146 sizeof(rr_type*)); 151 + sizeof(rr_type*)
|
| query.c | 684 uint16_t rr_type; member in struct:additional_rr_types 756 for (j = 0; types[j].rr_type != 0; ++j) { 758 additional, query->zone, types[j].rr_type); 931 + sizeof(rr_type*) 938 rrset->rrs = (rr_type**) region_alloc(q->region, sizeof(rr_type*)); 940 rrset->rrs[0] = (rr_type*) region_alloc(q->region, 941 sizeof(rr_type)+sizeof(void*)); 942 memset(rrset->rrs[0], 0, sizeof(rr_type));
|
| nsec3.c | 91 detect_nsec3_params(rr_type* nsec3_apex, 167 nsec3_has_soa(rr_type* rr) 191 static rr_type* 315 nsec3_rdata_params_ok(const rr_type *prr, const rr_type* rr) 326 nsec3_rr_uses_params(rr_type* rr, zone_type* zone)
|
| xfrd-catalog-zones.c | 120 uint16_t rr_type, uint16_t rdata_len, const void* rdata); 144 uint16_t rr_type, uint16_t rdata_len, const void* rdata) 146 if(try_buffer_write_RR(&xw->packet, owner, rr_type, rdata_len, rdata)) 150 try_buffer_write_RR(&xw->packet, owner, rr_type, rdata_len, rdata); 1056 uint16_t rr_type, uint16_t rdata_len, const void* rdata) 1061 && try_buffer_write_u16(packet, rr_type)
|
| /src/external/bsd/unbound/dist/services/ |
| rpz.h | 136 * @param rr_type: RR type of the RR 146 size_t dnamelen, uint16_t rr_type, uint16_t rr_class, uint32_t rr_ttl, 156 * @param rr_type: RR type of the RR 162 uint8_t* dname, size_t dnamelen, uint16_t rr_type, uint16_t rr_class,
|
| rpz.c | 150 rpz_type_ignored(uint16_t rr_type) 152 switch(rr_type) { 173 * @param rr_type: the RR type 179 rpz_rr_to_action(uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen) 186 switch(rr_type) { 205 log_assert(rr_type == LDNS_RR_TYPE_CNAME); 1093 size_t dnamelen, uint16_t rr_type, uint16_t rr_class, uint32_t rr_ttl, 1102 if(rpz_type_ignored(rr_type)) { 1128 a = rpz_rr_to_action(rr_type, rdatawl, rdatalen); 1143 a, rr_type, rr_class, rr_ttl, rdatawl, rdatalen, rr [all...] |
| authzone.c | 693 domain_remove_rrset(struct auth_data* node, uint16_t rr_type) 700 if(rrset->type == rr_type) { 891 rrset_create(struct auth_data* node, uint16_t rr_type, uint32_t rr_ttl, 902 rrset->type = rr_type; 931 while(p && p->type<=rr_type) { 935 /* so, prev is smaller, and p is larger than rr_type */ 944 rrsig_num_that_cover(struct auth_rrset* rrsig, uint16_t rr_type, size_t* sigsz) 952 d->rr_len[i]) == rr_type) { 962 rrset_moveover_rrsigs(struct auth_data* node, uint16_t rr_type, 970 log_assert(rrset->type == rr_type); 1192 uint16_t rr_type = sldns_wirerr_get_type(rr, rr_len, dname_len); local 1321 uint16_t rr_type = sldns_wirerr_get_type(rr, rr_len, dname_len); local 5026 uint16_t rr_type, rr_class, rr_rdlen; local 5165 uint16_t rr_type, rr_class, rr_rdlen; local [all...] |
| localzone.c | 668 uint16_t rr_class, rr_type; local 673 if(!get_rr_nameclass(rr, &rr_name, &rr_class, &rr_type)) { 679 z = local_zones_lookup(zones, rr_name, len, labs, rr_class, rr_type, 1); 1073 uint16_t rr_class, rr_type; local 1076 if(!get_rr_nameclass(p->str, &rr_name, &rr_class, &rr_type)) { 1083 rr_type, 1)) { 1090 rr_name, len, labs, LDNS_RR_CLASS_IN, rr_type, 2167 uint16_t rr_class, rr_type; local 2172 if(!get_rr_nameclass(rr, &rr_name, &rr_class, &rr_type)) { 2179 z = local_zones_lookup(zones, rr_name, len, labs, rr_class, rr_type, [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/chain/ |
| tests.sh | 95 rr_type="$2" 97 awk '$1 == "'"$owner_name"'" && $4 == "'"$rr_type"'" { print }' <"$file" 102 rr_type="$2" 104 find_records "$owner_name" "$rr_type" "$file" | wc -l 109 rr_type="$2" 111 test "$(count_records "$owner_name" "$rr_type" "$file")" -eq 1 116 rr_type="$2" 118 test "$(count_records "$owner_name" "$rr_type" "$file")" -eq 0 123 rr_type="$2" 125 case "$rr_type" i [all...] |
| /src/external/bsd/unbound/dist/pythonmod/ |
| interface.i | 1317 const char* rr_name, sldns_rr_type rr_type, sldns_rr_class rr_class , uint16_t flags, uint32_t default_ttl, 1357 if (rr_type == 0) { rr_type = LDNS_RR_TYPE_A; } 1359 sldns_buffer_write_u16(qb, rr_type); 1380 const char* rr_name, int rr_type, int rr_class , uint16_t flags, uint32_t default_ttl, 1385 def __init__(self, rr_name, rr_type, rr_class = RR_CLASS_IN, query_flags = 0, default_ttl = 0): 1388 self.rr_type = rr_type 1399 status = _unboundmodule.set_return_msg(qstate, self.rr_name, self.rr_type, self.rr_class,
|
| /src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| resolve.c | 524 dns_lookup_int(const char *domain, int rr_class, int rr_type) 559 rr_class, rk_dns_type_to_string(rr_type), len); 567 size = resolve_search(handle, domain, rr_class, rr_type, reply, len); 571 domain, rr_class, rk_dns_type_to_string(rr_type), size);
|