Home
last modified time | relevance | path

Searched refs:udpsize (Results 1 – 8 of 8) sorted by relevance

/freebsd-13.1/contrib/unbound/util/data/
H A Dmsgencode.h71 int cached, struct regional* region, uint16_t udpsize,
95 struct regional* region, uint16_t udpsize, int dnssec, int minimise);
H A Dmsgencode.c674 struct regional* region, uint16_t udpsize, int dnssec, int minimise) in reply_info_encode() argument
682 if(udpsize < sldns_buffer_limit(buffer)) in reply_info_encode()
683 sldns_buffer_set_limit(buffer, udpsize); in reply_info_encode()
892 int cached, struct regional* region, uint16_t udpsize, in reply_info_answer_encode() argument
917 if(udpsize < LDNS_HEADER_SIZE) in reply_info_answer_encode()
919 if(sldns_buffer_capacity(pkt) < udpsize) in reply_info_answer_encode()
920 udpsize = sldns_buffer_capacity(pkt); in reply_info_answer_encode()
921 if(udpsize < LDNS_HEADER_SIZE + calc_edns_field_size(edns)) { in reply_info_answer_encode()
927 udpsize -= attach_edns; in reply_info_answer_encode()
931 udpsize, dnssec, MINIMAL_RESPONSES)) { in reply_info_answer_encode()
[all …]
/freebsd-13.1/contrib/unbound/daemon/
H A Dworker.c452 uint16_t udpsize = edns->udp_size; in answer_norec_from_cache() local
521 udpsize, edns, (int)(edns->bits & EDNS_DO), secure)) { in answer_norec_from_cache()
604 uint16_t udpsize = edns->udp_size; in answer_from_cache() local
721 udpsize, edns, (int)(edns->bits & EDNS_DO), *is_secure_answer)) { in answer_from_cache()
784 size_t udpsize = edns->udp_size; in chaos_replystr() local
808 calc_edns_field_size(edns) > udpsize) { in chaos_replystr()
/freebsd-13.1/contrib/unbound/services/
H A Drpz.c1522 uint16_t udpsize; in rpz_local_encode() local
1544 udpsize = edns->udp_size; in rpz_local_encode()
1553 buf, 0, 0, temp, udpsize, edns, (int)(edns->bits&EDNS_DO), 0)) { in rpz_local_encode()
H A Dlocalzone.c1301 uint16_t udpsize; in local_encode() local
1311 udpsize = edns->udp_size; in local_encode()
1319 buf, 0, 0, temp, udpsize, edns, (int)(edns->bits&EDNS_DO), 0)) { in local_encode()
H A Dauthzone.c3488 uint16_t udpsize; in auth_answer_encode() local
3489 udpsize = edns->udp_size; in auth_answer_encode()
3500 buf, 0, 0, temp, udpsize, edns, in auth_answer_encode()
/freebsd-13.1/contrib/unbound/sldns/
H A Dwire2str.c2316 uint16_t udpsize, edns_bits, rdatalen; in sldns_wire2str_edns_scan() local
2335 udpsize = sldns_read_uint16((*data)+2); in sldns_wire2str_edns_scan()
2356 w += sldns_str_print(str, str_len, " ; udp: %u", (unsigned)udpsize); in sldns_wire2str_edns_scan()
/freebsd-13.1/contrib/unbound/doc/
H A DChangelog2504 - remove unused udpsize assignment in message encode.
3550 overrides udpsize.