Lines Matching defs:pos

22 			const u8 *pos, u16 len)
31 attr->version = pos;
39 attr->msg_type = pos;
47 attr->enrollee_nonce = pos;
55 attr->registrar_nonce = pos;
63 attr->uuid_e = pos;
71 attr->uuid_r = pos;
79 attr->auth_type_flags = pos;
87 attr->encr_type_flags = pos;
95 attr->conn_type_flags = pos;
103 attr->config_methods = pos;
111 attr->sel_reg_config_methods = pos;
119 attr->primary_dev_type = pos;
127 attr->rf_bands = pos;
135 attr->assoc_state = pos;
143 attr->config_error = pos;
151 attr->dev_password_id = pos;
159 attr->os_version = pos;
167 attr->wps_state = pos;
175 attr->authenticator = pos;
183 attr->r_hash1 = pos;
191 attr->r_hash2 = pos;
199 attr->e_hash1 = pos;
207 attr->e_hash2 = pos;
215 attr->r_snonce1 = pos;
223 attr->r_snonce2 = pos;
231 attr->e_snonce1 = pos;
239 attr->e_snonce2 = pos;
247 attr->key_wrap_auth = pos;
255 attr->auth_type = pos;
263 attr->encr_type = pos;
271 attr->network_idx = pos;
279 attr->network_key_idx = pos;
287 attr->mac_addr = pos;
295 attr->key_prov_auto = pos;
303 attr->dot1x_enabled = pos;
311 attr->selected_registrar = pos;
319 attr->request_type = pos;
327 attr->request_type = pos;
330 attr->manufacturer = pos;
334 attr->model_name = pos;
338 attr->model_number = pos;
342 attr->serial_number = pos;
346 attr->dev_name = pos;
350 attr->public_key = pos;
354 attr->encr_settings = pos;
364 attr->cred[attr->num_cred] = pos;
369 attr->ssid = pos;
373 attr->network_key = pos;
377 attr->eap_type = pos;
381 attr->eap_identity = pos;
390 attr->ap_setup_locked = pos;
404 const u8 *pos, *end;
408 pos = wpabuf_head(msg);
409 end = pos + wpabuf_len(msg);
411 while (pos < end) {
412 if (end - pos < 4) {
415 (unsigned long) (end - pos));
419 type = WPA_GET_BE16(pos);
420 pos += 2;
421 len = WPA_GET_BE16(pos);
422 pos += 2;
425 if (len > end - pos) {
430 if (wps_set_attr(attr, type, pos, len) < 0)
433 pos += len;