Searched refs:rrnum (Results 1 – 5 of 5) sorted by relevance
/freebsd/lib/libc/nameser/ |
H A D | ns_parse.c | 138 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) { in ns_parserr() argument 150 if (rrnum == -1) in ns_parserr() 151 rrnum = handle->_rrnum; in ns_parserr() 152 if (rrnum < 0 || rrnum >= handle->_counts[(int)section]) in ns_parserr() 154 if (rrnum < handle->_rrnum) in ns_parserr() 156 if (rrnum > handle->_rrnum) { in ns_parserr() 158 rrnum - handle->_rrnum); in ns_parserr() 163 handle->_rrnum = rrnum; in ns_parserr() 201 ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) { in ns_parserr2() argument 212 if (rrnum == -1) in ns_parserr2() [all …]
|
/freebsd/contrib/unbound/validator/ |
H A D | val_nsec3.c | 340 filter_next(struct nsec3_filter* filter, size_t* rrsetnum, int* rrnum) in filter_next() argument 361 r = (*rrnum) + 1; /* continue at next RR */ in filter_next() 370 *rrnum = r; in filter_next() 386 filter_first(struct nsec3_filter* filter, size_t* rrsetnum, int* rrnum) in filter_first() argument 389 *rrnum = -1; in filter_first() 390 return filter_next(filter, rrsetnum, rrnum); in filter_first() 491 int rrnum; in nsec3_iteration_count_high() local 499 for(rrset=filter_first(filter, &rrsetnum, &rrnum); rrset; in nsec3_iteration_count_high() 500 rrset=filter_next(filter, &rrsetnum, &rrnum)) { in nsec3_iteration_count_high() 501 if(nsec3_get_iter(rrset, rrnum) > max_iter) in nsec3_iteration_count_high()
|
H A D | val_sigcrypt.c | 1547 size_t rrnum = rrset_get_count(rrset); in dnskey_verify_rrset_sig() local 1555 rrset_get_rdata(rrset, rrnum + sig_idx, &sig, &siglen); in dnskey_verify_rrset_sig()
|
/freebsd/lib/libc/resolv/ |
H A D | res_debug.c | 144 int n, sflag, rrnum; in do_section() local 164 rrnum = 0; in do_section() 166 if (ns_parserr(handle, section, rrnum, &rr)) { in do_section() 170 else if (rrnum > 0 && sflag != 0 && in do_section() 175 if (rrnum == 0 && sflag != 0 && (statp->pfcode & RES_PRF_HEAD1)) in do_section() 257 rrnum++; in do_section()
|
/freebsd/contrib/unbound/services/ |
H A D | authzone.c | 7455 size_t arraysize, size_t* rrnum, struct auth_data* node) in addrrsigtype_if_needed() argument 7459 if((*rrnum) >= arraysize) in addrrsigtype_if_needed() 7461 array[*rrnum] = NULL; /* nothing there, but need entry in list */ in addrrsigtype_if_needed() 7462 (*rrnum)++; in addrrsigtype_if_needed() 7496 struct auth_rrset** rrlist, size_t rrnum, in zonemd_simple_count_rrsig() argument 7513 for(i=0; i<rrnum; i++) { in zonemd_simple_count_rrsig() 7545 size_t* done, struct auth_rrset** rrlist, size_t rrnum, in add_rrlist_rrsigs_into_data() argument 7549 for(i=0; i<rrnum; i++) { in add_rrlist_rrsigs_into_data() 7598 struct auth_rrset* rrset, struct auth_rrset** rrlist, size_t rrnum, in zonemd_simple_rrsig() argument 7624 data.count = zonemd_simple_count_rrsig(rrset, rrlist, rrnum, z, node); in zonemd_simple_rrsig() [all …]
|