Searched refs:len_pos (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | p2p_supplicant_sd.c | 186 u8 *len_pos; in wpas_sd_add_empty() local 192 len_pos = wpabuf_put(resp, 2); in wpas_sd_add_empty() 198 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - 2); in wpas_sd_add_empty() 229 u8 *len_pos; in wpas_sd_all_bonjour() local 244 len_pos = wpabuf_put(resp, 2); in wpas_sd_all_bonjour() 255 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - in wpas_sd_all_bonjour() 293 u8 *len_pos; in wpas_sd_req_bonjour() local 322 len_pos = wpabuf_put(resp, 2); in wpas_sd_req_bonjour() 336 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - 2); in wpas_sd_req_bonjour() 346 len_pos = wpabuf_put(resp, 2); in wpas_sd_req_bonjour() [all …]
|
H A D | mbo.c | 624 u8 *len_pos; in mbo_build_anqp_buf() local 639 len_pos = gas_anqp_add_element(anqp_buf, ANQP_VENDOR_SPECIFIC); in mbo_build_anqp_buf() 651 gas_anqp_set_element_len(anqp_buf, len_pos); in mbo_build_anqp_buf()
|
H A D | hs20_supplicant.c | 214 u8 *len_pos; in hs20_put_anqp_req() local 219 len_pos = gas_anqp_add_element(buf, ANQP_VENDOR_SPECIFIC); in hs20_put_anqp_req() 241 gas_anqp_set_element_len(buf, len_pos); in hs20_put_anqp_req()
|
H A D | interworking.c | 102 u8 *len_pos; in anqp_build_req() local 110 len_pos = gas_anqp_add_element(buf, ANQP_QUERY_LIST); in anqp_build_req() 113 gas_anqp_set_element_len(buf, len_pos); in anqp_build_req() 285 u8 *len_pos; in interworking_anqp_send_req() local 291 len_pos = gas_anqp_add_element(extra, ANQP_VENDOR_SPECIFIC); in interworking_anqp_send_req() 310 gas_anqp_set_element_len(extra, len_pos); in interworking_anqp_send_req()
|
H A D | scan.c | 672 u8 *len_pos; in wpa_supplicant_ml_probe_ie() local 684 len_pos = wpabuf_put(extra_ie, 1); in wpa_supplicant_ml_probe_ie() 718 *len_pos = (u8 *) wpabuf_put(extra_ie, 0) - len_pos - 1; in wpa_supplicant_ml_probe_ie()
|
/freebsd/contrib/wpa/src/common/ |
H A D | gas.c | 270 void gas_anqp_set_element_len(struct wpabuf *buf, u8 *len_pos) in gas_anqp_set_element_len() argument 272 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(buf, 0) - len_pos - 2); in gas_anqp_set_element_len()
|
H A D | gas.h | 38 void gas_anqp_set_element_len(struct wpabuf *buf, u8 *len_pos);
|
/freebsd/contrib/wpa/src/p2p/ |
H A D | p2p_sd.c | 174 u8 *len_pos; in p2p_build_sd_query() local 181 len_pos = gas_anqp_add_element(buf, ANQP_VENDOR_SPECIFIC); in p2p_build_sd_query() 185 gas_anqp_set_element_len(buf, len_pos); in p2p_build_sd_query() 217 u8 *len_pos; in p2p_build_sd_response() local 227 len_pos = gas_anqp_add_element(buf, ANQP_VENDOR_SPECIFIC); in p2p_build_sd_response() 232 gas_anqp_set_element_len(buf, len_pos); in p2p_build_sd_response()
|
H A D | p2p_group.c | 528 u8 *len_pos; in p2p_build_client_info() local 550 len_pos = wpabuf_put(buf, 1); in p2p_build_client_info() 565 *len_pos = wpabuf_len(buf) - 1; in p2p_build_client_info()
|