Home
last modified time | relevance | path

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

/systemd-251/src/resolve/
Dresolved-dns-server.c595 size_t packet_size, udp_size; in dns_server_adjust_opt() local
614 udp_size = udp_header_size(server->family); in dns_server_adjust_opt()
617 packet_size = 65536 - udp_size; /* force linux loopback MTU if localhost address */ in dns_server_adjust_opt()
620 packet_size = LESS_BY(dns_server_get_mtu(server), udp_size); in dns_server_adjust_opt()
Dresolved-dns-scope.c206 size_t mtu, udp_size, min_mtu, socket_mtu = 0; in dns_scope_emit_one() local
228 udp_size = udp_header_size(family); in dns_scope_emit_one()
229 min_mtu = udp_size + DNS_PACKET_HEADER_SIZE; in dns_scope_emit_one()
243 if (udp_size + p->size > mtu) in dns_scope_emit_one()