Lines Matching refs:offs
92 uint16_t offs = 0; in create_query() local
106 offs += sizeof(struct dns_header); in create_query()
109 create_query_buf[offs++] = label_size; in create_query()
110 memcpy(&create_query_buf[offs], inst->service, label_size); in create_query()
111 offs += label_size; in create_query()
114 create_query_buf[offs++] = label_size; in create_query()
115 memcpy(&create_query_buf[offs], inst->proto, label_size); in create_query()
116 offs += label_size; in create_query()
119 create_query_buf[offs++] = label_size; in create_query()
120 memcpy(&create_query_buf[offs], inst->domain, label_size); in create_query()
121 offs += label_size; in create_query()
123 create_query_buf[offs++] = '\0'; in create_query()
126 (struct dns_query *)&create_query_buf[offs]; in create_query()
129 offs += sizeof(struct dns_query); in create_query()
131 zassert_equal(expected_req_buf_size, offs, in create_query()
132 "sz: %zu offs: %u", expected_req_buf_size, offs); in create_query()
134 *size = offs; in create_query()