Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/eap_server/
Deap_server_tls_common.c174 size_t send_len, plen; in eap_server_tls_build_msg() local
183 send_len = wpabuf_len(data->tls_out) - data->tls_out_pos; in eap_server_tls_build_msg()
184 if (1 + send_len > data->tls_out_limit) { in eap_server_tls_build_msg()
185 send_len = data->tls_out_limit - 1; in eap_server_tls_build_msg()
189 send_len -= 4; in eap_server_tls_build_msg()
193 plen = 1 + send_len; in eap_server_tls_build_msg()
206 send_len); in eap_server_tls_build_msg()
207 data->tls_out_pos += send_len; in eap_server_tls_build_msg()
212 (unsigned long) send_len); in eap_server_tls_build_msg()
219 "(%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_tnc.c222 size_t send_len, plen; in eap_tnc_build_msg() local
227 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_tnc_build_msg()
228 if (1 + send_len > data->fragment_size) { in eap_tnc_build_msg()
229 send_len = data->fragment_size - 1; in eap_tnc_build_msg()
233 send_len -= 4; in eap_tnc_build_msg()
237 plen = 1 + send_len; in eap_tnc_build_msg()
250 send_len); in eap_tnc_build_msg()
251 data->out_used += send_len; in eap_tnc_build_msg()
256 (unsigned long) send_len); in eap_tnc_build_msg()
266 "(%lu more to send)", (unsigned long) send_len, in eap_tnc_build_msg()
Deap_server_ikev2.c138 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()
153 plen = 1 + send_len; in eap_ikev2_build_msg()
181 send_len); in eap_ikev2_build_msg()
182 data->out_used += send_len; in eap_ikev2_build_msg()
196 (unsigned long) send_len); in eap_ikev2_build_msg()
202 "(%lu more to send)", (unsigned long) send_len, in eap_ikev2_build_msg()
/external/wpa_supplicant_8/src/eap_peer/
Deap_tnc.c93 size_t send_len, plen; in eap_tnc_build_msg() local
100 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_tnc_build_msg()
101 if (1 + send_len > data->fragment_size) { in eap_tnc_build_msg()
102 send_len = data->fragment_size - 1; in eap_tnc_build_msg()
106 send_len -= 4; in eap_tnc_build_msg()
110 plen = 1 + send_len; in eap_tnc_build_msg()
123 send_len); in eap_tnc_build_msg()
124 data->out_used += send_len; in eap_tnc_build_msg()
132 (unsigned long) send_len); in eap_tnc_build_msg()
138 "(%lu more to send)", (unsigned long) send_len, in eap_tnc_build_msg()
Deap_ikev2.c141 size_t send_len, plen, icv_len = 0; in eap_ikev2_build_msg() local
148 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_ikev2_build_msg()
149 if (1 + send_len > data->fragment_size) { in eap_ikev2_build_msg()
150 send_len = data->fragment_size - 1; in eap_ikev2_build_msg()
154 send_len -= 4; in eap_ikev2_build_msg()
158 plen = 1 + send_len; in eap_ikev2_build_msg()
186 send_len); in eap_ikev2_build_msg()
187 data->out_used += send_len; in eap_ikev2_build_msg()
204 (unsigned long) send_len); in eap_ikev2_build_msg()
236 "(%lu more to send)", (unsigned long) send_len, in eap_ikev2_build_msg()
Deap_wsc.c302 size_t send_len, plen; in eap_wsc_build_msg() local
309 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_wsc_build_msg()
310 if (2 + send_len > data->fragment_size) { in eap_wsc_build_msg()
311 send_len = data->fragment_size - 2; in eap_wsc_build_msg()
315 send_len -= 2; in eap_wsc_build_msg()
318 plen = 2 + send_len; in eap_wsc_build_msg()
332 send_len); in eap_wsc_build_msg()
333 data->out_used += send_len; in eap_wsc_build_msg()
341 (unsigned long) send_len); in eap_wsc_build_msg()
354 "(%lu more to send)", (unsigned long) send_len, in eap_wsc_build_msg()
/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()
719 size_t reply_len = 0, send_len; in wpa_supplicant_global_iface_rx() local
731 send_len = reply_len; in wpa_supplicant_global_iface_rx()
734 send_len = 5; in wpa_supplicant_global_iface_rx()
[all …]
Deapol_test.c864 keys->send, keys->send_len); in ieee802_1x_get_keys()
875 keys->send_len == 16) { in ieee802_1x_get_keys()
881 keys->send, keys->send_len); in ieee802_1x_get_keys()
882 e->authenticator_pmk_len += keys->send_len; in ieee802_1x_get_keys()
/external/wpa_supplicant_8/src/wps/
Dhttp_client.c88 size_t send_len; in http_client_tx_ready() local
90 send_len = wpabuf_len(c->req) - c->req_pos; in http_client_tx_ready()
95 (unsigned long) send_len); in http_client_tx_ready()
97 res = send(c->sd, wpabuf_head_u8(c->req) + c->req_pos, send_len, 0); in http_client_tx_ready()
106 if ((size_t) res < send_len) { in http_client_tx_ready()
110 (unsigned long) send_len - res); in http_client_tx_ready()
/external/pdfium/core/src/fxge/win32/
Dfx_win32_print.cpp297 int send_len = len > 1024 ? 1024 : len; in OutputPS() local
298 *(FX_WORD*)m_pBuf = send_len; in OutputPS()
299 FXSYS_memcpy(m_pBuf + 2, string + sent_len, send_len); in OutputPS()
300 ExtEscape(m_hDC, PASSTHROUGH, send_len + 2, m_pBuf, 0, NULL); in OutputPS()
301 sent_len += send_len; in OutputPS()
302 len -= send_len; in OutputPS()
/external/dhcpcd-6.8.2/
Ddhcp6.h186 size_t send_len; member
Ddhcp6.c742 state->send_len = len; in dhcp6_makemessage()
1004 (uint8_t *)state->send, state->send_len, in dhcp6_update_auth()
1132 dhcp6_updateelapsed(ifp, state->send, state->send_len); in dhcp6_sendmessage()
1134 dhcp6_update_auth(ifp, state->send, state->send_len) == -1) in dhcp6_sendmessage()
1146 ctx->sndhdr.msg_iov[0].iov_len = state->send_len; in dhcp6_sendmessage()
/external/wpa_supplicant_8/src/utils/
Dpcsc_funcs.c763 unsigned char *_send, size_t send_len, in scard_transmit() argument
770 _send, send_len); in scard_transmit()
775 _send, (unsigned long) send_len, in scard_transmit()
/external/wpa_supplicant_8/src/ap/
Dieee802_11.c1753 int send_len; in send_deauth() local
1763 send_len = IEEE80211_HDRLEN + sizeof(reply.u.deauth); in send_deauth()
1766 if (hostapd_drv_send_mlme(hapd, &reply, send_len, 0) < 0) in send_deauth()
1832 int send_len; in send_assoc_resp() local
1847 send_len = IEEE80211_HDRLEN; in send_assoc_resp()
1848 send_len += sizeof(reply->u.assoc_resp); in send_assoc_resp()
1950 send_len += p - reply->u.assoc_resp.variable; in send_assoc_resp()
1952 if (hostapd_drv_send_mlme(hapd, reply, send_len, 0) < 0) { in send_assoc_resp()
Dieee802_1x.c1329 size_t len = keys->send_len + keys->recv_len; in ieee802_1x_get_keys()
1331 keys->send, keys->send_len); in ieee802_1x_get_keys()
1341 keys->send, keys->send_len); in ieee802_1x_get_keys()
/external/wpa_supplicant_8/src/radius/
Dradius.h204 size_t send_len; member
Dradius.c1117 &keys->send_len); in radius_msg_get_ms_keys()