Searched refs:qname_len (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.5.0/tests/net/lib/dns_packet/src/ |
D | main.c | 21 static uint16_t qname_len; variable 59 rc = dns_msg_pack_qname(&qname_len, qname, MAX_BUF_SIZE, dname); in eval_query() 64 rc = dns_msg_pack_query(dns_buf, &dns_buf_len, MAX_BUF_SIZE, qname, qname_len, in eval_query() 150 if (dns_unpack_query_qclass(question + qname_len) != DNS_CLASS_IN) { in eval_query() 156 if (dns_unpack_query_qtype(question + qname_len) != type) { in eval_query() 306 rc = dns_msg_pack_qname(&qname_len, qname, MAX_BUF_SIZE, resp->dname); in eval_response1() 314 if (offset + qname_len + 2 * INT_SIZE >= resp->res_len) { in eval_response1() 319 if (memcmp(qname, resp->res + offset, qname_len) != 0) { in eval_response1() 324 offset += qname_len; in eval_response1()
|
/Zephyr-Core-3.5.0/subsys/net/lib/dns/ |
D | dns_pack.c | 272 uint8_t *qname, uint16_t qname_len, uint16_t id, in dns_msg_pack_query() argument 280 if (msg_size + qname_len > size) { in dns_msg_pack_query() 290 memcpy(buf + offset, qname, qname_len); in dns_msg_pack_query() 292 offset += qname_len; in dns_msg_pack_query()
|
D | dns_pack.h | 384 uint8_t *qname, uint16_t qname_len, uint16_t id,
|