/freebsd/contrib/wpa/src/p2p/ |
H A D | p2p_build.c | 718 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()
|
H A D | p2p_group.c | 131 if (wpabuf_tailroom(ie) < wpabuf_len(m->client_info) + 1) in p2p_client_info()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | p2p_supplicant_sd.c | 188 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 …]
|
H A D | mbo.c | 160 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()
|
H A D | mesh_rsn.c | 569 if (2 + AES_BLOCK_SIZE + 2 + len > wpabuf_tailroom(buf)) { in mesh_rsn_protect_frame()
|
/freebsd/contrib/wpa/src/wps/ |
H A D | wps_attr_build.c | 129 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()
|
/freebsd/contrib/wpa/src/eap_peer/ |
H A D | eap_tnc.c | 152 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()
|
H A D | eap_ikev2.c | 271 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()
|
H A D | eap_wsc.c | 388 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()
|
H A D | eap_eke.c | 471 prot_len = wpabuf_tailroom(resp); in eap_eke_process_commit() 587 prot_len = wpabuf_tailroom(resp); in eap_eke_process_confirm()
|
/freebsd/contrib/wpa/src/eap_server/ |
H A D | eap_server_wsc.c | 304 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()
|
H A D | eap_server_tnc.c | 401 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()
|
H A D | eap_server_tls_common.c | 277 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()
|
H A D | eap_server_ikev2.c | 283 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()
|
H A D | eap_server_eke.c | 332 prot_len = wpabuf_tailroom(msg); in eap_eke_build_confirm()
|
/freebsd/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_new_introspect.c | 164 if (wpabuf_len(iface->xml) + 20 < wpabuf_tailroom(xml)) { in add_interfaces() 170 (unsigned int) wpabuf_tailroom(xml), in add_interfaces()
|
/freebsd/contrib/wpa/src/utils/ |
H A D | wpabuf.h | 68 static inline size_t wpabuf_tailroom(const struct wpabuf *buf) in wpabuf_tailroom() function
|
/freebsd/contrib/wpa/src/common/ |
H A D | sae_pk.c | 660 if (wpabuf_tailroom(buf) < need) { in sae_write_confirm_pk() 663 wpabuf_tailroom(buf), need); in sae_write_confirm_pk()
|
H A D | dpp_tcp.c | 1797 (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()
|
H A D | wpa_common.c | 3838 if (wpabuf_tailroom(buf) < rsne_len) in wpa_pasn_add_rsne() 4028 if (wpabuf_tailroom(buf) < 3 + data_len) in wpa_pasn_add_wrapped_data() 4040 if (wpabuf_tailroom(buf) < 1 + data_len) in wpa_pasn_add_wrapped_data() 4227 if (wpabuf_tailroom(buf) < 2 + flen) in wpa_pasn_add_rsnxe() 4255 if (wpabuf_tailroom(buf) < sizeof(len)) in wpa_pasn_add_extra_ies()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | rrm.c | 240 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()
|
H A D | gas_serv.c | 218 if (wpabuf_tailroom(buf) < 2 + 2 + wpabuf_len(elem->payload)) { in anqp_add_elem()
|
/freebsd/contrib/wpa/src/tls/ |
H A D | tlsv1_client.c | 365 olen = wpabuf_tailroom(buf); in tlsv1_client_decrypt()
|
/freebsd/contrib/wpa/src/radius/ |
H A D | radius.c | 759 if (wpabuf_tailroom(msg->buf) < buf_needed) { in radius_msg_add_attr()
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | crypto_wolfssl.c | 3194 wpabuf_tailroom(ret), in crypto_pkcs7_get_certificates()
|