Home
last modified time | relevance | path

Searched refs:send_len (Results 1 – 25 of 28) sorted by relevance

12

/external/wpa_supplicant_8/src/eap_server/
Deap_server_tls_common.c111 size_t send_len, plen; in eap_server_tls_build_msg() local
120 send_len = wpabuf_len(data->tls_out) - data->tls_out_pos; in eap_server_tls_build_msg()
121 if (1 + send_len > data->tls_out_limit) { in eap_server_tls_build_msg()
122 send_len = data->tls_out_limit - 1; in eap_server_tls_build_msg()
126 send_len -= 4; in eap_server_tls_build_msg()
130 plen = 1 + send_len; in eap_server_tls_build_msg()
144 send_len); in eap_server_tls_build_msg()
145 data->tls_out_pos += send_len; in eap_server_tls_build_msg()
150 (unsigned long) send_len); in eap_server_tls_build_msg()
157 "(%lu more to send)", (unsigned long) send_len, in eap_server_tls_build_msg()
Deap_server_wsc.c190 size_t send_len, plen; in eap_wsc_build_msg() local
193 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_wsc_build_msg()
194 if (2 + send_len > data->fragment_size) { in eap_wsc_build_msg()
195 send_len = data->fragment_size - 2; in eap_wsc_build_msg()
199 send_len -= 2; in eap_wsc_build_msg()
202 plen = 2 + send_len; in eap_wsc_build_msg()
219 send_len); in eap_wsc_build_msg()
220 data->out_used += send_len; in eap_wsc_build_msg()
225 (unsigned long) send_len); in eap_wsc_build_msg()
232 "(%lu more to send)", (unsigned long) send_len, in eap_wsc_build_msg()
Deap_server_ikev2.c135 size_t send_len, plen, icv_len = 0; in eap_ikev2_build_msg() local
140 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_ikev2_build_msg()
141 if (1 + send_len > data->fragment_size) { in eap_ikev2_build_msg()
142 send_len = data->fragment_size - 1; in eap_ikev2_build_msg()
146 send_len -= 4; in eap_ikev2_build_msg()
150 plen = 1 + send_len; in eap_ikev2_build_msg()
178 send_len); in eap_ikev2_build_msg()
179 data->out_used += send_len; in eap_ikev2_build_msg()
193 (unsigned long) send_len); in eap_ikev2_build_msg()
199 "(%lu more to send)", (unsigned long) send_len, in eap_ikev2_build_msg()
Deap_server_tnc.c223 size_t send_len, plen; in eap_tnc_build_msg() local
228 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_tnc_build_msg()
229 if (1 + send_len > data->fragment_size) { in eap_tnc_build_msg()
230 send_len = data->fragment_size - 1; in eap_tnc_build_msg()
234 send_len -= 4; in eap_tnc_build_msg()
238 plen = 1 + send_len; in eap_tnc_build_msg()
251 send_len); in eap_tnc_build_msg()
252 data->out_used += send_len; in eap_tnc_build_msg()
257 (unsigned long) send_len); in eap_tnc_build_msg()
267 "(%lu more to send)", (unsigned long) send_len, in eap_tnc_build_msg()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
Deap_tls_common.c114 size_t send_len, plen; in eap_server_tls_build_msg() local
123 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_server_tls_build_msg()
124 if (1 + send_len > data->tls_out_limit) { in eap_server_tls_build_msg()
125 send_len = data->tls_out_limit - 1; in eap_server_tls_build_msg()
129 send_len -= 4; in eap_server_tls_build_msg()
133 plen = 1 + send_len; in eap_server_tls_build_msg()
147 send_len); in eap_server_tls_build_msg()
148 data->out_used += send_len; in eap_server_tls_build_msg()
153 (unsigned long) send_len); in eap_server_tls_build_msg()
160 "(%lu more to send)", (unsigned long) send_len, in eap_server_tls_build_msg()
Deap_wsc.c176 size_t send_len, plen; in eap_wsc_build_msg() local
179 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_wsc_build_msg()
180 if (2 + send_len > data->fragment_size) { in eap_wsc_build_msg()
181 send_len = data->fragment_size - 2; in eap_wsc_build_msg()
185 send_len -= 2; in eap_wsc_build_msg()
188 plen = 2 + send_len; in eap_wsc_build_msg()
205 send_len); in eap_wsc_build_msg()
206 data->out_used += send_len; in eap_wsc_build_msg()
211 (unsigned long) send_len); in eap_wsc_build_msg()
218 "(%lu more to send)", (unsigned long) send_len, in eap_wsc_build_msg()
Deap_ikev2.c140 size_t send_len, plen, icv_len = 0; in eap_ikev2_build_msg() local
145 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_ikev2_build_msg()
146 if (1 + send_len > data->fragment_size) { in eap_ikev2_build_msg()
147 send_len = data->fragment_size - 1; in eap_ikev2_build_msg()
151 send_len -= 4; in eap_ikev2_build_msg()
155 plen = 1 + send_len; in eap_ikev2_build_msg()
183 send_len); in eap_ikev2_build_msg()
184 data->out_used += send_len; in eap_ikev2_build_msg()
198 (unsigned long) send_len); in eap_ikev2_build_msg()
204 "(%lu more to send)", (unsigned long) send_len, in eap_ikev2_build_msg()
Deap_tnc.c191 size_t send_len, plen; in eap_tnc_build_msg() local
196 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_tnc_build_msg()
197 if (1 + send_len > data->fragment_size) { in eap_tnc_build_msg()
198 send_len = data->fragment_size - 1; in eap_tnc_build_msg()
202 send_len -= 4; in eap_tnc_build_msg()
206 plen = 1 + send_len; in eap_tnc_build_msg()
219 send_len); in eap_tnc_build_msg()
220 data->out_used += send_len; in eap_tnc_build_msg()
225 (unsigned long) send_len); in eap_tnc_build_msg()
231 "(%lu more to send)", (unsigned long) send_len, in eap_tnc_build_msg()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
Deap_tnc.c94 size_t send_len, plen; in eap_tnc_build_msg() local
101 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_tnc_build_msg()
102 if (1 + send_len > data->fragment_size) { in eap_tnc_build_msg()
103 send_len = data->fragment_size - 1; in eap_tnc_build_msg()
107 send_len -= 4; in eap_tnc_build_msg()
111 plen = 1 + send_len; in eap_tnc_build_msg()
124 send_len); in eap_tnc_build_msg()
125 data->out_used += send_len; in eap_tnc_build_msg()
133 (unsigned long) send_len); in eap_tnc_build_msg()
139 "(%lu more to send)", (unsigned long) send_len, in eap_tnc_build_msg()
Deap_wsc.c171 size_t send_len, plen; in eap_wsc_build_msg() local
178 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_wsc_build_msg()
179 if (2 + send_len > data->fragment_size) { in eap_wsc_build_msg()
180 send_len = data->fragment_size - 2; in eap_wsc_build_msg()
184 send_len -= 2; in eap_wsc_build_msg()
187 plen = 2 + send_len; in eap_wsc_build_msg()
201 send_len); in eap_wsc_build_msg()
202 data->out_used += send_len; in eap_wsc_build_msg()
210 (unsigned long) send_len); in eap_wsc_build_msg()
223 "(%lu more to send)", (unsigned long) send_len, in eap_wsc_build_msg()
Deap_ikev2.c142 size_t send_len, plen, icv_len = 0; in eap_ikev2_build_msg() local
149 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_ikev2_build_msg()
150 if (1 + send_len > data->fragment_size) { in eap_ikev2_build_msg()
151 send_len = data->fragment_size - 1; in eap_ikev2_build_msg()
155 send_len -= 4; in eap_ikev2_build_msg()
165 plen = 1 + send_len; in eap_ikev2_build_msg()
193 send_len); in eap_ikev2_build_msg()
194 data->out_used += send_len; in eap_ikev2_build_msg()
211 (unsigned long) send_len); in eap_ikev2_build_msg()
243 "(%lu more to send)", (unsigned long) send_len, in eap_ikev2_build_msg()
/external/wpa_supplicant_8/src/eap_peer/
Deap_tnc.c88 size_t send_len, plen; in eap_tnc_build_msg() local
95 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_tnc_build_msg()
96 if (1 + send_len > data->fragment_size) { in eap_tnc_build_msg()
97 send_len = data->fragment_size - 1; in eap_tnc_build_msg()
101 send_len -= 4; in eap_tnc_build_msg()
105 plen = 1 + send_len; in eap_tnc_build_msg()
118 send_len); in eap_tnc_build_msg()
119 data->out_used += send_len; in eap_tnc_build_msg()
127 (unsigned long) send_len); in eap_tnc_build_msg()
133 "(%lu more to send)", (unsigned long) send_len, in eap_tnc_build_msg()
Deap_ikev2.c136 size_t send_len, plen, icv_len = 0; in eap_ikev2_build_msg() local
143 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_ikev2_build_msg()
144 if (1 + send_len > data->fragment_size) { in eap_ikev2_build_msg()
145 send_len = data->fragment_size - 1; in eap_ikev2_build_msg()
149 send_len -= 4; in eap_ikev2_build_msg()
159 plen = 1 + send_len; in eap_ikev2_build_msg()
187 send_len); in eap_ikev2_build_msg()
188 data->out_used += send_len; in eap_ikev2_build_msg()
205 (unsigned long) send_len); in eap_ikev2_build_msg()
237 "(%lu more to send)", (unsigned long) send_len, in eap_ikev2_build_msg()
Deap_wsc.c258 size_t send_len, plen; in eap_wsc_build_msg() local
265 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_wsc_build_msg()
266 if (2 + send_len > data->fragment_size) { in eap_wsc_build_msg()
267 send_len = data->fragment_size - 2; in eap_wsc_build_msg()
271 send_len -= 2; in eap_wsc_build_msg()
274 plen = 2 + send_len; in eap_wsc_build_msg()
288 send_len); in eap_wsc_build_msg()
289 data->out_used += send_len; in eap_wsc_build_msg()
297 (unsigned long) send_len); in eap_wsc_build_msg()
310 "(%lu more to send)", (unsigned long) send_len, in eap_wsc_build_msg()
/external/wpa_supplicant_6/wpa_supplicant/
Dctrl_iface_named_pipe.c289 size_t reply_len = 0, send_len; in wpa_supplicant_ctrl_iface_rx() local
318 send_len = reply_len; in wpa_supplicant_ctrl_iface_rx()
321 send_len = 3; in wpa_supplicant_ctrl_iface_rx()
324 send_len = 5; in wpa_supplicant_ctrl_iface_rx()
328 dst->rsp_buf = os_malloc(send_len); in wpa_supplicant_ctrl_iface_rx()
334 os_memcpy(dst->rsp_buf, send_buf, send_len); in wpa_supplicant_ctrl_iface_rx()
337 if (!WriteFileEx(dst->pipe, dst->rsp_buf, send_len, &dst->overlap, in wpa_supplicant_ctrl_iface_rx()
724 size_t reply_len = 0, send_len; in wpa_supplicant_global_iface_rx() local
736 send_len = reply_len; in wpa_supplicant_global_iface_rx()
739 send_len = 5; in wpa_supplicant_global_iface_rx()
[all …]
Deapol_test.c636 keys->send, keys->send_len); in ieee802_1x_get_keys()
647 keys->send_len == 16) { in ieee802_1x_get_keys()
653 keys->send, keys->send_len); in ieee802_1x_get_keys()
654 e->authenticator_pmk_len += keys->send_len; in ieee802_1x_get_keys()
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface_named_pipe.c283 size_t reply_len = 0, send_len; in wpa_supplicant_ctrl_iface_rx() local
312 send_len = reply_len; in wpa_supplicant_ctrl_iface_rx()
315 send_len = 3; in wpa_supplicant_ctrl_iface_rx()
318 send_len = 5; in wpa_supplicant_ctrl_iface_rx()
322 dst->rsp_buf = os_malloc(send_len); in wpa_supplicant_ctrl_iface_rx()
328 os_memcpy(dst->rsp_buf, send_buf, send_len); in wpa_supplicant_ctrl_iface_rx()
331 if (!WriteFileEx(dst->pipe, dst->rsp_buf, send_len, &dst->overlap, in wpa_supplicant_ctrl_iface_rx()
718 size_t reply_len = 0, send_len; in wpa_supplicant_global_iface_rx() local
730 send_len = reply_len; in wpa_supplicant_global_iface_rx()
733 send_len = 5; in wpa_supplicant_global_iface_rx()
[all …]
Deapol_test.c679 keys->send, keys->send_len); in ieee802_1x_get_keys()
690 keys->send_len == 16) { in ieee802_1x_get_keys()
696 keys->send, keys->send_len); in ieee802_1x_get_keys()
697 e->authenticator_pmk_len += keys->send_len; in ieee802_1x_get_keys()
/external/chromium/net/base/
Dlisten_socket_unittest.cc179 int send_len = HANDLE_EINTR(send(sock, str.data(), len, 0)); in Send() local
180 if (send_len == SOCKET_ERROR) { in Send()
183 } else if (send_len != len) { in Send()
/external/chromium/chrome/browser/debugger/
Ddevtools_remote_listen_socket_unittest.cc278 int send_len = HANDLE_EINTR(send(sock, str.data(), len, 0)); local
279 if (send_len == SOCKET_ERROR) {
282 } else if (send_len != len) {
/external/wpa_supplicant_8/src/ap/
Dieee802_11.c808 int send_len; in send_deauth() local
818 send_len = IEEE80211_HDRLEN + sizeof(reply.u.deauth); in send_deauth()
821 if (hostapd_drv_send_mlme(hapd, &reply, send_len, 0) < 0) in send_deauth()
831 int send_len; in send_assoc_resp() local
846 send_len = IEEE80211_HDRLEN; in send_assoc_resp()
847 send_len += sizeof(reply->u.assoc_resp); in send_assoc_resp()
925 send_len += p - reply->u.assoc_resp.variable; in send_assoc_resp()
927 if (hostapd_drv_send_mlme(hapd, reply, send_len, 0) < 0) in send_assoc_resp()
/external/wpa_supplicant_6/wpa_supplicant/src/utils/
Dpcsc_funcs.c675 unsigned char *_send, size_t send_len, in scard_transmit() argument
682 _send, send_len); in scard_transmit()
687 _send, (unsigned long) send_len, in scard_transmit()
/external/wpa_supplicant_8/src/utils/
Dpcsc_funcs.c669 unsigned char *_send, size_t send_len, in scard_transmit() argument
676 _send, send_len); in scard_transmit()
681 _send, (unsigned long) send_len, in scard_transmit()
/external/wpa_supplicant_8/src/radius/
Dradius.h165 size_t send_len; member
/external/wpa_supplicant_6/wpa_supplicant/src/radius/
Dradius.h170 size_t send_len; member

12