Home
last modified time | relevance | path

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

/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.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.c306 size_t send_len, plen; in eap_wsc_build_msg() local
313 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_wsc_build_msg()
314 if (2 + send_len > data->fragment_size) { in eap_wsc_build_msg()
315 send_len = data->fragment_size - 2; in eap_wsc_build_msg()
319 send_len -= 2; in eap_wsc_build_msg()
322 plen = 2 + send_len; in eap_wsc_build_msg()
336 send_len); in eap_wsc_build_msg()
337 data->out_used += send_len; in eap_wsc_build_msg()
345 (unsigned long) send_len); in eap_wsc_build_msg()
358 "(%lu more to send)", (unsigned long) send_len, in eap_wsc_build_msg()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_tls_common.c148 size_t send_len, plen; in eap_server_tls_build_msg() local
157 send_len = wpabuf_len(data->tls_out) - data->tls_out_pos; in eap_server_tls_build_msg()
158 if (1 + send_len > data->tls_out_limit) { in eap_server_tls_build_msg()
159 send_len = data->tls_out_limit - 1; in eap_server_tls_build_msg()
163 send_len -= 4; in eap_server_tls_build_msg()
167 plen = 1 + send_len; in eap_server_tls_build_msg()
180 send_len); in eap_server_tls_build_msg()
181 data->tls_out_pos += send_len; in eap_server_tls_build_msg()
186 (unsigned long) send_len); in eap_server_tls_build_msg()
193 "(%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/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.c803 keys->send, keys->send_len); in ieee802_1x_get_keys()
814 keys->send_len == 16) { in ieee802_1x_get_keys()
820 keys->send, keys->send_len); in ieee802_1x_get_keys()
821 e->authenticator_pmk_len += keys->send_len; in ieee802_1x_get_keys()
/external/pdfium/core/src/fxge/win32/
Dfx_win32_print.cpp266 int send_len = len > 1024 ? 1024 : len; in OutputPS() local
267 *(FX_WORD*)m_pBuf = send_len; in OutputPS()
268 FXSYS_memcpy(m_pBuf + 2, string + sent_len, send_len); in OutputPS()
269 int ret = ExtEscape(m_hDC, PASSTHROUGH, send_len + 2, m_pBuf, 0, NULL); in OutputPS()
270 sent_len += send_len; in OutputPS()
271 len -= send_len; in OutputPS()
/external/chromium_org/net/socket/
Dtcp_listen_socket_unittest.cc227 int send_len = HANDLE_EINTR(send(sock, str.data(), len, 0)); in Send() local
228 if (send_len == StreamListenSocket::kSocketError) { in Send()
231 } else if (send_len != len) { in Send()
/external/chromium_org/third_party/usrsctp/usrsctplib/
Duser_socket.c2769 int send_len; local
2848 send_len = SCTP_HEADER_LEN(m); /* length of entire packet */
2877 if ((res = sendmsg(SCTP_BASE_VAR(userspace_rawsctp), &msg_hdr, MSG_DONTWAIT)) != send_len) {
2882 if ((res = sendmsg(SCTP_BASE_VAR(userspace_udpsctp), &msg_hdr, MSG_DONTWAIT)) != send_len) {
2899 } else if (win_sent_len != send_len) {
2906 } else if (win_sent_len != send_len) {
2924 int send_len; local
3007 send_len = SCTP_HEADER_LEN(m); /* length of entire packet */
3035 if ((res = sendmsg(SCTP_BASE_VAR(userspace_rawsctp6), &msg_hdr, MSG_DONTWAIT)) != send_len) {
3040 if ((res = sendmsg(SCTP_BASE_VAR(userspace_udpsctp6), &msg_hdr, MSG_DONTWAIT)) != send_len) {
[all …]
/external/wpa_supplicant_8/src/ap/
Dieee802_11.c1142 int send_len; in send_deauth() local
1152 send_len = IEEE80211_HDRLEN + sizeof(reply.u.deauth); in send_deauth()
1155 if (hostapd_drv_send_mlme(hapd, &reply, send_len, 0) < 0) in send_deauth()
1165 int send_len; in send_assoc_resp() local
1180 send_len = IEEE80211_HDRLEN; in send_assoc_resp()
1181 send_len += sizeof(reply->u.assoc_resp); in send_assoc_resp()
1266 send_len += p - reply->u.assoc_resp.variable; in send_assoc_resp()
1268 if (hostapd_drv_send_mlme(hapd, reply, send_len, 0) < 0) in send_assoc_resp()
Dieee802_1x.c1201 size_t len = keys->send_len + keys->recv_len; in ieee802_1x_get_keys()
1203 keys->send, keys->send_len); in ieee802_1x_get_keys()
1213 keys->send, keys->send_len); in ieee802_1x_get_keys()
/external/wpa_supplicant_8/src/utils/
Dpcsc_funcs.c755 unsigned char *_send, size_t send_len, in scard_transmit() argument
762 _send, send_len); in scard_transmit()
767 _send, (unsigned long) send_len, in scard_transmit()
/external/wpa_supplicant_8/src/radius/
Dradius.h191 size_t send_len; member
Dradius.c1115 &keys->send_len); in radius_msg_get_ms_keys()