Lines Matching refs:current_feature_level
282 .current_feature_level = _DNS_SERVER_FEATURE_LEVEL_INVALID, in dns_transaction_new()
482 t->current_feature_level = dns_server_possible_feature_level(server); in dns_transaction_pick_server()
486 t->current_feature_level > t->clamp_feature_level_servfail) in dns_transaction_pick_server()
487 t->current_feature_level = t->clamp_feature_level_servfail; in dns_transaction_pick_server()
489 t->current_feature_level > t->clamp_feature_level_nxdomain) in dns_transaction_pick_server()
490 t->current_feature_level = t->clamp_feature_level_nxdomain; in dns_transaction_pick_server()
492 …evel %s for transaction %u.", dns_server_feature_level_to_string(t->current_feature_level), t->id); in dns_transaction_pick_server()
551 if (t->current_feature_level <= dns_server_possible_feature_level(t->server)) in dns_transaction_maybe_restart()
634 dns_server_packet_lost(t->server, IPPROTO_TCP, t->current_feature_level); in on_stream_complete()
668 return DNS_SERVER_FEATURE_LEVEL_IS_TLS(t->current_feature_level) ? 853 : 53; in dns_transaction_port()
698 r = dns_server_adjust_opt(t->server, t->sent, t->current_feature_level); in dns_transaction_emit_tcp()
703 …if (t->server->stream && (DNS_SERVER_FEATURE_LEVEL_IS_TLS(t->current_feature_level) == t->server->… in dns_transaction_emit_tcp()
712 if (DNS_SERVER_FEATURE_LEVEL_IS_TLS(t->current_feature_level) && in dns_transaction_emit_tcp()
762 DNS_SERVER_FEATURE_LEVEL_IS_TLS(t->current_feature_level)) { in dns_transaction_emit_tcp()
1129 if (t->current_feature_level <= DNS_SERVER_FEATURE_LEVEL_UDP) { in dns_transaction_process_reply()
1154 t->clamp_feature_level_servfail = t->current_feature_level; in dns_transaction_process_reply()
1159 switch (t->current_feature_level) { in dns_transaction_process_reply()
1168 … t->clamp_feature_level_servfail = t->current_feature_level - 1; in dns_transaction_process_reply()
1191 dns_server_packet_truncated(t->server, t->current_feature_level); in dns_transaction_process_reply()
1223 if (t->current_feature_level > DNS_SERVER_FEATURE_LEVEL_UDP) { in dns_transaction_process_reply()
1268 dns_server_packet_invalid(t->server, t->current_feature_level); in dns_transaction_process_reply()
1285 DNS_SERVER_FEATURE_LEVEL_IS_EDNS0(t->current_feature_level) && in dns_transaction_process_reply()
1286 DNS_SERVER_FEATURE_LEVEL_IS_UDP(t->current_feature_level) && in dns_transaction_process_reply()
1330 dns_server_packet_bad_opt(t->server, t->current_feature_level); in dns_transaction_process_reply()
1334 dns_server_packet_do_off(t->server, t->current_feature_level); in dns_transaction_process_reply()
1339 …dns_server_packet_received(t->server, p->ipproto, t->current_feature_level, dns_packet_size_unfrag… in dns_transaction_process_reply()
1424 dns_server_packet_lost(t->server, IPPROTO_UDP, t->current_feature_level); in on_dns_packet()
1475 …if (t->current_feature_level < DNS_SERVER_FEATURE_LEVEL_UDP || DNS_SERVER_FEATURE_LEVEL_IS_TLS(t->… in dns_transaction_emit_udp()
1504 r = dns_server_adjust_opt(t->server, t->sent, t->current_feature_level); in dns_transaction_emit_udp()
1535 …dns_server_packet_lost(t->server, t->stream ? IPPROTO_TCP : IPPROTO_UDP, t->current_feature_level); in on_transaction_timeout()
3244 … dns_server_packet_rrsig_missing(t->server, t->current_feature_level); in dnssec_validate_records()