Searched refs:answer (Results 1 – 5 of 5) sorted by relevance
| /subsys/net/lib/dns/ |
| A D | dns_pack.h | 302 static inline int dns_answer_type(uint16_t dname_size, uint8_t *answer) in dns_answer_type() argument 305 return ntohs(UNALIGNED_GET((uint16_t *)(answer + dname_size + 0))); in dns_answer_type() 308 static inline int dns_answer_class(uint16_t dname_size, uint8_t *answer) in dns_answer_class() argument 311 return ntohs(UNALIGNED_GET((uint16_t *)(answer + dname_size + 2))); in dns_answer_class() 314 static inline int dns_answer_ttl(uint16_t dname_size, uint8_t *answer) in dns_answer_ttl() argument 316 return ntohl(UNALIGNED_GET((uint32_t *)(answer + dname_size + 4))); in dns_answer_ttl() 320 uint8_t *answer) in dns_answer_rdlength() argument 322 return ntohs(UNALIGNED_GET((uint16_t *)(answer + dname_size + 8))); in dns_answer_rdlength()
|
| A D | dns_pack.c | 92 if (answer[i] == 0) { in skip_fqdn() 95 } else if (answer[i] >= 0xc0) { in skip_fqdn() 101 } else if (answer[i] < DNS_LABEL_MAX_SIZE) { in skip_fqdn() 102 i += answer[i] + 1; in skip_fqdn() 118 uint8_t *answer; in dns_unpack_answer() local 120 answer = dns_msg->msg + dns_msg->answer_offset; in dns_unpack_answer() 122 dname_len = skip_fqdn(answer, in dns_unpack_answer() 147 if ((dns_answer_class(dname_len, answer) & in dns_unpack_answer() 154 *ttl = dns_answer_ttl(dname_len, answer); in dns_unpack_answer() 155 len = dns_answer_rdlength(dname_len, answer); in dns_unpack_answer() [all …]
|
| A D | mdns_responder.c | 1548 ret = zsock_sendto(sock, answer->data, answer->len, 0, in send_unsolicited_response() 1565 struct net_buf *answer; in create_unsolicited_mdns_answer() local 1570 if (answer == NULL) { in create_unsolicited_mdns_answer() 1654 return answer; in create_unsolicited_mdns_answer() 1678 struct net_buf *answer; in send_announce() local 1701 if (answer == NULL) { in send_announce() 1710 answer); in send_announce() 1712 net_buf_unref(answer); in send_announce() 1744 if (answer == NULL) { in send_announce() 1753 answer); in send_announce() [all …]
|
| A D | Kconfig | 65 int "Max length of a DNS answer" 69 Max length of the returned DNS answer we can process.
|
| /subsys/bluetooth/mesh/ |
| A D | Kconfig | 1579 Since there is no single optimal answer, this configuration
|
Completed in 36 milliseconds