lib/libc/asr/asr_debug.c
75
__p_type(rr->rr_type));
lib/libc/asr/asr_debug.c
87
switch (rr->rr_type) {
lib/libc/asr/asr_private.h
66
uint16_t rr_type;
lib/libc/asr/asr_utils.c
286
unpack_u16(p, &rr->rr_type);
lib/libc/asr/asr_utils.c
301
switch (rr->rr_type) {
lib/libc/asr/getaddrinfo_async.c
660
if (rr.rr_type != q.q_type ||
lib/libc/asr/getaddrinfo_async.c
665
if (rr.rr_type == T_A) {
lib/libc/asr/getaddrinfo_async.c
670
} else if (rr.rr_type == T_AAAA) {
lib/libc/asr/gethostnamadr_async.c
516
switch (rr.rr_type) {
regress/lib/libc/asr/bin/common.c
580
unpack_u16(p, &rr->rr_type);
regress/lib/libc/asr/bin/common.c
595
switch(rr->rr_type) {
regress/lib/libc/asr/bin/common.h
94
uint16_t rr_type;
regress/lib/libc/asr/bin/res_mkquery.c
208
typetostr(rr->rr_type));
regress/lib/libc/asr/bin/res_mkquery.c
220
switch(rr->rr_type) {
regress/lib/libc/asr/bin/res_query.c
244
typetostr(rr->rr_type));
regress/lib/libc/asr/bin/res_query.c
256
switch(rr->rr_type) {
sbin/unwind/libunbound/services/authzone.c
1036
sigold->rr_len[i]) != rr_type) {
sbin/unwind/libunbound/services/authzone.c
1047
sigold->rr_len[i]) != rr_type) {
sbin/unwind/libunbound/services/authzone.c
1098
az_domain_add_rr(struct auth_data* node, uint16_t rr_type, uint32_t rr_ttl,
sbin/unwind/libunbound/services/authzone.c
1103
if(rr_type == LDNS_RR_TYPE_RRSIG) {
sbin/unwind/libunbound/services/authzone.c
1114
} else if((rrset=az_domain_rrset(node, rr_type))!= NULL) {
sbin/unwind/libunbound/services/authzone.c
1124
if(!rrset_create(node, rr_type, rr_ttl, rdata,
sbin/unwind/libunbound/services/authzone.c
1130
if((rrset=az_domain_rrset(node, rr_type))!= NULL) {
sbin/unwind/libunbound/services/authzone.c
1141
if(!(rrset=rrset_create(node, rr_type, rr_ttl, rdata,
sbin/unwind/libunbound/services/authzone.c
1150
if(!rrset_moveover_rrsigs(node, rr_type,
sbin/unwind/libunbound/services/authzone.c
1166
uint16_t rr_type = sldns_wirerr_get_type(rr, rr_len, dname_len);
sbin/unwind/libunbound/services/authzone.c
1182
if(!az_domain_add_rr(node, rr_type, rr_ttl, rdata, rdatalen,
sbin/unwind/libunbound/services/authzone.c
1189
dname_len, rr_type, rr_class, rr_ttl, rdata, rdatalen,
sbin/unwind/libunbound/services/authzone.c
1199
az_domain_remove_rr(struct auth_data* node, uint16_t rr_type,
sbin/unwind/libunbound/services/authzone.c
1206
if((rrset=az_domain_rrset(node, rr_type))!= NULL) {
sbin/unwind/libunbound/services/authzone.c
1211
domain_remove_rrset(node, rr_type);
sbin/unwind/libunbound/services/authzone.c
1224
domain_remove_rrset(node, rr_type);
sbin/unwind/libunbound/services/authzone.c
1246
if(rr_type == LDNS_RR_TYPE_RRSIG) {
sbin/unwind/libunbound/services/authzone.c
1275
uint16_t rr_type = sldns_wirerr_get_type(rr, rr_len, dname_len);
sbin/unwind/libunbound/services/authzone.c
1297
if(!az_domain_remove_rr(node, rr_type, rdata, rdatalen, nonexist)) {
sbin/unwind/libunbound/services/authzone.c
1310
rr_type, rr_class, rdata, rdatalen);
sbin/unwind/libunbound/services/authzone.c
1319
size_t pktlen, uint8_t* dname, uint16_t rr_type, uint16_t rr_class,
sbin/unwind/libunbound/services/authzone.c
1342
sldns_buffer_write_u16(buf, rr_type);
sbin/unwind/libunbound/services/authzone.c
1349
desc = sldns_rr_descript(rr_type);
sbin/unwind/libunbound/services/authzone.c
1419
struct sldns_buffer* scratch_buffer, uint8_t* dname, uint16_t rr_type,
sbin/unwind/libunbound/services/authzone.c
1427
rr_type, rr_class, rr_ttl, rr_data, rr_rdlen)) {
sbin/unwind/libunbound/services/authzone.c
1441
struct sldns_buffer* scratch_buffer, uint8_t* dname, uint16_t rr_type,
sbin/unwind/libunbound/services/authzone.c
1449
rr_type, rr_class, rr_ttl, rr_data, rr_rdlen)) {
sbin/unwind/libunbound/services/authzone.c
4754
size_t rr_pos, uint8_t** rr_dname, uint16_t* rr_type,
sbin/unwind/libunbound/services/authzone.c
4782
*rr_type = sldns_buffer_read_u16(&pkt);
sbin/unwind/libunbound/services/authzone.c
4796
uint8_t* rr_dname, uint16_t rr_type, size_t rr_counter)
sbin/unwind/libunbound/services/authzone.c
4810
(void)sldns_wire2str_type_buf(rr_type, typestr, sizeof(typestr));
sbin/unwind/libunbound/services/authzone.c
4819
uint8_t* rr_dname, uint16_t rr_type, uint16_t rr_class,
sbin/unwind/libunbound/services/authzone.c
4832
&rr_dname, &rr_type, &rr_class, &rr_ttl, &rr_rdlen,
sbin/unwind/libunbound/services/authzone.c
4838
if(rr_type != LDNS_RR_TYPE_SOA) {
sbin/unwind/libunbound/services/authzone.c
4874
uint16_t rr_type, rr_class, rr_rdlen;
sbin/unwind/libunbound/services/authzone.c
4887
&rr_dname, &rr_type, &rr_class, &rr_ttl, &rr_rdlen,
sbin/unwind/libunbound/services/authzone.c
4893
rr_chunk, rr_dname, rr_type, rr_counter);
sbin/unwind/libunbound/services/authzone.c
4895
if(rr_counter == 0 && rr_type != LDNS_RR_TYPE_SOA)
sbin/unwind/libunbound/services/authzone.c
4897
if(rr_counter == 1 && rr_type != LDNS_RR_TYPE_SOA) {
sbin/unwind/libunbound/services/authzone.c
4903
if(rr_type == LDNS_RR_TYPE_SOA) {
sbin/unwind/libunbound/services/authzone.c
4913
rr_dname, rr_type, rr_class, rr_ttl,
sbin/unwind/libunbound/services/authzone.c
4952
rr_chunk, rr_dname, rr_type, rr_counter);
sbin/unwind/libunbound/services/authzone.c
4958
rr_type, rr_class, rr_ttl, rr_rdata, rr_rdlen,
sbin/unwind/libunbound/services/authzone.c
4967
rr_chunk, rr_dname, rr_type, rr_counter);
sbin/unwind/libunbound/services/authzone.c
4978
rr_type, rr_class, rr_ttl, rr_rdata, rr_rdlen,
sbin/unwind/libunbound/services/authzone.c
4987
rr_chunk, rr_dname, rr_type, rr_counter);
sbin/unwind/libunbound/services/authzone.c
5011
uint16_t rr_type, rr_class, rr_rdlen;
sbin/unwind/libunbound/services/authzone.c
5035
&rr_dname, &rr_type, &rr_class, &rr_ttl, &rr_rdlen,
sbin/unwind/libunbound/services/authzone.c
5041
rr_chunk, rr_dname, rr_type, rr_counter);
sbin/unwind/libunbound/services/authzone.c
5042
if(rr_type == LDNS_RR_TYPE_SOA) {
sbin/unwind/libunbound/services/authzone.c
5054
scratch_buffer, rr_dname, rr_type, rr_class, rr_ttl,
sbin/unwind/libunbound/services/authzone.c
667
domain_remove_rrset(struct auth_data* node, uint16_t rr_type)
sbin/unwind/libunbound/services/authzone.c
674
if(rrset->type == rr_type) {
sbin/unwind/libunbound/services/authzone.c
865
rrset_create(struct auth_data* node, uint16_t rr_type, uint32_t rr_ttl,
sbin/unwind/libunbound/services/authzone.c
876
rrset->type = rr_type;
sbin/unwind/libunbound/services/authzone.c
905
while(p && p->type<=rr_type) {
sbin/unwind/libunbound/services/authzone.c
918
rrsig_num_that_cover(struct auth_rrset* rrsig, uint16_t rr_type, size_t* sigsz)
sbin/unwind/libunbound/services/authzone.c
926
d->rr_len[i]) == rr_type) {
sbin/unwind/libunbound/services/authzone.c
936
rrset_moveover_rrsigs(struct auth_data* node, uint16_t rr_type,
sbin/unwind/libunbound/services/authzone.c
944
log_assert(rrset->type == rr_type);
sbin/unwind/libunbound/services/authzone.c
946
sigs = rrsig_num_that_cover(rrsig, rr_type, &sigsz);
sbin/unwind/libunbound/services/authzone.c
973
sigold->rr_len[i]) == rr_type) {
sbin/unwind/libunbound/services/authzone.c
994
sigold->rr_len[i]) == rr_type) {
sbin/unwind/libunbound/services/localzone.c
1055
uint16_t rr_class, rr_type;
sbin/unwind/libunbound/services/localzone.c
1058
if(!get_rr_nameclass(p->str, &rr_name, &rr_class, &rr_type)) {
sbin/unwind/libunbound/services/localzone.c
1065
rr_type)) {
sbin/unwind/libunbound/services/localzone.c
1072
rr_name, len, labs, LDNS_RR_CLASS_IN, rr_type);
sbin/unwind/libunbound/services/localzone.c
2093
uint16_t rr_class, rr_type;
sbin/unwind/libunbound/services/localzone.c
2098
if(!get_rr_nameclass(rr, &rr_name, &rr_class, &rr_type)) {
sbin/unwind/libunbound/services/localzone.c
2105
z = local_zones_lookup(zones, rr_name, len, labs, rr_class, rr_type);
sbin/unwind/libunbound/services/localzone.c
642
uint16_t rr_class, rr_type;
sbin/unwind/libunbound/services/localzone.c
647
if(!get_rr_nameclass(rr, &rr_name, &rr_class, &rr_type)) {
sbin/unwind/libunbound/services/localzone.c
653
z = local_zones_lookup(zones, rr_name, len, labs, rr_class, rr_type);
sbin/unwind/libunbound/services/rpz.c
1078
size_t dnamelen, uint16_t rr_type, uint16_t rr_class, uint32_t rr_ttl,
sbin/unwind/libunbound/services/rpz.c
1087
if(rpz_type_ignored(rr_type)) {
sbin/unwind/libunbound/services/rpz.c
1113
a = rpz_rr_to_action(rr_type, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1128
a, rr_type, rr_class, rr_ttl, rdatawl, rdatalen, rr,
sbin/unwind/libunbound/services/rpz.c
1132
a, rr_type, rr_class, rr_ttl, rdatawl, rdatalen, rr,
sbin/unwind/libunbound/services/rpz.c
1137
a, rr_type, rr_class, rr_ttl, rdatawl, rdatalen, rr,
sbin/unwind/libunbound/services/rpz.c
1142
a, rr_type, rr_class, rr_ttl, rdatawl, rdatalen, rr,
sbin/unwind/libunbound/services/rpz.c
1147
a, rr_type, rr_class, rr_ttl, rdatawl, rdatalen, rr,
sbin/unwind/libunbound/services/rpz.c
1288
size_t policydnamelen, uint16_t rr_type, uint8_t* rdata,
sbin/unwind/libunbound/services/rpz.c
1298
while(p && ntohs(p->rrset->rk.type) != rr_type) {
sbin/unwind/libunbound/services/rpz.c
1331
rpz_rrset_delete_rr(struct resp_addr* raddr, uint16_t rr_type, uint8_t* rdata,
sbin/unwind/libunbound/services/rpz.c
1339
if(ntohs(raddr->data->rk.type) != rr_type) {
sbin/unwind/libunbound/services/rpz.c
1361
size_t dnamelen, enum rpz_action a, uint16_t rr_type,
sbin/unwind/libunbound/services/rpz.c
1375
dnamelen, rr_type, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1391
enum rpz_action a, uint16_t rr_type, uint16_t rr_class,
sbin/unwind/libunbound/services/rpz.c
1395
a, rr_type, rr_class, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1400
enum rpz_action a, uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
sbin/unwind/libunbound/services/rpz.c
1423
delete_respip = rpz_rrset_delete_rr(node, rr_type, rdatawl,
sbin/unwind/libunbound/services/rpz.c
1453
uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
sbin/unwind/libunbound/services/rpz.c
1458
rrset = rpz_find_synthesized_rrset(rr_type, node, 0);
sbin/unwind/libunbound/services/rpz.c
1467
del_local_rrset_from_list(&node->data, rr_type);
sbin/unwind/libunbound/services/rpz.c
1482
enum rpz_action a, uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
sbin/unwind/libunbound/services/rpz.c
150
rpz_type_ignored(uint16_t rr_type)
sbin/unwind/libunbound/services/rpz.c
1500
delete_node = rpz_remove_clientip_rr(node, rr_type, rdatawl,
sbin/unwind/libunbound/services/rpz.c
1519
enum rpz_action a, uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
sbin/unwind/libunbound/services/rpz.c
152
switch(rr_type) {
sbin/unwind/libunbound/services/rpz.c
1529
a, rr_type, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1535
enum rpz_action a, uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
sbin/unwind/libunbound/services/rpz.c
1545
a, rr_type, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1551
enum rpz_action a, uint16_t rr_type, uint16_t rr_class,
sbin/unwind/libunbound/services/rpz.c
1562
dnamelen_stripped, a, rr_type, rr_class, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1568
size_t dnamelen, uint16_t rr_type, uint16_t rr_class, uint8_t* rdatawl,
sbin/unwind/libunbound/services/rpz.c
1576
if(rpz_type_ignored(rr_type)) {
sbin/unwind/libunbound/services/rpz.c
1588
a = rpz_rr_to_action(rr_type, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1606
rr_type, rr_class, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1609
a, rr_type, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1612
rr_type, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1615
rr_type, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1618
rr_type, rr_class, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
178
rpz_rr_to_action(uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
sbin/unwind/libunbound/services/rpz.c
185
switch(rr_type) {
sbin/unwind/libunbound/services/rpz.c
204
log_assert(rr_type == LDNS_RR_TYPE_CNAME);
sbin/unwind/libunbound/services/rpz.h
146
size_t dnamelen, uint16_t rr_type, uint16_t rr_class, uint32_t rr_ttl,
sbin/unwind/libunbound/services/rpz.h
162
uint8_t* dname, size_t dnamelen, uint16_t rr_type, uint16_t rr_class,
sbin/unwind/libunbound/sldns/str2wire.c
483
uint16_t rr_type, size_t r_cnt, size_t r_max, size_t dname_len,
sbin/unwind/libunbound/sldns/str2wire.c
498
} else if(rr_type == LDNS_RR_TYPE_SOA) {
sbin/unwind/libunbound/sldns/str2wire.c
749
uint8_t* rr, size_t* rr_len, size_t dname_len, uint16_t rr_type,
sbin/unwind/libunbound/sldns/str2wire.c
752
const sldns_rr_descriptor *desc = sldns_rr_descript((uint16_t)rr_type);
sbin/unwind/libunbound/sldns/str2wire.c
818
rr_type, r_cnt, r_max, dname_len, origin,
sbin/unwind/libunbound/sldns/str2wire.c
845
if (rr_type == LDNS_RR_TYPE_SVCB || rr_type == LDNS_RR_TYPE_HTTPS) {
usr.sbin/nsd/dbaccess.c
143
sizeof(rr_type)+zone->soa_nx_rrset->rrs[0]->rdlength);
usr.sbin/nsd/dbaccess.c
146
sizeof(rr_type*));
usr.sbin/nsd/dbaccess.c
151
+ sizeof(rr_type*)
usr.sbin/nsd/difffile.c
238
add_rr_to_recyclebin(namedb_type* db, rr_type* rr)
usr.sbin/nsd/difffile.c
241
region_recycle(db->region, rr, sizeof(rr_type) + rr->rdlength);
usr.sbin/nsd/difffile.c
328
region_recycle(db->region, rrset->rrs, sizeof(rr_type*) * rrset->rr_count);
usr.sbin/nsd/difffile.c
333
+ rrset->rr_count*sizeof(rr_type*)
usr.sbin/nsd/difffile.c
339
rdatas_equal(const rr_type *rr1, const rr_type *rr2, uint16_t type,
usr.sbin/nsd/difffile.c
448
rr_type *rr)
usr.sbin/nsd/difffile.c
492
rr_type *rr, int add)
usr.sbin/nsd/difffile.c
517
nsec3_delete_rr_trigger(namedb_type* db, rr_type* rr, zone_type* zone)
usr.sbin/nsd/difffile.c
637
nsec3_add_rr_trigger(namedb_type* db, rr_type* rr, zone_type* zone)
usr.sbin/nsd/difffile.c
793
rr_type** rrs_orig = rrset->rrs;
usr.sbin/nsd/difffile.c
804
(rrset->rr_count-1), sizeof(rr_type*));
usr.sbin/nsd/difffile.c
810
sizeof(rr_type*) * rrset->rr_count);
usr.sbin/nsd/difffile.c
814
(rrset_orig->rr_count-1)*sizeof(rr_type*));
usr.sbin/nsd/difffile.c
824
rrset_orig->rr_count*sizeof(rr_type*));
usr.sbin/nsd/difffile.c
861
+ sizeof(rr_type*) * collect_rrs->rr_count /* Add space for RRs. */
usr.sbin/nsd/difffile.c
872
sizeof(rr_type*) * collect_rrs->rr_count);
usr.sbin/nsd/difffile.c
874
memcpy(rrset->rrs, collect_rrs->rrs, collect_rrs->rr_count * sizeof(rr_type*));
usr.sbin/nsd/difffile.c
910
(rrset_orig->rr_count+collect_rrs->rr_count)*sizeof(rr_type*));
usr.sbin/nsd/difffile.c
917
rrset_orig->rr_count*sizeof(rr_type*));
usr.sbin/nsd/difffile.c
923
rrset_orig->rr_count*sizeof(rr_type*));
usr.sbin/nsd/difffile.c
925
memcpy(rrset->rrs + rrset->rr_count, collect_rrs->rrs, collect_rrs->rr_count * sizeof(rr_type*));
usr.sbin/nsd/difffile.c
955
rr_type *rr;
usr.sbin/nsd/ixfr.c
1251
static int ixfr_putrr(const rr_type* rr, uint8_t** rrs, size_t* rrs_len,
usr.sbin/nsd/ixfr.c
1285
void ixfr_store_putrr(struct ixfr_store* ixfr_store, const rr_type* rr,
usr.sbin/nsd/ixfr.c
1318
void ixfr_store_delrr(struct ixfr_store* ixfr_store, const rr_type* rr)
usr.sbin/nsd/ixfr.c
1326
void ixfr_store_addrr(struct ixfr_store* ixfr_store, const rr_type* rr)
usr.sbin/nsd/ixfr.c
1334
int ixfr_store_addrr_rdatas(struct ixfr_store* ixfr_store, const rr_type *rr)
usr.sbin/nsd/ixfr.c
1347
const rr_type* rr)
usr.sbin/nsd/ixfr.h
185
const rr_type *rr);
usr.sbin/nsd/ixfr.h
186
void ixfr_store_addrr(struct ixfr_store* ixfr_store, const rr_type *rr);
usr.sbin/nsd/ixfr.h
187
int ixfr_store_addrr_rdatas(struct ixfr_store* ixfr_store, const rr_type *rr);
usr.sbin/nsd/ixfr.h
192
const rr_type* rr);
usr.sbin/nsd/ixfrcreate.c
52
static int spool_rr_data(FILE* out, rr_type* rr)
usr.sbin/nsd/namedb.c
666
rr_rrsig_type_covered(rr_type* rr)
usr.sbin/nsd/namedb.c
724
rr_type *zone_rr_iter_next(struct zone_rr_iter *iter)
usr.sbin/nsd/namedb.h
131
rr_type* nsec3_param; /* NSEC3PARAM RR of chain in use or NULL */
usr.sbin/nsd/namedb.h
203
rr_type** rrs;
usr.sbin/nsd/namedb.h
207
rr_type* rrs[]; /* c99 flexible array */
usr.sbin/nsd/namedb.h
351
uint16_t rr_rrsig_type_covered(rr_type* rr);
usr.sbin/nsd/namedb.h
441
rr_type *zone_rr_iter_next(zone_rr_iter_type *iter);
usr.sbin/nsd/nsec3.c
167
nsec3_has_soa(rr_type* rr)
usr.sbin/nsd/nsec3.c
191
static rr_type*
usr.sbin/nsd/nsec3.c
315
nsec3_rdata_params_ok(const rr_type *prr, const rr_type* rr)
usr.sbin/nsd/nsec3.c
326
nsec3_rr_uses_params(rr_type* rr, zone_type* zone)
usr.sbin/nsd/nsec3.c
91
detect_nsec3_params(rr_type* nsec3_apex,
usr.sbin/nsd/packet.c
245
rr_type *
usr.sbin/nsd/packet.c
267
rr_type *result = (rr_type *) region_alloc(region,
usr.sbin/nsd/packet.c
268
sizeof(rr_type));
usr.sbin/nsd/packet.c
51
packet_encode_rr(query_type *q, domain_type *owner, rr_type *rr, uint32_t ttl)
usr.sbin/nsd/packet.h
157
rr_type *rr,
usr.sbin/nsd/packet.h
186
rr_type *packet_read_rr(region_type *region,
usr.sbin/nsd/query.c
684
uint16_t rr_type;
usr.sbin/nsd/query.c
756
for (j = 0; types[j].rr_type != 0; ++j) {
usr.sbin/nsd/query.c
758
additional, query->zone, types[j].rr_type);
usr.sbin/nsd/query.c
931
+ sizeof(rr_type*)
usr.sbin/nsd/query.c
938
rrset->rrs = (rr_type**) region_alloc(q->region, sizeof(rr_type*));
usr.sbin/nsd/query.c
940
rrset->rrs[0] = (rr_type*) region_alloc(q->region,
usr.sbin/nsd/query.c
941
sizeof(rr_type)+sizeof(void*));
usr.sbin/nsd/query.c
942
memset(rrset->rrs[0], 0, sizeof(rr_type));
usr.sbin/nsd/rdata.c
1053
size_t index, const rr_type* rr, uint16_t offset, uint16_t* field_len,
usr.sbin/nsd/rdata.c
1182
rr_calculate_uncompressed_rdata_length(const rr_type* rr)
usr.sbin/nsd/rdata.c
1215
rr_write_uncompressed_rdata(const rr_type* rr, uint8_t* buf, size_t len)
usr.sbin/nsd/rdata.c
1258
const nsd_type_descriptor_type *descriptor, const rr_type *rr)
usr.sbin/nsd/rdata.c
1305
const nsd_type_descriptor_type *descriptor, const rr_type *rr)
usr.sbin/nsd/rdata.c
3854
const rr_type *rr)
usr.sbin/nsd/rdata.c
4203
rr_lower_usage(namedb_type* db, rr_type* rr)
usr.sbin/nsd/rdata.h
517
int32_t rr_calculate_uncompressed_rdata_length(const rr_type* rr);
usr.sbin/nsd/rdata.h
527
void rr_write_uncompressed_rdata(const rr_type* rr, uint8_t* buf, size_t len);
usr.sbin/nsd/rdata.h
550
size_t index, const rr_type* rr, uint16_t offset, uint16_t* field_len,
usr.sbin/nsd/rdata.h
56
const nsd_type_descriptor_type *descriptor, const rr_type *rr);
usr.sbin/nsd/rdata.h
58
const nsd_type_descriptor_type *descriptor, const rr_type *rr);
usr.sbin/nsd/rdata.h
64
const rr_type *rr);
usr.sbin/nsd/rdata.h
679
void rr_lower_usage(namedb_type* db, rr_type* rr);
usr.sbin/nsd/util.c
909
rr_type *record,
usr.sbin/nsd/xfr-inspect.c
149
rr_type* rr;
usr.sbin/nsd/xfrd-catalog-zones.c
1056
uint16_t rr_type, uint16_t rdata_len, const void* rdata)
usr.sbin/nsd/xfrd-catalog-zones.c
1061
&& try_buffer_write_u16(packet, rr_type)
usr.sbin/nsd/xfrd-catalog-zones.c
120
uint16_t rr_type, uint16_t rdata_len, const void* rdata);
usr.sbin/nsd/xfrd-catalog-zones.c
144
uint16_t rr_type, uint16_t rdata_len, const void* rdata)
usr.sbin/nsd/xfrd-catalog-zones.c
146
if(try_buffer_write_RR(&xw->packet, owner, rr_type, rdata_len, rdata))
usr.sbin/nsd/xfrd-catalog-zones.c
150
try_buffer_write_RR(&xw->packet, owner, rr_type, rdata_len, rdata);
usr.sbin/nsd/xfrd.c
1380
xfrd_copy_soa(xfrd_soa_type* soa, rr_type* rr)
usr.sbin/nsd/xfrd.h
451
void xfrd_copy_soa(xfrd_soa_type* soa, rr_type* rr);
usr.sbin/nsd/zonec.c
128
+ sizeof(rr_type*) * state->c.rr_count /* Add space for RRs. */
usr.sbin/nsd/zonec.c
135
sizeof(rr_type*) * state->c.rr_count);
usr.sbin/nsd/zonec.c
137
memcpy(rrset->rrs, state->c.rrs, state->c.rr_count * sizeof(rr_type*));
usr.sbin/nsd/zonec.c
176
(rrset_orig->rr_count+state->c.rr_count)*sizeof(rr_type*));
usr.sbin/nsd/zonec.c
179
rrset_orig->rr_count*sizeof(rr_type*));
usr.sbin/nsd/zonec.c
185
rrset_orig->rr_count*sizeof(rr_type*));
usr.sbin/nsd/zonec.c
187
memcpy(rrset->rrs + rrset->rr_count, state->c.rrs, state->c.rr_count * sizeof(rr_type*));
usr.sbin/nsd/zonec.c
512
+ sizeof(rr_type*)
usr.sbin/nsd/zonec.c
520
sizeof(rr_type*));
usr.sbin/nsd/zonec.c
523
sizeof(rr_type)+rrset->rrs[0]->rdlength);
usr.sbin/nsd/zonec.c
526
sizeof(rr_type)+rrset->rrs[0]->rdlength);
usr.sbin/smtpd/dns.c
260
if (rr.rr_type != T_MX)
usr.sbin/smtpd/dns.c
318
if (rr.rr_type != T_MX)
usr.sbin/smtpd/spfwalk.c
175
if (rr->rr_type != T_TXT)
usr.sbin/smtpd/spfwalk.c
277
if (rr->rr_type != T_MX)
usr.sbin/smtpd/spfwalk.c
298
if (rr->rr_type != T_A)
usr.sbin/smtpd/spfwalk.c
316
if (rr->rr_type != T_AAAA)
usr.sbin/smtpd/unpack_dns.c
71
unpack_u16(p, &rr->rr_type);
usr.sbin/smtpd/unpack_dns.c
86
switch (rr->rr_type) {
usr.sbin/smtpd/unpack_dns.h
49
uint16_t rr_type;
usr.sbin/unbound/services/authzone.c
1036
sigold->rr_len[i]) != rr_type) {
usr.sbin/unbound/services/authzone.c
1047
sigold->rr_len[i]) != rr_type) {
usr.sbin/unbound/services/authzone.c
1098
az_domain_add_rr(struct auth_data* node, uint16_t rr_type, uint32_t rr_ttl,
usr.sbin/unbound/services/authzone.c
1103
if(rr_type == LDNS_RR_TYPE_RRSIG) {
usr.sbin/unbound/services/authzone.c
1114
} else if((rrset=az_domain_rrset(node, rr_type))!= NULL) {
usr.sbin/unbound/services/authzone.c
1124
if(!rrset_create(node, rr_type, rr_ttl, rdata,
usr.sbin/unbound/services/authzone.c
1130
if((rrset=az_domain_rrset(node, rr_type))!= NULL) {
usr.sbin/unbound/services/authzone.c
1141
if(!(rrset=rrset_create(node, rr_type, rr_ttl, rdata,
usr.sbin/unbound/services/authzone.c
1150
if(!rrset_moveover_rrsigs(node, rr_type,
usr.sbin/unbound/services/authzone.c
1166
uint16_t rr_type = sldns_wirerr_get_type(rr, rr_len, dname_len);
usr.sbin/unbound/services/authzone.c
1182
if(!az_domain_add_rr(node, rr_type, rr_ttl, rdata, rdatalen,
usr.sbin/unbound/services/authzone.c
1189
dname_len, rr_type, rr_class, rr_ttl, rdata, rdatalen,
usr.sbin/unbound/services/authzone.c
1199
az_domain_remove_rr(struct auth_data* node, uint16_t rr_type,
usr.sbin/unbound/services/authzone.c
1206
if((rrset=az_domain_rrset(node, rr_type))!= NULL) {
usr.sbin/unbound/services/authzone.c
1211
domain_remove_rrset(node, rr_type);
usr.sbin/unbound/services/authzone.c
1224
domain_remove_rrset(node, rr_type);
usr.sbin/unbound/services/authzone.c
1246
if(rr_type == LDNS_RR_TYPE_RRSIG) {
usr.sbin/unbound/services/authzone.c
1275
uint16_t rr_type = sldns_wirerr_get_type(rr, rr_len, dname_len);
usr.sbin/unbound/services/authzone.c
1297
if(!az_domain_remove_rr(node, rr_type, rdata, rdatalen, nonexist)) {
usr.sbin/unbound/services/authzone.c
1310
rr_type, rr_class, rdata, rdatalen);
usr.sbin/unbound/services/authzone.c
1319
size_t pktlen, uint8_t* dname, uint16_t rr_type, uint16_t rr_class,
usr.sbin/unbound/services/authzone.c
1342
sldns_buffer_write_u16(buf, rr_type);
usr.sbin/unbound/services/authzone.c
1349
desc = sldns_rr_descript(rr_type);
usr.sbin/unbound/services/authzone.c
1419
struct sldns_buffer* scratch_buffer, uint8_t* dname, uint16_t rr_type,
usr.sbin/unbound/services/authzone.c
1427
rr_type, rr_class, rr_ttl, rr_data, rr_rdlen)) {
usr.sbin/unbound/services/authzone.c
1441
struct sldns_buffer* scratch_buffer, uint8_t* dname, uint16_t rr_type,
usr.sbin/unbound/services/authzone.c
1449
rr_type, rr_class, rr_ttl, rr_data, rr_rdlen)) {
usr.sbin/unbound/services/authzone.c
4754
size_t rr_pos, uint8_t** rr_dname, uint16_t* rr_type,
usr.sbin/unbound/services/authzone.c
4782
*rr_type = sldns_buffer_read_u16(&pkt);
usr.sbin/unbound/services/authzone.c
4796
uint8_t* rr_dname, uint16_t rr_type, size_t rr_counter)
usr.sbin/unbound/services/authzone.c
4810
(void)sldns_wire2str_type_buf(rr_type, typestr, sizeof(typestr));
usr.sbin/unbound/services/authzone.c
4819
uint8_t* rr_dname, uint16_t rr_type, uint16_t rr_class,
usr.sbin/unbound/services/authzone.c
4832
&rr_dname, &rr_type, &rr_class, &rr_ttl, &rr_rdlen,
usr.sbin/unbound/services/authzone.c
4838
if(rr_type != LDNS_RR_TYPE_SOA) {
usr.sbin/unbound/services/authzone.c
4874
uint16_t rr_type, rr_class, rr_rdlen;
usr.sbin/unbound/services/authzone.c
4887
&rr_dname, &rr_type, &rr_class, &rr_ttl, &rr_rdlen,
usr.sbin/unbound/services/authzone.c
4893
rr_chunk, rr_dname, rr_type, rr_counter);
usr.sbin/unbound/services/authzone.c
4895
if(rr_counter == 0 && rr_type != LDNS_RR_TYPE_SOA)
usr.sbin/unbound/services/authzone.c
4897
if(rr_counter == 1 && rr_type != LDNS_RR_TYPE_SOA) {
usr.sbin/unbound/services/authzone.c
4903
if(rr_type == LDNS_RR_TYPE_SOA) {
usr.sbin/unbound/services/authzone.c
4913
rr_dname, rr_type, rr_class, rr_ttl,
usr.sbin/unbound/services/authzone.c
4952
rr_chunk, rr_dname, rr_type, rr_counter);
usr.sbin/unbound/services/authzone.c
4958
rr_type, rr_class, rr_ttl, rr_rdata, rr_rdlen,
usr.sbin/unbound/services/authzone.c
4967
rr_chunk, rr_dname, rr_type, rr_counter);
usr.sbin/unbound/services/authzone.c
4978
rr_type, rr_class, rr_ttl, rr_rdata, rr_rdlen,
usr.sbin/unbound/services/authzone.c
4987
rr_chunk, rr_dname, rr_type, rr_counter);
usr.sbin/unbound/services/authzone.c
5011
uint16_t rr_type, rr_class, rr_rdlen;
usr.sbin/unbound/services/authzone.c
5035
&rr_dname, &rr_type, &rr_class, &rr_ttl, &rr_rdlen,
usr.sbin/unbound/services/authzone.c
5041
rr_chunk, rr_dname, rr_type, rr_counter);
usr.sbin/unbound/services/authzone.c
5042
if(rr_type == LDNS_RR_TYPE_SOA) {
usr.sbin/unbound/services/authzone.c
5054
scratch_buffer, rr_dname, rr_type, rr_class, rr_ttl,
usr.sbin/unbound/services/authzone.c
667
domain_remove_rrset(struct auth_data* node, uint16_t rr_type)
usr.sbin/unbound/services/authzone.c
674
if(rrset->type == rr_type) {
usr.sbin/unbound/services/authzone.c
865
rrset_create(struct auth_data* node, uint16_t rr_type, uint32_t rr_ttl,
usr.sbin/unbound/services/authzone.c
876
rrset->type = rr_type;
usr.sbin/unbound/services/authzone.c
905
while(p && p->type<=rr_type) {
usr.sbin/unbound/services/authzone.c
918
rrsig_num_that_cover(struct auth_rrset* rrsig, uint16_t rr_type, size_t* sigsz)
usr.sbin/unbound/services/authzone.c
926
d->rr_len[i]) == rr_type) {
usr.sbin/unbound/services/authzone.c
936
rrset_moveover_rrsigs(struct auth_data* node, uint16_t rr_type,
usr.sbin/unbound/services/authzone.c
944
log_assert(rrset->type == rr_type);
usr.sbin/unbound/services/authzone.c
946
sigs = rrsig_num_that_cover(rrsig, rr_type, &sigsz);
usr.sbin/unbound/services/authzone.c
973
sigold->rr_len[i]) == rr_type) {
usr.sbin/unbound/services/authzone.c
994
sigold->rr_len[i]) == rr_type) {
usr.sbin/unbound/services/localzone.c
1055
uint16_t rr_class, rr_type;
usr.sbin/unbound/services/localzone.c
1058
if(!get_rr_nameclass(p->str, &rr_name, &rr_class, &rr_type)) {
usr.sbin/unbound/services/localzone.c
1065
rr_type)) {
usr.sbin/unbound/services/localzone.c
1072
rr_name, len, labs, LDNS_RR_CLASS_IN, rr_type);
usr.sbin/unbound/services/localzone.c
2093
uint16_t rr_class, rr_type;
usr.sbin/unbound/services/localzone.c
2098
if(!get_rr_nameclass(rr, &rr_name, &rr_class, &rr_type)) {
usr.sbin/unbound/services/localzone.c
2105
z = local_zones_lookup(zones, rr_name, len, labs, rr_class, rr_type);
usr.sbin/unbound/services/localzone.c
642
uint16_t rr_class, rr_type;
usr.sbin/unbound/services/localzone.c
647
if(!get_rr_nameclass(rr, &rr_name, &rr_class, &rr_type)) {
usr.sbin/unbound/services/localzone.c
653
z = local_zones_lookup(zones, rr_name, len, labs, rr_class, rr_type);
usr.sbin/unbound/services/rpz.c
1078
size_t dnamelen, uint16_t rr_type, uint16_t rr_class, uint32_t rr_ttl,
usr.sbin/unbound/services/rpz.c
1087
if(rpz_type_ignored(rr_type)) {
usr.sbin/unbound/services/rpz.c
1113
a = rpz_rr_to_action(rr_type, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1128
a, rr_type, rr_class, rr_ttl, rdatawl, rdatalen, rr,
usr.sbin/unbound/services/rpz.c
1132
a, rr_type, rr_class, rr_ttl, rdatawl, rdatalen, rr,
usr.sbin/unbound/services/rpz.c
1137
a, rr_type, rr_class, rr_ttl, rdatawl, rdatalen, rr,
usr.sbin/unbound/services/rpz.c
1142
a, rr_type, rr_class, rr_ttl, rdatawl, rdatalen, rr,
usr.sbin/unbound/services/rpz.c
1147
a, rr_type, rr_class, rr_ttl, rdatawl, rdatalen, rr,
usr.sbin/unbound/services/rpz.c
1288
size_t policydnamelen, uint16_t rr_type, uint8_t* rdata,
usr.sbin/unbound/services/rpz.c
1298
while(p && ntohs(p->rrset->rk.type) != rr_type) {
usr.sbin/unbound/services/rpz.c
1331
rpz_rrset_delete_rr(struct resp_addr* raddr, uint16_t rr_type, uint8_t* rdata,
usr.sbin/unbound/services/rpz.c
1339
if(ntohs(raddr->data->rk.type) != rr_type) {
usr.sbin/unbound/services/rpz.c
1361
size_t dnamelen, enum rpz_action a, uint16_t rr_type,
usr.sbin/unbound/services/rpz.c
1375
dnamelen, rr_type, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1391
enum rpz_action a, uint16_t rr_type, uint16_t rr_class,
usr.sbin/unbound/services/rpz.c
1395
a, rr_type, rr_class, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1400
enum rpz_action a, uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
usr.sbin/unbound/services/rpz.c
1423
delete_respip = rpz_rrset_delete_rr(node, rr_type, rdatawl,
usr.sbin/unbound/services/rpz.c
1453
uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
usr.sbin/unbound/services/rpz.c
1458
rrset = rpz_find_synthesized_rrset(rr_type, node, 0);
usr.sbin/unbound/services/rpz.c
1467
del_local_rrset_from_list(&node->data, rr_type);
usr.sbin/unbound/services/rpz.c
1482
enum rpz_action a, uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
usr.sbin/unbound/services/rpz.c
150
rpz_type_ignored(uint16_t rr_type)
usr.sbin/unbound/services/rpz.c
1500
delete_node = rpz_remove_clientip_rr(node, rr_type, rdatawl,
usr.sbin/unbound/services/rpz.c
1519
enum rpz_action a, uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
usr.sbin/unbound/services/rpz.c
152
switch(rr_type) {
usr.sbin/unbound/services/rpz.c
1529
a, rr_type, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1535
enum rpz_action a, uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
usr.sbin/unbound/services/rpz.c
1545
a, rr_type, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1551
enum rpz_action a, uint16_t rr_type, uint16_t rr_class,
usr.sbin/unbound/services/rpz.c
1562
dnamelen_stripped, a, rr_type, rr_class, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1568
size_t dnamelen, uint16_t rr_type, uint16_t rr_class, uint8_t* rdatawl,
usr.sbin/unbound/services/rpz.c
1576
if(rpz_type_ignored(rr_type)) {
usr.sbin/unbound/services/rpz.c
1588
a = rpz_rr_to_action(rr_type, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1606
rr_type, rr_class, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1609
a, rr_type, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1612
rr_type, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1615
rr_type, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1618
rr_type, rr_class, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
178
rpz_rr_to_action(uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
usr.sbin/unbound/services/rpz.c
185
switch(rr_type) {
usr.sbin/unbound/services/rpz.c
204
log_assert(rr_type == LDNS_RR_TYPE_CNAME);
usr.sbin/unbound/services/rpz.h
146
size_t dnamelen, uint16_t rr_type, uint16_t rr_class, uint32_t rr_ttl,
usr.sbin/unbound/services/rpz.h
162
uint8_t* dname, size_t dnamelen, uint16_t rr_type, uint16_t rr_class,
usr.sbin/unbound/sldns/str2wire.c
483
uint16_t rr_type, size_t r_cnt, size_t r_max, size_t dname_len,
usr.sbin/unbound/sldns/str2wire.c
498
} else if(rr_type == LDNS_RR_TYPE_SOA) {
usr.sbin/unbound/sldns/str2wire.c
749
uint8_t* rr, size_t* rr_len, size_t dname_len, uint16_t rr_type,
usr.sbin/unbound/sldns/str2wire.c
752
const sldns_rr_descriptor *desc = sldns_rr_descript((uint16_t)rr_type);
usr.sbin/unbound/sldns/str2wire.c
818
rr_type, r_cnt, r_max, dname_len, origin,
usr.sbin/unbound/sldns/str2wire.c
845
if (rr_type == LDNS_RR_TYPE_SVCB || rr_type == LDNS_RR_TYPE_HTTPS) {