Lines Matching refs:dns_id
167 static void setup_dns_hdr(uint8_t *buf, uint16_t answers, uint16_t dns_id) in setup_dns_hdr() argument
176 UNALIGNED_PUT(htons(dns_id), (uint16_t *)(buf)); in setup_dns_hdr()
243 uint16_t dns_id, in create_answer() argument
258 setup_dns_hdr(query->data, 1, dns_id); in create_answer()
305 uint16_t dns_id, in create_ipv4_answer() argument
324 if (create_answer(qtype, query, dns_id, addr_len, addr)) { in create_ipv4_answer()
338 uint16_t dns_id, in create_ipv6_answer() argument
357 if (create_answer(qtype, query, dns_id, addr_len, addr)) { in create_ipv6_answer()
372 uint16_t dns_id) in send_response() argument
381 qtype, reply, dns_id, in send_response()
388 qtype, reply, dns_id, in send_response()
436 uint16_t dns_id = 0U; in dns_read() local
457 ret = llmnr_unpack_query_header(&dns_msg, &dns_id); in dns_read()
473 dns_id); in dns_read()
497 dns_id); in dns_read()