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
290
unpack_u16(p, &rr->rr_type);
lib/libc/asr/asr_utils.c
305
switch (rr->rr_type) {
lib/libc/asr/getaddrinfo_async.c
662
if (rr.rr_type != q.q_type ||
lib/libc/asr/getaddrinfo_async.c
667
if (rr.rr_type == T_A) {
lib/libc/asr/getaddrinfo_async.c
672
} else if (rr.rr_type == T_AAAA) {
lib/libc/asr/gethostnamadr_async.c
522
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
1426
struct sldns_buffer* scratch_buffer, uint8_t* dname, uint16_t rr_type,
sbin/unwind/libunbound/services/authzone.c
1434
rr_type, rr_class, rr_ttl, rr_data, rr_rdlen)) {
sbin/unwind/libunbound/services/authzone.c
1448
struct sldns_buffer* scratch_buffer, uint8_t* dname, uint16_t rr_type,
sbin/unwind/libunbound/services/authzone.c
1456
rr_type, rr_class, rr_ttl, rr_data, rr_rdlen)) {
sbin/unwind/libunbound/services/authzone.c
4806
size_t rr_pos, uint8_t** rr_dname, uint16_t* rr_type,
sbin/unwind/libunbound/services/authzone.c
4834
*rr_type = sldns_buffer_read_u16(&pkt);
sbin/unwind/libunbound/services/authzone.c
4848
uint8_t* rr_dname, uint16_t rr_type, size_t rr_counter)
sbin/unwind/libunbound/services/authzone.c
4862
(void)sldns_wire2str_type_buf(rr_type, typestr, sizeof(typestr));
sbin/unwind/libunbound/services/authzone.c
4871
uint8_t* rr_dname, uint16_t rr_type, uint16_t rr_class,
sbin/unwind/libunbound/services/authzone.c
4884
&rr_dname, &rr_type, &rr_class, &rr_ttl, &rr_rdlen,
sbin/unwind/libunbound/services/authzone.c
4890
if(rr_type != LDNS_RR_TYPE_SOA) {
sbin/unwind/libunbound/services/authzone.c
4926
uint16_t rr_type, rr_class, rr_rdlen;
sbin/unwind/libunbound/services/authzone.c
4939
&rr_dname, &rr_type, &rr_class, &rr_ttl, &rr_rdlen,
sbin/unwind/libunbound/services/authzone.c
4945
rr_chunk, rr_dname, rr_type, rr_counter);
sbin/unwind/libunbound/services/authzone.c
4947
if(rr_counter == 0 && rr_type != LDNS_RR_TYPE_SOA)
sbin/unwind/libunbound/services/authzone.c
4949
if(rr_counter == 1 && rr_type != LDNS_RR_TYPE_SOA) {
sbin/unwind/libunbound/services/authzone.c
4955
if(rr_type == LDNS_RR_TYPE_SOA) {
sbin/unwind/libunbound/services/authzone.c
4965
rr_dname, rr_type, rr_class, rr_ttl,
sbin/unwind/libunbound/services/authzone.c
5004
rr_chunk, rr_dname, rr_type, rr_counter);
sbin/unwind/libunbound/services/authzone.c
5010
rr_type, rr_class, rr_ttl, rr_rdata, rr_rdlen,
sbin/unwind/libunbound/services/authzone.c
5019
rr_chunk, rr_dname, rr_type, rr_counter);
sbin/unwind/libunbound/services/authzone.c
5030
rr_type, rr_class, rr_ttl, rr_rdata, rr_rdlen,
sbin/unwind/libunbound/services/authzone.c
5039
rr_chunk, rr_dname, rr_type, rr_counter);
sbin/unwind/libunbound/services/authzone.c
5063
uint16_t rr_type, rr_class, rr_rdlen;
sbin/unwind/libunbound/services/authzone.c
5087
&rr_dname, &rr_type, &rr_class, &rr_ttl, &rr_rdlen,
sbin/unwind/libunbound/services/authzone.c
5093
rr_chunk, rr_dname, rr_type, rr_counter);
sbin/unwind/libunbound/services/authzone.c
5094
if(rr_type == LDNS_RR_TYPE_SOA) {
sbin/unwind/libunbound/services/authzone.c
5106
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
1063
uint16_t rr_class, rr_type;
sbin/unwind/libunbound/services/localzone.c
1066
if(!get_rr_nameclass(p->str, &rr_name, &rr_class, &rr_type)) {
sbin/unwind/libunbound/services/localzone.c
1073
rr_type, 1)) {
sbin/unwind/libunbound/services/localzone.c
1080
rr_name, len, labs, LDNS_RR_CLASS_IN, rr_type,
sbin/unwind/libunbound/services/localzone.c
2122
uint16_t rr_class, rr_type;
sbin/unwind/libunbound/services/localzone.c
2127
if(!get_rr_nameclass(rr, &rr_name, &rr_class, &rr_type)) {
sbin/unwind/libunbound/services/localzone.c
2134
z = local_zones_lookup(zones, rr_name, len, labs, rr_class, rr_type,
sbin/unwind/libunbound/services/localzone.c
660
uint16_t rr_class, rr_type;
sbin/unwind/libunbound/services/localzone.c
665
if(!get_rr_nameclass(rr, &rr_name, &rr_class, &rr_type)) {
sbin/unwind/libunbound/services/localzone.c
671
z = local_zones_lookup(zones, rr_name, len, labs, rr_class, rr_type, 1);
sbin/unwind/libunbound/services/rpz.c
1079
size_t dnamelen, uint16_t rr_type, uint16_t rr_class, uint32_t rr_ttl,
sbin/unwind/libunbound/services/rpz.c
1088
if(rpz_type_ignored(rr_type)) {
sbin/unwind/libunbound/services/rpz.c
1114
a = rpz_rr_to_action(rr_type, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1129
a, rr_type, rr_class, rr_ttl, rdatawl, rdatalen, rr,
sbin/unwind/libunbound/services/rpz.c
1133
a, rr_type, rr_class, rr_ttl, rdatawl, rdatalen, rr,
sbin/unwind/libunbound/services/rpz.c
1138
a, rr_type, rr_class, rr_ttl, rdatawl, rdatalen, rr,
sbin/unwind/libunbound/services/rpz.c
1143
a, rr_type, rr_class, rr_ttl, rdatawl, rdatalen, rr,
sbin/unwind/libunbound/services/rpz.c
1148
a, rr_type, rr_class, rr_ttl, rdatawl, rdatalen, rr,
sbin/unwind/libunbound/services/rpz.c
1289
size_t policydnamelen, uint16_t rr_type, uint8_t* rdata,
sbin/unwind/libunbound/services/rpz.c
1299
while(p && ntohs(p->rrset->rk.type) != rr_type) {
sbin/unwind/libunbound/services/rpz.c
1332
rpz_rrset_delete_rr(struct resp_addr* raddr, uint16_t rr_type, uint8_t* rdata,
sbin/unwind/libunbound/services/rpz.c
1340
if(ntohs(raddr->data->rk.type) != rr_type) {
sbin/unwind/libunbound/services/rpz.c
1362
size_t dnamelen, enum rpz_action a, uint16_t rr_type,
sbin/unwind/libunbound/services/rpz.c
1376
dnamelen, rr_type, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1392
enum rpz_action a, uint16_t rr_type, uint16_t rr_class,
sbin/unwind/libunbound/services/rpz.c
1396
a, rr_type, rr_class, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1401
enum rpz_action a, uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
sbin/unwind/libunbound/services/rpz.c
1424
delete_respip = rpz_rrset_delete_rr(node, rr_type, rdatawl,
sbin/unwind/libunbound/services/rpz.c
1454
uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
sbin/unwind/libunbound/services/rpz.c
1459
rrset = rpz_find_synthesized_rrset(rr_type, node, 0);
sbin/unwind/libunbound/services/rpz.c
1468
del_local_rrset_from_list(&node->data, rr_type);
sbin/unwind/libunbound/services/rpz.c
1483
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
1501
delete_node = rpz_remove_clientip_rr(node, rr_type, rdatawl,
sbin/unwind/libunbound/services/rpz.c
152
switch(rr_type) {
sbin/unwind/libunbound/services/rpz.c
1520
enum rpz_action a, uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
sbin/unwind/libunbound/services/rpz.c
1530
a, rr_type, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1536
enum rpz_action a, uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
sbin/unwind/libunbound/services/rpz.c
1546
a, rr_type, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1552
enum rpz_action a, uint16_t rr_type, uint16_t rr_class,
sbin/unwind/libunbound/services/rpz.c
1563
dnamelen_stripped, a, rr_type, rr_class, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1569
size_t dnamelen, uint16_t rr_type, uint16_t rr_class, uint8_t* rdatawl,
sbin/unwind/libunbound/services/rpz.c
1577
if(rpz_type_ignored(rr_type)) {
sbin/unwind/libunbound/services/rpz.c
1589
a = rpz_rr_to_action(rr_type, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1607
rr_type, rr_class, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1610
a, rr_type, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1613
rr_type, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1616
rr_type, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
1619
rr_type, rr_class, rdatawl, rdatalen);
sbin/unwind/libunbound/services/rpz.c
179
rpz_rr_to_action(uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
sbin/unwind/libunbound/services/rpz.c
186
switch(rr_type) {
sbin/unwind/libunbound/services/rpz.c
205
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
809
rr_type** rrs_orig = rrset->rrs;
usr.sbin/nsd/difffile.c
820
(rrset->rr_count-1), sizeof(rr_type*));
usr.sbin/nsd/difffile.c
826
sizeof(rr_type*) * rrset->rr_count);
usr.sbin/nsd/difffile.c
830
(rrset_orig->rr_count-1)*sizeof(rr_type*));
usr.sbin/nsd/difffile.c
840
rrset_orig->rr_count*sizeof(rr_type*));
usr.sbin/nsd/difffile.c
892
+ sizeof(rr_type*) * collect_rrs->rr_count /* Add space for RRs. */
usr.sbin/nsd/difffile.c
903
sizeof(rr_type*) * collect_rrs->rr_count);
usr.sbin/nsd/difffile.c
905
memcpy(rrset->rrs, collect_rrs->rrs, collect_rrs->rr_count * sizeof(rr_type*));
usr.sbin/nsd/difffile.c
941
(rrset_orig->rr_count+collect_rrs->rr_count)*sizeof(rr_type*));
usr.sbin/nsd/difffile.c
948
rrset_orig->rr_count*sizeof(rr_type*));
usr.sbin/nsd/difffile.c
954
rrset_orig->rr_count*sizeof(rr_type*));
usr.sbin/nsd/difffile.c
956
memcpy(rrset->rrs + rrset->rr_count, collect_rrs->rrs, collect_rrs->rr_count * sizeof(rr_type*));
usr.sbin/nsd/difffile.c
986
rr_type *rr;
usr.sbin/nsd/ixfr.c
1273
static int ixfr_putrr(const rr_type* rr, uint8_t** rrs, size_t* rrs_len,
usr.sbin/nsd/ixfr.c
1307
void ixfr_store_putrr(struct ixfr_store* ixfr_store, const rr_type* rr,
usr.sbin/nsd/ixfr.c
1340
void ixfr_store_delrr(struct ixfr_store* ixfr_store, const rr_type* rr)
usr.sbin/nsd/ixfr.c
1348
void ixfr_store_addrr(struct ixfr_store* ixfr_store, const rr_type* rr)
usr.sbin/nsd/ixfr.c
1356
int ixfr_store_addrr_rdatas(struct ixfr_store* ixfr_store, const rr_type *rr)
usr.sbin/nsd/ixfr.c
1369
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
682
rr_rrsig_type_covered(rr_type* rr)
usr.sbin/nsd/namedb.c
740
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
170
nsec3_has_soa(rr_type* rr)
usr.sbin/nsd/nsec3.c
194
static rr_type*
usr.sbin/nsd/nsec3.c
335
nsec3_rdata_params_ok(const rr_type *prr, const rr_type* rr)
usr.sbin/nsd/nsec3.c
346
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
688
uint16_t rr_type;
usr.sbin/nsd/query.c
760
for (j = 0; types[j].rr_type != 0; ++j) {
usr.sbin/nsd/query.c
762
additional, query->zone, types[j].rr_type);
usr.sbin/nsd/query.c
935
+ sizeof(rr_type*)
usr.sbin/nsd/query.c
942
rrset->rrs = (rr_type**) region_alloc(q->region, sizeof(rr_type*));
usr.sbin/nsd/query.c
944
rrset->rrs[0] = (rr_type*) region_alloc(q->region,
usr.sbin/nsd/query.c
945
sizeof(rr_type)+sizeof(void*));
usr.sbin/nsd/query.c
946
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
3867
const rr_type *rr)
usr.sbin/nsd/rdata.c
4216
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
1074
uint16_t rr_type, uint16_t rdata_len, const void* rdata)
usr.sbin/nsd/xfrd-catalog-zones.c
1079
&& 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
261
if (rr.rr_type != T_MX)
usr.sbin/smtpd/dns.c
320
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
1426
struct sldns_buffer* scratch_buffer, uint8_t* dname, uint16_t rr_type,
usr.sbin/unbound/services/authzone.c
1434
rr_type, rr_class, rr_ttl, rr_data, rr_rdlen)) {
usr.sbin/unbound/services/authzone.c
1448
struct sldns_buffer* scratch_buffer, uint8_t* dname, uint16_t rr_type,
usr.sbin/unbound/services/authzone.c
1456
rr_type, rr_class, rr_ttl, rr_data, rr_rdlen)) {
usr.sbin/unbound/services/authzone.c
4806
size_t rr_pos, uint8_t** rr_dname, uint16_t* rr_type,
usr.sbin/unbound/services/authzone.c
4834
*rr_type = sldns_buffer_read_u16(&pkt);
usr.sbin/unbound/services/authzone.c
4848
uint8_t* rr_dname, uint16_t rr_type, size_t rr_counter)
usr.sbin/unbound/services/authzone.c
4862
(void)sldns_wire2str_type_buf(rr_type, typestr, sizeof(typestr));
usr.sbin/unbound/services/authzone.c
4871
uint8_t* rr_dname, uint16_t rr_type, uint16_t rr_class,
usr.sbin/unbound/services/authzone.c
4884
&rr_dname, &rr_type, &rr_class, &rr_ttl, &rr_rdlen,
usr.sbin/unbound/services/authzone.c
4890
if(rr_type != LDNS_RR_TYPE_SOA) {
usr.sbin/unbound/services/authzone.c
4926
uint16_t rr_type, rr_class, rr_rdlen;
usr.sbin/unbound/services/authzone.c
4939
&rr_dname, &rr_type, &rr_class, &rr_ttl, &rr_rdlen,
usr.sbin/unbound/services/authzone.c
4945
rr_chunk, rr_dname, rr_type, rr_counter);
usr.sbin/unbound/services/authzone.c
4947
if(rr_counter == 0 && rr_type != LDNS_RR_TYPE_SOA)
usr.sbin/unbound/services/authzone.c
4949
if(rr_counter == 1 && rr_type != LDNS_RR_TYPE_SOA) {
usr.sbin/unbound/services/authzone.c
4955
if(rr_type == LDNS_RR_TYPE_SOA) {
usr.sbin/unbound/services/authzone.c
4965
rr_dname, rr_type, rr_class, rr_ttl,
usr.sbin/unbound/services/authzone.c
5004
rr_chunk, rr_dname, rr_type, rr_counter);
usr.sbin/unbound/services/authzone.c
5010
rr_type, rr_class, rr_ttl, rr_rdata, rr_rdlen,
usr.sbin/unbound/services/authzone.c
5019
rr_chunk, rr_dname, rr_type, rr_counter);
usr.sbin/unbound/services/authzone.c
5030
rr_type, rr_class, rr_ttl, rr_rdata, rr_rdlen,
usr.sbin/unbound/services/authzone.c
5039
rr_chunk, rr_dname, rr_type, rr_counter);
usr.sbin/unbound/services/authzone.c
5063
uint16_t rr_type, rr_class, rr_rdlen;
usr.sbin/unbound/services/authzone.c
5087
&rr_dname, &rr_type, &rr_class, &rr_ttl, &rr_rdlen,
usr.sbin/unbound/services/authzone.c
5093
rr_chunk, rr_dname, rr_type, rr_counter);
usr.sbin/unbound/services/authzone.c
5094
if(rr_type == LDNS_RR_TYPE_SOA) {
usr.sbin/unbound/services/authzone.c
5106
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
1063
uint16_t rr_class, rr_type;
usr.sbin/unbound/services/localzone.c
1066
if(!get_rr_nameclass(p->str, &rr_name, &rr_class, &rr_type)) {
usr.sbin/unbound/services/localzone.c
1073
rr_type, 1)) {
usr.sbin/unbound/services/localzone.c
1080
rr_name, len, labs, LDNS_RR_CLASS_IN, rr_type,
usr.sbin/unbound/services/localzone.c
2122
uint16_t rr_class, rr_type;
usr.sbin/unbound/services/localzone.c
2127
if(!get_rr_nameclass(rr, &rr_name, &rr_class, &rr_type)) {
usr.sbin/unbound/services/localzone.c
2134
z = local_zones_lookup(zones, rr_name, len, labs, rr_class, rr_type,
usr.sbin/unbound/services/localzone.c
660
uint16_t rr_class, rr_type;
usr.sbin/unbound/services/localzone.c
665
if(!get_rr_nameclass(rr, &rr_name, &rr_class, &rr_type)) {
usr.sbin/unbound/services/localzone.c
671
z = local_zones_lookup(zones, rr_name, len, labs, rr_class, rr_type, 1);
usr.sbin/unbound/services/rpz.c
1079
size_t dnamelen, uint16_t rr_type, uint16_t rr_class, uint32_t rr_ttl,
usr.sbin/unbound/services/rpz.c
1088
if(rpz_type_ignored(rr_type)) {
usr.sbin/unbound/services/rpz.c
1114
a = rpz_rr_to_action(rr_type, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1129
a, rr_type, rr_class, rr_ttl, rdatawl, rdatalen, rr,
usr.sbin/unbound/services/rpz.c
1133
a, rr_type, rr_class, rr_ttl, rdatawl, rdatalen, rr,
usr.sbin/unbound/services/rpz.c
1138
a, rr_type, rr_class, rr_ttl, rdatawl, rdatalen, rr,
usr.sbin/unbound/services/rpz.c
1143
a, rr_type, rr_class, rr_ttl, rdatawl, rdatalen, rr,
usr.sbin/unbound/services/rpz.c
1148
a, rr_type, rr_class, rr_ttl, rdatawl, rdatalen, rr,
usr.sbin/unbound/services/rpz.c
1289
size_t policydnamelen, uint16_t rr_type, uint8_t* rdata,
usr.sbin/unbound/services/rpz.c
1299
while(p && ntohs(p->rrset->rk.type) != rr_type) {
usr.sbin/unbound/services/rpz.c
1332
rpz_rrset_delete_rr(struct resp_addr* raddr, uint16_t rr_type, uint8_t* rdata,
usr.sbin/unbound/services/rpz.c
1340
if(ntohs(raddr->data->rk.type) != rr_type) {
usr.sbin/unbound/services/rpz.c
1362
size_t dnamelen, enum rpz_action a, uint16_t rr_type,
usr.sbin/unbound/services/rpz.c
1376
dnamelen, rr_type, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1392
enum rpz_action a, uint16_t rr_type, uint16_t rr_class,
usr.sbin/unbound/services/rpz.c
1396
a, rr_type, rr_class, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1401
enum rpz_action a, uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
usr.sbin/unbound/services/rpz.c
1424
delete_respip = rpz_rrset_delete_rr(node, rr_type, rdatawl,
usr.sbin/unbound/services/rpz.c
1454
uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
usr.sbin/unbound/services/rpz.c
1459
rrset = rpz_find_synthesized_rrset(rr_type, node, 0);
usr.sbin/unbound/services/rpz.c
1468
del_local_rrset_from_list(&node->data, rr_type);
usr.sbin/unbound/services/rpz.c
1483
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
1501
delete_node = rpz_remove_clientip_rr(node, rr_type, rdatawl,
usr.sbin/unbound/services/rpz.c
152
switch(rr_type) {
usr.sbin/unbound/services/rpz.c
1520
enum rpz_action a, uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
usr.sbin/unbound/services/rpz.c
1530
a, rr_type, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1536
enum rpz_action a, uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
usr.sbin/unbound/services/rpz.c
1546
a, rr_type, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1552
enum rpz_action a, uint16_t rr_type, uint16_t rr_class,
usr.sbin/unbound/services/rpz.c
1563
dnamelen_stripped, a, rr_type, rr_class, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1569
size_t dnamelen, uint16_t rr_type, uint16_t rr_class, uint8_t* rdatawl,
usr.sbin/unbound/services/rpz.c
1577
if(rpz_type_ignored(rr_type)) {
usr.sbin/unbound/services/rpz.c
1589
a = rpz_rr_to_action(rr_type, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1607
rr_type, rr_class, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1610
a, rr_type, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1613
rr_type, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1616
rr_type, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
1619
rr_type, rr_class, rdatawl, rdatalen);
usr.sbin/unbound/services/rpz.c
179
rpz_rr_to_action(uint16_t rr_type, uint8_t* rdatawl, size_t rdatalen)
usr.sbin/unbound/services/rpz.c
186
switch(rr_type) {
usr.sbin/unbound/services/rpz.c
205
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) {