Home
last modified time | relevance | path

Searched refs:wpabuf_tailroom (Results 1 – 19 of 19) sorted by relevance

/external/wpa_supplicant_8/src/p2p/
Dp2p_build.c673 if (wpabuf_tailroom(buf) < 4 + len) in p2p_add_wps_string()
683 if (wpabuf_tailroom(buf) < 3) in p2p_add_wps_string()
703 if (wpabuf_tailroom(buf) < 6) in p2p_build_wps_ie()
713 if (wpabuf_tailroom(buf) < 5) in p2p_build_wps_ie()
721 if (wpabuf_tailroom(buf) < 6) in p2p_build_wps_ie()
732 if (wpabuf_tailroom(buf) < 5) in p2p_build_wps_ie()
749 if (wpabuf_tailroom(buf) < 4 + WPS_DEV_TYPE_LEN) in p2p_build_wps_ie()
759 if (wpabuf_tailroom(buf) < 6) in p2p_build_wps_ie()
770 if (wpabuf_tailroom(buf) < in p2p_build_wps_ie()
785 if (wpabuf_tailroom(buf) < in p2p_build_wps_ie()
Dp2p_group.c131 if (wpabuf_tailroom(ie) < wpabuf_len(m->client_info) + 1) in p2p_client_info()
/external/wpa_supplicant_8/wpa_supplicant/
Dp2p_supplicant_sd.c188 if (wpabuf_tailroom(resp) < 5) in wpas_sd_add_empty()
240 if (wpabuf_tailroom(resp) < in wpas_sd_all_bonjour()
315 if (wpabuf_tailroom(resp) < in wpas_sd_req_bonjour()
342 if (wpabuf_tailroom(resp) < 5) in wpas_sd_req_bonjour()
374 if (wpabuf_tailroom(resp) < 5 + 1 + os_strlen(usrv->service)) in wpas_sd_all_upnp()
420 if (wpabuf_tailroom(resp) < 5) in wpas_sd_req_upnp()
444 if (wpabuf_tailroom(resp) < 2) in wpas_sd_req_upnp()
458 if (wpabuf_tailroom(resp) < os_strlen(usrv->service)) in wpas_sd_req_upnp()
500 if (wpabuf_tailroom(resp) < 5) in wpas_sd_req_wfd()
518 wpabuf_tailroom(resp) >= in wpas_sd_req_wfd()
[all …]
Dmesh_rsn.c443 if (AES_BLOCK_SIZE + 2 + sizeof(*ampe) + 2 > wpabuf_tailroom(buf)) { in mesh_rsn_protect_frame()
/external/wpa_supplicant_8/src/wps/
Dwps_attr_build.c128 if (wpabuf_tailroom(msg) < 4 + WPS_UUID_LEN) in wps_build_uuid_e()
195 if (wpabuf_tailroom(msg) < 5) in wps_build_version()
215 if (wpabuf_tailroom(msg) < in wps_build_wfa_ext()
251 if (wpabuf_tailroom(msg) < 5) in wps_build_wfa_ext()
/external/wpa_supplicant_8/src/eap_peer/
Deap_tnc.c147 if (len > wpabuf_tailroom(data->in_buf)) { in eap_tnc_process_cont()
156 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_tnc_process_cont()
189 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_tnc_process_fragment()
Deap_ikev2.c273 if (len > wpabuf_tailroom(data->in_buf)) { in eap_ikev2_process_cont()
282 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_ikev2_process_cont()
322 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_ikev2_process_fragment()
Deap_wsc.c379 if (len > wpabuf_tailroom(data->in_buf)) { in eap_wsc_process_cont()
388 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_wsc_process_cont()
422 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_wsc_process_fragment()
Deap_eke.c472 prot_len = wpabuf_tailroom(resp); in eap_eke_process_commit()
588 prot_len = wpabuf_tailroom(resp); in eap_eke_process_confirm()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_tls_common.c237 if (len > wpabuf_tailroom(data->tls_in)) { in eap_server_tls_process_cont()
245 (unsigned long) wpabuf_tailroom(data->tls_in)); in eap_server_tls_process_cont()
290 (unsigned long) wpabuf_tailroom(data->tls_in)); in eap_server_tls_process_fragment()
Deap_server_wsc.c302 if (len > wpabuf_tailroom(data->in_buf)) { in eap_wsc_process_cont()
311 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_wsc_process_cont()
341 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_wsc_process_fragment()
Deap_server_tnc.c401 if (len > wpabuf_tailroom(data->in_buf)) { in eap_tnc_process_cont()
410 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_tnc_process_cont()
439 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_tnc_process_fragment()
Deap_server_ikev2.c284 if (len > wpabuf_tailroom(data->in_buf)) { in eap_ikev2_process_cont()
293 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_ikev2_process_cont()
328 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_ikev2_process_fragment()
Deap_server_eke.c331 prot_len = wpabuf_tailroom(msg); in eap_eke_build_confirm()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_introspect.c164 if (wpabuf_len(iface->xml) + 20 < wpabuf_tailroom(xml)) { in add_interfaces()
170 (unsigned int) wpabuf_tailroom(xml), in add_interfaces()
/external/wpa_supplicant_8/src/utils/
Dwpabuf.h67 static inline size_t wpabuf_tailroom(const struct wpabuf *buf) in wpabuf_tailroom() function
/external/wpa_supplicant_8/src/tls/
Dtlsv1_client.c341 olen = wpabuf_tailroom(buf); in tlsv1_client_decrypt()
/external/wpa_supplicant_8/src/radius/
Dradius.c634 if (wpabuf_tailroom(msg->buf) < buf_needed) { in radius_msg_add_attr()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c7684 if ((size_t) genlmsg_attrlen(gnlh, 0) > wpabuf_tailroom(buf)) { in cmd_reply_handler()
7715 if ((size_t) nla_len(nl_vendor_reply) > wpabuf_tailroom(buf)) { in vendor_reply_handler()