Home
last modified time | relevance | path

Searched refs:query_id (Results 1 – 3 of 3) sorted by relevance

/packages/modules/DnsResolver/doh/tests/doh_frontend/src/
Dclient.rs147 let query_id = u16::from_be_bytes([response[0], response[1]]); in handle_backend_message() localVariable
151 .ok_or_else(|| anyhow!("query_id {:x} not found", query_id))?; in handle_backend_message()
230 pub fn is_waiting_for_query(&self, query_id: &[u8; 2]) -> bool { in is_waiting_for_query()
231 self.in_flight_queries.contains_key(query_id)
Ddns_https_frontend.rs366 let query_id = [backend_buf[0], backend_buf[1]]; in worker_thread() localVariable
368 if client.is_waiting_for_query(&query_id) { in worker_thread()
/packages/modules/DnsResolver/
DDnsProxyListener.cpp251 bool setQueryId(span<uint8_t> msg, uint16_t query_id) { in setQueryId() argument
257 hp->id = htons(query_id); in setQueryId()
261 bool parseQuery(span<const uint8_t> msg, uint16_t* query_id, int* rr_type, std::string* rr_name) { in parseQuery() argument
268 *query_id = ns_msg_id(handle); in parseQuery()