Lines Matching refs:query
834 static const char query[] = { "\x09_services\x07_dns-sd\x04_udp\x05local" }; in dns_sd_handle_service_type_enum() local
874 sizeof(query) in dns_sd_handle_service_type_enum()
888 memcpy(&buf[offset], query, sizeof(query)); in dns_sd_handle_service_type_enum()
889 offset += sizeof(query); in dns_sd_handle_service_type_enum()
991 int dns_sd_query_extract(const uint8_t *query, size_t query_size, struct dns_sd_rec *record, in dns_sd_query_extract() argument
1008 __ASSERT(!(query == NULL || label == NULL || size == NULL || n == NULL), in dns_sd_query_extract()
1010 __ASSERT(query + query_size >= query, "query %p + query_size %zu wraps NULL", query, in dns_sd_query_extract()
1026 query += DNS_MSG_HEADER_SIZE; in dns_sd_query_extract()
1035 qsize = *query; in dns_sd_query_extract()
1037 ++query; in dns_sd_query_extract()
1058 memcpy(label[i], query, qsize); in dns_sd_query_extract()
1065 query += qsize; in dns_sd_query_extract()