Searched refs:dns_header (Results 1 – 4 of 4) sorted by relevance
182 uint8_t *dns_header; in dns_unpack_response_header() local188 dns_header = msg->msg; in dns_unpack_response_header()195 if (dns_unpack_header_id(dns_header) != src_id) { in dns_unpack_response_header()199 if (dns_header_qr(dns_header) != DNS_RESPONSE) { in dns_unpack_response_header()203 if (dns_header_opcode(dns_header) != DNS_QUERY) { in dns_unpack_response_header()207 if (dns_header_z(dns_header) != 0) { in dns_unpack_response_header()211 rc = dns_header_rcode(dns_header); in dns_unpack_response_header()220 qdcount = dns_unpack_header_qdcount(dns_header); in dns_unpack_response_header()221 ancount = dns_unpack_header_ancount(dns_header); in dns_unpack_response_header()423 uint8_t *dns_header; in mdns_unpack_query_header() local[all …]
732 uint16_t offset = sizeof(struct dns_header); in dns_sd_handle_ptr_query()733 struct dns_header *rsp = (struct dns_header *)buf; in dns_sd_handle_ptr_query()833 uint16_t offset = sizeof(struct dns_header); in dns_sd_handle_service_type_enum()835 struct dns_header *const rsp = (struct dns_header *)buf; in dns_sd_handle_service_type_enum()
125 struct dns_header { struct
96 + sizeof(struct dns_header) in create_query()100 struct dns_header *hdr = in create_query()101 (struct dns_header *)&create_query_buf[0]; in create_query()105 offs += sizeof(struct dns_header); in create_query()273 const uint32_t offset = sizeof(struct dns_header); in ZTEST()546 sizeof(struct dns_header)); in ZTEST()561 sizeof(struct dns_header)), "port zero should not " in ZTEST()569 sizeof(struct dns_header)), ""); in ZTEST()574 sizeof(struct dns_header)), ""); in ZTEST()607 sizeof(struct dns_header)); in ZTEST()[all …]