Home
last modified time | relevance | path

Searched refs:namelabs (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/unbound/iterator/
H A Diter_fwd.c63 return dname_lab_cmp(n1->name, n1->namelabs, n2->name, n2->namelabs, in fwd_cmp()
129 node->namelabs = nmlabs; in forwards_insert_data()
147 dp->namelabs, dp); in forwards_insert()
162 (void)dname_lab_cmp(prev->name, prev->namelabs, node->name, in fwd_init_parents()
163 node->namelabs, &m); /* we know prev is smaller */ in fwd_init_parents()
168 if(p->namelabs <= m) { in fwd_init_parents()
305 key.namelabs = dname_count_size_labels(key.name, &key.namelen); in fwd_add_stub_hole()
307 key.namelen, key.namelabs, NULL); in fwd_add_stub_hole()
371 key.namelabs = dname_count_size_labels(qname, &key.namelen); in forwards_find()
392 key.namelabs = dname_count_size_labels(qname, &key.namelen); in forwards_lookup()
[all …]
H A Diter_hints.c183 dp->namelabs, c)) { in hints_insert()
526 if(r->dp->namelabs != 1) in hints_lookup_stub()
542 if(dname_strict_subdomain(r->dp->name, r->dp->namelabs, in hints_lookup_stub()
543 cache_dp->name, cache_dp->namelabs)) in hints_lookup_stub()
582 dp->name, dp->namelen, dp->namelabs, c)) != NULL) { in hints_add_stub()
H A Diter_fwd.h80 int namelabs; member
H A Diter_utils.c864 if((a=anchor_find(env->anchors, dp->name, dp->namelabs, dp->namelen, in iter_indicates_dnssec()
938 if(l == dp->namelabs + 1 && in iter_msg_from_zone()
940 l, dp->name, dp->namelabs)) in iter_msg_from_zone()
1456 if(dname_count_labels(qinfo->qname) == dp->namelabs+1) in iter_dp_cangodown()
1481 if(dname_strict_subdomain(dp->name, dp->namelabs, in iter_stub_fwd_no_cache()
1482 stub->dp->name, stub->dp->namelabs)) { in iter_stub_fwd_no_cache()
H A Diter_delegpt.c100 dp->namelabs = dname_count_size_labels(name, &dp->namelen); in delegpt_set_name()
599 dp->namelabs = dname_count_size_labels(name, &dp->namelen); in delegpt_create_mlc()
637 dp->namelabs = dname_count_size_labels(name, &dp->namelen); in delegpt_set_name_mlc()
H A Diter_delegpt.h63 int namelabs; member
H A Diterator.c1146 dp->namelabs = z->namelabs; in auth_zone_delegpt()
3434 if(old_dp->namelabs + 1 < iq->dp->namelabs) { in processQueryResponse()
/freebsd/contrib/unbound/validator/
H A Dval_anchor.c71 return dname_lab_cmp(n1->name, n1->namelabs, n2->name, n2->namelabs, in anchor_cmp()
169 (void)dname_lab_cmp(prev->name, prev->namelabs, node->name, in anchors_init_parents_locked()
170 node->namelabs, &m); /* we know prev is smaller */ in anchors_init_parents_locked()
175 if(p->namelabs <= m) { in anchors_init_parents_locked()
197 anchor_find(struct val_anchors* anchors, uint8_t* name, int namelabs, in anchor_find() argument
205 key.namelabs = namelabs; in anchor_find()
221 anchor_new_ta(struct val_anchors* anchors, uint8_t* name, int namelabs, in anchor_new_ta() argument
238 ta->namelabs = namelabs; in anchor_new_ta()
309 int namelabs; in anchor_store_new_key() local
311 namelabs = dname_count_size_labels(name, &namelen); in anchor_store_new_key()
[all …]
H A Dval_anchor.h102 int namelabs; member
176 uint8_t* name, int namelabs, size_t namelen, uint16_t dclass);
240 int anchor_has_keytag(struct val_anchors* anchors, uint8_t* name, int namelabs,
H A Dautotrust.c343 tp->namelabs = dname_count_labels(tp->name); in autr_tp_create()
2068 key.namelabs = dname_count_labels(key.name); in set_next_probe()
2123 key.namelabs = tp->namelabs; in autr_tp_remove()
H A Dvalidator.c609 vq->trust_anchor_labs = toprime->namelabs; in prime_trust_anchor()
/freebsd/contrib/unbound/services/
H A Dlocalzone.c155 return dname_lab_cmp(a->name, a->namelabs, b->name, b->namelabs, &m); in local_zone_cmp()
164 return dname_canon_lab_cmp(a->name, a->namelabs, b->name, in local_data_cmp()
165 b->namelabs, &m); in local_data_cmp()
196 z->namelabs = labs; in local_zone_create()
466 key.namelabs = nmlabs; in local_zone_find_data()
491 ld->namelabs = nmlabs; in lz_find_create_node()
496 if(nmlabs > z->namelabs) { in lz_find_create_node()
811 if(!parse_dname(name, &z.name, &z.namelen, &z.namelabs)) { in lz_exists()
993 (void)dname_lab_cmp(prev->name, prev->namelabs, curr->name, in find_closest_parent()
994 curr->namelabs, &m); /* we know prev is smaller */ in find_closest_parent()
[all …]
H A Dauthzone.h105 int namelabs; member
170 int namelabs; member
222 int namelabs; member
H A Dlocalzone.h136 int namelabs; member
182 int namelabs; member
H A Dauthzone.c326 return dname_lab_cmp(a->name, a->namelabs, b->name, b->namelabs, &m); in auth_zone_cmp()
335 return dname_canon_lab_cmp(a->name, a->namelabs, b->name, in auth_data_cmp()
336 b->namelabs, &m); in auth_data_cmp()
353 return dname_lab_cmp(a->name, a->namelabs, b->name, b->namelabs, &m); in auth_xfer_cmp()
426 z->namelabs = dname_count_labels(nm); in auth_zone_create()
457 key.namelabs = dname_count_labels(nm); in auth_zone_find()
470 key.namelabs = dname_count_labels(nm); in auth_xfer_find()
484 key.namelabs = dname_count_labels(nm); in auth_zone_find_less_equal()
602 n->namelabs = dname_count_labels(nm); in az_domain_create()
620 key.namelabs = dname_count_labels(nm); in az_find_name()
[all …]
H A Drpz.c2119 key.namelabs = dname_count_labels(match->dname); in rpz_synthesize_nsdname_localdata()
2149 key.namelabs = dname_count_labels(qinfo->qname); in rpz_synthesize_qname_localdata_msg()
/freebsd/contrib/unbound/daemon/
H A Dremote.c2900 z->namelabs, z->namelen, z->dclass))) { in do_list_forwards()