Home
last modified time | relevance | path

Searched refs:LDNS_MAX_DOMAINLEN (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/contrib/unbound/iterator/
H A Diter_scrub.c67 && (*rrset)->dname_len <= LDNS_MAX_DOMAINLEN) { in remove_rrset()
68 uint8_t buf[LDNS_MAX_DOMAINLEN+1]; in remove_rrset()
242 if(*aliaslen > LDNS_MAX_DOMAINLEN) in synth_cname()
312 uint8_t buf1[LDNS_MAX_DOMAINLEN+1]; in pkt_strict_sub()
313 uint8_t buf2[LDNS_MAX_DOMAINLEN+1]; in pkt_strict_sub()
324 uint8_t buf[LDNS_MAX_DOMAINLEN+1]; in pkt_sub()
333 uint8_t buf[LDNS_MAX_DOMAINLEN+1]; in sub_of_pkt()
393 && rrset->dname_len <= LDNS_MAX_DOMAINLEN) { in shorten_rrset()
394 uint8_t buf[LDNS_MAX_DOMAINLEN+1]; in shorten_rrset()
461 uint8_t alias[LDNS_MAX_DOMAINLEN+1]; in scrub_normalize()
[all …]
H A Diter_delegpt.c281 char buf[LDNS_MAX_DOMAINLEN+1]; in delegpt_log()
H A Diterator.c1385 uint8_t dpname_storage[LDNS_MAX_DOMAINLEN+1]; in processInitRequest()
2036 char s[LDNS_MAX_DOMAINLEN+1]; in query_for_targets()
2044 char s[LDNS_MAX_DOMAINLEN+1]; in query_for_targets()
2255 char s[LDNS_MAX_DOMAINLEN+1]; in processLastResort()
3049 char s[LDNS_MAX_DOMAINLEN+1]; in processQueryTargets()
/freebsd/contrib/unbound/util/data/
H A Ddname.c63 if(len > LDNS_MAX_DOMAINLEN) in query_dname_len()
85 if(len >= LDNS_MAX_DOMAINLEN) in dname_valid()
215 if(len > LDNS_MAX_DOMAINLEN) in pkt_dname_len()
374 if(len >= LDNS_MAX_DOMAINLEN) { in dname_pkt_copy()
657 if(len >= LDNS_MAX_DOMAINLEN-1) { in dname_str()
875 size_t len = LDNS_MAX_DOMAINLEN; in dname_get_shared_topdomain()
H A Dmsgparse.c1345 if(verbosity >= VERB_QUERY && rrset->dname_len <= LDNS_MAX_DOMAINLEN && str) { in msgparse_rrset_remove_rr()
1346 uint8_t buf[LDNS_MAX_DOMAINLEN+1]; in msgparse_rrset_remove_rr()
/freebsd/contrib/ldns/
H A Dwire2host.c63 uint8_t tmp_dname[LDNS_MAX_DOMAINLEN]; in ldns_wire2dname()
110 if (dname_pos + 1 > LDNS_MAX_DOMAINLEN) { in ldns_wire2dname()
118 if (dname_pos + label_size > LDNS_MAX_DOMAINLEN) { in ldns_wire2dname()
136 if (dname_pos >= LDNS_MAX_DOMAINLEN) { in ldns_wire2dname()
H A Ddane.c93 char buf[LDNS_MAX_DOMAINLEN]; in ldns_dane_create_tlsa_owner()
100 s = (size_t)snprintf(buf, LDNS_MAX_DOMAINLEN, "X_%d", (int)port); in ldns_dane_create_tlsa_owner()
105 s += snprintf(buf + s, LDNS_MAX_DOMAINLEN - s, "\004_tcp"); in ldns_dane_create_tlsa_owner()
109 s += snprintf(buf + s, LDNS_MAX_DOMAINLEN - s, "\004_udp"); in ldns_dane_create_tlsa_owner()
113 s += snprintf(buf + s, LDNS_MAX_DOMAINLEN - s, "\005_sctp"); in ldns_dane_create_tlsa_owner()
119 if (s + ldns_rdf_size(name) > LDNS_MAX_DOMAINLEN) { in ldns_dane_create_tlsa_owner()
H A Dstr2host.c318 uint8_t buf[LDNS_MAX_DOMAINLEN + 1]; in ldns_str2rdf_dname()
323 if (len > LDNS_MAX_DOMAINLEN * 4) { in ldns_str2rdf_dname()
348 if (q >= buf + LDNS_MAX_DOMAINLEN) { in ldns_str2rdf_dname()
382 if (q >= buf + LDNS_MAX_DOMAINLEN) { in ldns_str2rdf_dname()
H A Dlibdns.vim260 syn keyword ldnsConstant LDNS_MAX_DOMAINLEN
H A Drr.c166 owner = LDNS_XMALLOC(char, LDNS_MAX_DOMAINLEN + 1); in ldns_rr_new_frm_str_internal()
189 if (ldns_bget_token(rr_buf, owner, "\t\n ", LDNS_MAX_DOMAINLEN) == -1){ in ldns_rr_new_frm_str_internal()
/freebsd/contrib/unbound/util/
H A Dmodule.c138 char dname[LDNS_MAX_DOMAINLEN+1]; in errinf_to_str_bogus()
181 char dname[LDNS_MAX_DOMAINLEN+1]; in errinf_to_str_servfail()
221 char dname[LDNS_MAX_DOMAINLEN+1]; in errinf_rrset()
235 char buf[LDNS_MAX_DOMAINLEN+1]; in errinf_dname()
H A Dnet_help.c82 #define MAX_HOST_STRLEN (LDNS_MAX_DOMAINLEN * 3) /* characters */
547 char buf[LDNS_MAX_DOMAINLEN+1]; in log_nametypeclass()
578 char buf[LDNS_MAX_DOMAINLEN+1]; in log_query_in()
611 char namebuf[LDNS_MAX_DOMAINLEN+1]; in log_name_addr()
/freebsd/contrib/unbound/sldns/
H A Dstr2wire.h253 uint8_t origin[LDNS_MAX_DOMAINLEN+1];
257 uint8_t prev_rr[LDNS_MAX_DOMAINLEN+1];
H A Drrdef.h29 #define LDNS_MAX_DOMAINLEN 255 macro
H A Dstr2wire.c52 if (len > LDNS_MAX_DOMAINLEN * 4) { in sldns_str2wire_dname_buf_rel()
84 if (q >= buf + LDNS_MAX_DOMAINLEN) in sldns_str2wire_dname_buf_rel()
121 if (q >= buf + LDNS_MAX_DOMAINLEN) { in sldns_str2wire_dname_buf_rel()
158 if(dlen + origin_len - 1 > LDNS_MAX_DOMAINLEN) in sldns_str2wire_dname_buf_origin()
160 LDNS_MAX_DOMAINLEN); in sldns_str2wire_dname_buf_origin()
173 uint8_t dname[LDNS_MAX_DOMAINLEN+1]; in sldns_str2wire_dname()
/freebsd/contrib/unbound/validator/
H A Dval_nsec.c528 uint8_t buf[LDNS_MAX_DOMAINLEN+3]; in val_nsec_proves_no_wc()
542 if(striplen > LDNS_MAX_DOMAINLEN-2) in val_nsec_proves_no_wc()
H A Dautotrust.c356 char buf[LDNS_MAX_DOMAINLEN+1]; in autr_tp_create()
366 char buf[LDNS_MAX_DOMAINLEN+1]; in autr_tp_create()
/freebsd/contrib/ldns/ldns/
H A Drr.h33 #define LDNS_MAX_DOMAINLEN 255 macro
/freebsd/contrib/unbound/services/
H A Drpz.c524 uint8_t nm[LDNS_MAX_DOMAINLEN+1]; in rpz_apply_cfg_elements()
742 char buf[LDNS_MAX_DOMAINLEN+1]; in rpz_log_dname()
1177 uint8_t wc[LDNS_MAX_DOMAINLEN+1]; in rpz_find_zone()
1585 if(!(policydname = calloc(1, LDNS_MAX_DOMAINLEN + 1))) in rpz_remove_rr()
1594 policydname, LDNS_MAX_DOMAINLEN + 1))) { in rpz_remove_rr()
1636 char dnamestr[LDNS_MAX_DOMAINLEN+1]; in log_rpz_apply()
H A Dlocalzone.c671 uint8_t dname[LDNS_MAX_DOMAINLEN+1]; in lz_enter_zone_tag()
705 uint8_t dname[LDNS_MAX_DOMAINLEN+1]; in lz_enter_override()
1547 if(newtargetlen > LDNS_MAX_DOMAINLEN) { in local_data_answer()
1768 char zname[LDNS_MAX_DOMAINLEN+1]; in lz_inform_print()
H A Dauthzone.c525 uint8_t nm[LDNS_MAX_DOMAINLEN+1]; in auth_zones_find_or_add_zone()
2399 uint8_t wc[LDNS_MAX_DOMAINLEN]; in az_find_wildcard_domain()
2667 uint8_t buf[LDNS_MAX_DOMAINLEN]; in create_synth_cname()
2812 uint8_t wc[LDNS_MAX_DOMAINLEN]; in az_nsec_wildcard_denial()
2879 unsigned char p[LDNS_MAX_DOMAINLEN+1+N3HASHBUFLEN+256]; in az_nsec3_hash()
2962 uint8_t hname[LDNS_MAX_DOMAINLEN]; in az_nsec3_find_cover()
2988 uint8_t hname[LDNS_MAX_DOMAINLEN]; in az_nsec3_find_exact()
3111 uint8_t wc[LDNS_MAX_DOMAINLEN]; in az_add_nsec3_proof()
5417 uint8_t dname[LDNS_MAX_DOMAINLEN+1]; in xfr_transfer_lookup_host()
5445 char buf2[LDNS_MAX_DOMAINLEN+1]; in xfr_transfer_lookup_host()
[all …]
H A Doutside_network.c1057 char buf[LDNS_MAX_DOMAINLEN+1];
1082 char buf[LDNS_MAX_DOMAINLEN+1];
2828 char buf[LDNS_MAX_DOMAINLEN+1];
/freebsd/contrib/unbound/services/cache/
H A Drrset.c251 uint8_t wc_dname[LDNS_MAX_DOMAINLEN+3]; in rrset_cache_update_wildcard()
/freebsd/contrib/unbound/cachedb/
H A Dcachedb.c697 uint8_t dpname_storage[LDNS_MAX_DOMAINLEN+1]; in cachedb_intcache_lookup()
/freebsd/contrib/ldns-host/
H A Dldns-host.c737 if (ldns_rdf_size(result) > LDNS_MAX_DOMAINLEN) in safe_dname_cat_clone()

12