Lines Matching refs:request_packet

559          return DNS_PACKET_DO(q->request_packet) &&  in dns_stub_reply_with_edns0_do()
562 DNS_PACKET_CD(q->request_packet)); /* … or client set CD */ in dns_stub_reply_with_edns0_do()
597 DNS_PACKET_PAYLOAD_SIZE_MAX(q->request_packet), in dns_stub_send_reply()
598 q->request_packet->question, in dns_stub_send_reply()
617 DNS_PACKET_ID(q->request_packet), in dns_stub_send_reply()
621 DNS_PACKET_RD(q->request_packet), in dns_stub_send_reply()
622 !!q->request_packet->opt, in dns_stub_send_reply()
624 …(DNS_PACKET_AD(q->request_packet) || DNS_PACKET_DO(q->request_packet)) && dns_query_fully_authenti… in dns_stub_send_reply()
625 DNS_PACKET_CD(q->request_packet), in dns_stub_send_reply()
627 … dns_packet_has_nsid_request(q->request_packet) > 0 && !q->stub_listener_extra); in dns_stub_send_reply()
631 …urn dns_stub_send(q->manager, q->stub_listener_extra, q->request_stream, q->request_packet, reply); in dns_stub_send_reply()
728 assert(q->request_packet); in dns_stub_query_complete()
739 … r = dns_stub_patch_bypass_reply_packet(&reply, q->answer_full_packet, q->request_packet); in dns_stub_query_complete()
743 …id) dns_stub_send(q->manager, q->stub_listener_extra, q->request_stream, q->request_packet, reply); in dns_stub_query_complete()
899 if (existing && dns_packet_equal(existing->request_packet, p)) { in dns_stub_process_query()
977 q->request_packet = dns_packet_ref(p); in dns_stub_process_query()
997 (void) hashmap_put(*queries_by_packet, q->request_packet, q); in dns_stub_process_query()