Home
last modified time | relevance | path

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

/freebsd/contrib/unbound/util/data/
H A Dmsgencode.c704 struct regional* region, uint16_t udpsize, int dnssec, int minimise) in reply_info_encode() argument
713 if(udpsize < sldns_buffer_limit(buffer)) in reply_info_encode()
714 sldns_buffer_set_limit(buffer, udpsize); in reply_info_encode()
1025 int cached, struct regional* region, uint16_t udpsize, in reply_info_answer_encode() argument
1051 if(udpsize < LDNS_HEADER_SIZE) in reply_info_answer_encode()
1057 if(sldns_buffer_capacity(pkt) < (size_t)udpsize) in reply_info_answer_encode()
1058 udpsize = sldns_buffer_capacity(pkt); in reply_info_answer_encode()
1062 } else if((size_t)udpsize < (size_t)LDNS_HEADER_SIZE + edns_field_size - ede_size) { in reply_info_answer_encode()
1071 udpsize - attach_edns, dnssec, MINIMAL_RESPONSES)) { in reply_info_answer_encode()
1076 if((size_t)udpsize >= sldns_buffer_limit(pkt) + edns_field_size) in reply_info_answer_encode()
[all …]
H A Dmsgencode.h71 int cached, struct regional* region, uint16_t udpsize,
95 struct regional* region, uint16_t udpsize, int dnssec, int minimise);
/freebsd/contrib/unbound/daemon/
H A Dworker.c605 uint16_t udpsize = edns->udp_size; in answer_norec_from_cache() local
694 udpsize, edns, (int)(edns->bits & EDNS_DO), secure)) { in answer_norec_from_cache()
781 uint16_t udpsize = edns->udp_size; in answer_from_cache() local
934 udpsize, edns, (int)(edns->bits & EDNS_DO), in answer_from_cache()
1012 size_t udpsize = edns->udp_size; in chaos_replystr() local
1037 calc_edns_field_size(edns) > udpsize) { in chaos_replystr()
/freebsd/contrib/unbound/services/
H A Dlocalzone.c1355 uint16_t udpsize; in local_encode() local
1366 udpsize = edns->udp_size; in local_encode()
1374 buf, 0, 0, temp, udpsize, edns, (int)(edns->bits&EDNS_DO), 0)) { in local_encode()
H A Drpz.c1794 uint16_t udpsize; in rpz_local_encode() local
1816 udpsize = edns->udp_size; in rpz_local_encode()
1825 buf, 0, 0, temp, udpsize, edns, (int)(edns->bits&EDNS_DO), 0)) { in rpz_local_encode()
H A Dauthzone.c3627 uint16_t udpsize; in auth_answer_encode() local
3628 udpsize = edns->udp_size; in auth_answer_encode()
3639 buf, 0, 0, temp, udpsize, edns, in auth_answer_encode()
/freebsd/contrib/unbound/sldns/
H A Dwire2str.c2457 uint16_t udpsize, edns_bits, rdatalen; in sldns_wire2str_edns_scan() local
2476 udpsize = sldns_read_uint16((*data)+2); in sldns_wire2str_edns_scan()
2499 w += sldns_str_print(str, str_len, " ; udp: %u", (unsigned)udpsize); in sldns_wire2str_edns_scan()
/freebsd/contrib/unbound/doc/
H A DChangelog5774 - remove unused udpsize assignment in message encode.
6820 overrides udpsize.