Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/net/lib/dns/
Ddns_pack.c306 static int dns_find_null(int *qname_size, uint8_t *buf, uint16_t size) in dns_find_null() argument
308 *qname_size = 0; in dns_find_null()
309 while (*qname_size < size) { in dns_find_null()
310 if (buf[(*qname_size)++] == 0x00) { in dns_find_null()
323 int qname_size; in dns_unpack_response_query() local
331 rc = dns_find_null(&qname_size, dns_query, remaining_size); in dns_unpack_response_query()
337 offset = dns_msg->query_offset + qname_size; in dns_unpack_response_query()
345 buf = dns_query + qname_size; in dns_unpack_response_query()
355 dns_msg->answer_offset = dns_msg->query_offset + qname_size + in dns_unpack_response_query()