Lines Matching full:answer
139 …* | AA | 10 | 1 | Answer Authenticated / Answer Authoritative. 0 := Not Authenticated, 1 := Authen…
146 /** Answer count */
300 static inline int dns_answer_type(uint16_t dname_size, uint8_t *answer) in dns_answer_type() argument
303 return ntohs(UNALIGNED_GET((uint16_t *)(answer + dname_size + 0))); in dns_answer_type()
306 static inline int dns_answer_class(uint16_t dname_size, uint8_t *answer) in dns_answer_class() argument
309 return ntohs(UNALIGNED_GET((uint16_t *)(answer + dname_size + 2))); in dns_answer_class()
312 static inline int dns_answer_ttl(uint16_t dname_size, uint8_t *answer) in dns_answer_ttl() argument
314 return ntohl(UNALIGNED_GET((uint32_t *)(answer + dname_size + 4))); in dns_answer_ttl()
318 uint8_t *answer) in dns_answer_rdlength() argument
320 return ntohs(UNALIGNED_GET((uint16_t *)(answer + dname_size + 8))); in dns_answer_rdlength()
338 * @brief Unpacks an answer message
342 * first answer, ptr must be 0x0c, the DNAME at the question.
343 * @param ttl TTL answer parameter.
344 * @param type Answer type parameter.
363 * the question counter is not 1 or the answer counter is less than 1.
437 * the question counter is not 1 or the answer counter is less than 1.