Home
last modified time | relevance | path

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

12

/hostap-latest/src/p2p/
Dp2p_build.c718 if (wpabuf_tailroom(buf) < 4 + len) in p2p_add_wps_string()
728 if (wpabuf_tailroom(buf) < 3) in p2p_add_wps_string()
748 if (wpabuf_tailroom(buf) < 6) in p2p_build_wps_ie()
758 if (wpabuf_tailroom(buf) < 5) in p2p_build_wps_ie()
766 if (wpabuf_tailroom(buf) < 6) in p2p_build_wps_ie()
777 if (wpabuf_tailroom(buf) < 5) in p2p_build_wps_ie()
794 if (wpabuf_tailroom(buf) < 4 + WPS_DEV_TYPE_LEN) in p2p_build_wps_ie()
804 if (wpabuf_tailroom(buf) < 6) in p2p_build_wps_ie()
815 if (wpabuf_tailroom(buf) < in p2p_build_wps_ie()
830 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()
/hostap-latest/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 …]
Dmbo.c160 if (size + 2 > wpabuf_tailroom(mbo)) in wpas_mbo_non_pref_chan_attr()
183 if (size + 2 > wpabuf_tailroom(mbo)) in wpas_mbo_non_pref_chan_subelement()
Dmesh_rsn.c569 if (2 + AES_BLOCK_SIZE + 2 + len > wpabuf_tailroom(buf)) { in mesh_rsn_protect_frame()
/hostap-latest/src/wps/
Dwps_attr_build.c129 if (wpabuf_tailroom(msg) < 4 + WPS_UUID_LEN) in wps_build_uuid_e()
198 if (wpabuf_tailroom(msg) < 5) in wps_build_version()
219 if (wpabuf_tailroom(msg) < in wps_build_wfa_ext()
263 if (wpabuf_tailroom(msg) < 5) in wps_build_wfa_ext()
/hostap-latest/src/eap_peer/
Deap_tnc.c152 if (len > wpabuf_tailroom(data->in_buf)) { in eap_tnc_process_cont()
161 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_tnc_process_cont()
194 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_tnc_process_fragment()
Deap_ikev2.c271 if (len > wpabuf_tailroom(data->in_buf)) { in eap_ikev2_process_cont()
280 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_ikev2_process_cont()
320 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_ikev2_process_fragment()
Deap_wsc.c388 if (len > wpabuf_tailroom(data->in_buf)) { in eap_wsc_process_cont()
397 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_wsc_process_cont()
431 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_wsc_process_fragment()
Deap_eke.c471 prot_len = wpabuf_tailroom(resp); in eap_eke_process_commit()
587 prot_len = wpabuf_tailroom(resp); in eap_eke_process_confirm()
/hostap-latest/src/eap_server/
Deap_server_wsc.c304 if (len > wpabuf_tailroom(data->in_buf)) { in eap_wsc_process_cont()
313 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_wsc_process_cont()
343 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_wsc_process_fragment()
Deap_server_tls_common.c277 if (len > wpabuf_tailroom(data->tls_in)) { in eap_server_tls_process_cont()
285 (unsigned long) wpabuf_tailroom(data->tls_in)); in eap_server_tls_process_cont()
330 (unsigned long) wpabuf_tailroom(data->tls_in)); in eap_server_tls_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.c283 if (len > wpabuf_tailroom(data->in_buf)) { in eap_ikev2_process_cont()
292 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_ikev2_process_cont()
327 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_ikev2_process_fragment()
Deap_server_eke.c332 prot_len = wpabuf_tailroom(msg); in eap_eke_build_confirm()
/hostap-latest/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()
/hostap-latest/src/utils/
Dwpabuf.h68 static inline size_t wpabuf_tailroom(const struct wpabuf *buf) in wpabuf_tailroom() function
/hostap-latest/tests/
Dtest-https.c53 len = recv(s, wpabuf_put(in, 0), wpabuf_tailroom(in), 0); in https_recv()
Dtest-https_server.c52 len = recv(s, wpabuf_put(in, 0), wpabuf_tailroom(in), 0); in https_recv()
/hostap-latest/src/ap/
Drrm.c240 if (len > wpabuf_tailroom(buf)) in hostapd_send_nei_report_resp()
580 if (wpabuf_tailroom(buf) < 2 + wpabuf_len(nr->nr)) { in hostapd_send_range_req()
/hostap-latest/src/common/
Dsae_pk.c660 if (wpabuf_tailroom(buf) < need) { in sae_write_confirm_pk()
663 wpabuf_tailroom(buf), need); in sae_write_confirm_pk()
Ddpp_tcp.c1797 (unsigned int) wpabuf_tailroom(conn->msg)); in dpp_controller_rx()
1799 res = recv(sd, wpabuf_put(conn->msg, 0), wpabuf_tailroom(conn->msg), 0); in dpp_controller_rx()
1813 if (wpabuf_tailroom(conn->msg) > 0) { in dpp_controller_rx()
1816 (unsigned int) wpabuf_tailroom(conn->msg)); in dpp_controller_rx()
Dwpa_common.c3897 if (wpabuf_tailroom(buf) < rsne_len) in wpa_pasn_add_rsne()
4087 if (wpabuf_tailroom(buf) < 3 + data_len) in wpa_pasn_add_wrapped_data()
4099 if (wpabuf_tailroom(buf) < 1 + data_len) in wpa_pasn_add_wrapped_data()
4286 if (wpabuf_tailroom(buf) < 2 + flen) in wpa_pasn_add_rsnxe()
4314 if (wpabuf_tailroom(buf) < sizeof(len)) in wpa_pasn_add_extra_ies()
/hostap-latest/src/tls/
Dtlsv1_client.c365 olen = wpabuf_tailroom(buf); in tlsv1_client_decrypt()
/hostap-latest/src/radius/
Dradius.c759 if (wpabuf_tailroom(msg->buf) < buf_needed) { in radius_msg_add_attr()

12