Home
last modified time | relevance | path

Searched refs:udp_size (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/unbound/daemon/
H A Dworker.c478 uint16_t udpsize = edns->udp_size; in answer_norec_from_cache()
507 edns->udp_size = EDNS_ADVERTISED_SIZE; in answer_norec_from_cache()
545 edns->udp_size = EDNS_ADVERTISED_SIZE; in answer_norec_from_cache()
652 uint16_t udpsize = edns->udp_size; in answer_from_cache()
708 edns->udp_size = EDNS_ADVERTISED_SIZE; in answer_from_cache()
750 edns->udp_size = EDNS_ADVERTISED_SIZE; in answer_from_cache()
882 size_t udpsize = edns->udp_size; in chaos_replystr()
884 edns->udp_size = EDNS_ADVERTISED_SIZE; in chaos_replystr()
1103 edns->udp_size = EDNS_ADVERTISED_SIZE; in answer_notify()
1600 if(edns.udp_size < NORMAL_UDP_SIZE && in worker_handle_request()
[all …]
/freebsd/contrib/unbound/contrib/
H A Dredirect-bogus.patch116 size_t udp_size = r->edns.udp_size;
311 + es.udp_size = EDNS_ADVERTISED_SIZE;
315 + edns->udp_size)
H A Dfastrpz.patch2226 + edns->udp_size = EDNS_ADVERTISED_SIZE;
2233 + edns->udp_size, edns, 0, 0)) {
/freebsd/contrib/unbound/util/data/
H A Dmsgencode.c933 sldns_buffer_write_u16(pkt, edns->udp_size); /* class */ in attach_edns_record_max_msg_sz()
993 attach_edns_record_max_msg_sz(pkt, edns, edns->udp_size); in attach_edns_record()
1121 es.udp_size = EDNS_ADVERTISED_SIZE; in extended_error_encode()
1125 edns->udp_size) { in extended_error_encode()
1129 edns->udp_size) { in extended_error_encode()
H A Dmsgparse.h233 uint16_t udp_size; member
H A Dmsgparse.c1178 edns->udp_size = 512; in parse_extract_edns_from_response_msg()
1208 edns->udp_size = ntohs(found->rrset_class); in parse_extract_edns_from_response_msg()
1289 edns->udp_size = 512; in parse_edns_from_query_pkt()
1300 edns->udp_size = sldns_buffer_read_u16(pkt); /* class is udp size */ in parse_edns_from_query_pkt()
/freebsd/contrib/unbound/services/
H A Dmesh.c1250 size_t udp_size = r->edns.udp_size; in mesh_do_callback() local
1253 r->edns.udp_size = EDNS_ADVERTISED_SIZE; in mesh_do_callback()
1263 m->s.env->scratch, udp_size, &r->edns, in mesh_do_callback()
1390 prev->edns.udp_size == r->edns.udp_size && in mesh_send_reply()
1428 size_t udp_size = r->edns.udp_size; in mesh_send_reply() local
1430 r->edns.udp_size = EDNS_ADVERTISED_SIZE; in mesh_send_reply()
1451 udp_size, &r->edns, (int)(r->edns.bits & EDNS_DO), in mesh_send_reply()
H A Doutside_network.c2836 uint16_t udp_size; local
2840 udp_size = EDNS_FRAG_SIZE_IP6;
2841 else udp_size = EDNS_ADVERTISED_SIZE;
2844 udp_size = EDNS_FRAG_SIZE_IP4;
2845 else udp_size = EDNS_ADVERTISED_SIZE;
2848 udp_size = EDNS_ADVERTISED_SIZE;
2850 return udp_size;
2876 edns.udp_size = serviced_query_udp_size(sq, sq->status);
H A Dlocalzone.c1317 udpsize = edns->udp_size; in local_encode()
1319 edns->udp_size = EDNS_ADVERTISED_SIZE; in local_encode()
1341 edns->udp_size = EDNS_ADVERTISED_SIZE; in local_error_encode()
H A Dauthzone.c3533 udpsize = edns->udp_size; in auth_answer_encode()
3535 edns->udp_size = EDNS_ADVERTISED_SIZE; in auth_answer_encode()
3559 edns->udp_size = EDNS_ADVERTISED_SIZE; in auth_error_encode()
5462 edns.udp_size = (uint16_t)sldns_buffer_capacity(buf); in xfr_transfer_lookup_host()
5463 else edns.udp_size = 65535; in xfr_transfer_lookup_host()
6657 edns.udp_size = (uint16_t)sldns_buffer_capacity(buf); in xfr_probe_lookup_host()
6658 else edns.udp_size = 65535; in xfr_probe_lookup_host()
8454 edns.udp_size = (uint16_t)sldns_buffer_capacity(buf); in zonemd_lookup_dnskey()
8455 else edns.udp_size = 65535; in zonemd_lookup_dnskey()
H A Drpz.c1801 udpsize = edns->udp_size; in rpz_local_encode()
1803 edns->udp_size = EDNS_ADVERTISED_SIZE; in rpz_local_encode()
/freebsd/contrib/unbound/libunbound/
H A Dlibworker.c599 edns->udp_size = (uint16_t)sldns_buffer_capacity( in setup_qinfo_edns()
601 else edns->udp_size = 65535; in setup_qinfo_edns()
/freebsd/contrib/unbound/cachedb/
H A Dcachedb.c389 edns.udp_size = EDNS_ADVERTISED_SIZE; in prep_data()
/freebsd/contrib/unbound/validator/
H A Dautotrust.c2387 edns.udp_size = (uint16_t)sldns_buffer_capacity(buf); in probe_anchor()
2388 else edns.udp_size = 65535; in probe_anchor()