Searched refs:udp_size (Results 1 – 2 of 2) sorted by relevance
595 size_t packet_size, udp_size; in dns_server_adjust_opt() local614 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()
206 size_t mtu, udp_size, min_mtu, socket_mtu = 0; in dns_scope_emit_one() local228 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()