/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
D | eap_tnc.c | 93 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()
|
D | eap_ikev2.c | 139 size_t send_len, plen, icv_len = 0; in eap_ikev2_build_msg() local 146 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_ikev2_build_msg() 147 if (1 + send_len > data->fragment_size) { in eap_ikev2_build_msg() 148 send_len = data->fragment_size - 1; in eap_ikev2_build_msg() 152 send_len -= 4; in eap_ikev2_build_msg() 156 plen = 1 + send_len; in eap_ikev2_build_msg() 184 send_len); in eap_ikev2_build_msg() 185 data->out_used += send_len; in eap_ikev2_build_msg() 202 (unsigned long) send_len); in eap_ikev2_build_msg() 234 "(%lu more to send)", (unsigned long) send_len, in eap_ikev2_build_msg()
|
D | eap_wsc.c | 305 size_t send_len, plen; in eap_wsc_build_msg() local 312 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_wsc_build_msg() 313 if (2 + send_len > data->fragment_size) { in eap_wsc_build_msg() 314 send_len = data->fragment_size - 2; in eap_wsc_build_msg() 318 send_len -= 2; in eap_wsc_build_msg() 321 plen = 2 + send_len; in eap_wsc_build_msg() 335 send_len); in eap_wsc_build_msg() 336 data->out_used += send_len; in eap_wsc_build_msg() 344 (unsigned long) send_len); in eap_wsc_build_msg() 357 "(%lu more to send)", (unsigned long) send_len, in eap_wsc_build_msg()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
D | eap_tnc.c | 93 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()
|
D | eap_ikev2.c | 139 size_t send_len, plen, icv_len = 0; in eap_ikev2_build_msg() local 146 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_ikev2_build_msg() 147 if (1 + send_len > data->fragment_size) { in eap_ikev2_build_msg() 148 send_len = data->fragment_size - 1; in eap_ikev2_build_msg() 152 send_len -= 4; in eap_ikev2_build_msg() 156 plen = 1 + send_len; in eap_ikev2_build_msg() 184 send_len); in eap_ikev2_build_msg() 185 data->out_used += send_len; in eap_ikev2_build_msg() 202 (unsigned long) send_len); in eap_ikev2_build_msg() 234 "(%lu more to send)", (unsigned long) send_len, in eap_ikev2_build_msg()
|
D | eap_wsc.c | 305 size_t send_len, plen; in eap_wsc_build_msg() local 312 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_wsc_build_msg() 313 if (2 + send_len > data->fragment_size) { in eap_wsc_build_msg() 314 send_len = data->fragment_size - 2; in eap_wsc_build_msg() 318 send_len -= 2; in eap_wsc_build_msg() 321 plen = 2 + send_len; in eap_wsc_build_msg() 335 send_len); in eap_wsc_build_msg() 336 data->out_used += send_len; in eap_wsc_build_msg() 344 (unsigned long) send_len); in eap_wsc_build_msg() 357 "(%lu more to send)", (unsigned long) send_len, in eap_wsc_build_msg()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
D | eap_server_wsc.c | 192 size_t send_len, plen; in eap_wsc_build_msg() local 195 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_wsc_build_msg() 196 if (2 + send_len > data->fragment_size) { in eap_wsc_build_msg() 197 send_len = data->fragment_size - 2; in eap_wsc_build_msg() 201 send_len -= 2; in eap_wsc_build_msg() 204 plen = 2 + send_len; in eap_wsc_build_msg() 221 send_len); in eap_wsc_build_msg() 222 data->out_used += send_len; in eap_wsc_build_msg() 227 (unsigned long) send_len); in eap_wsc_build_msg() 234 "(%lu more to send)", (unsigned long) send_len, in eap_wsc_build_msg()
|
D | eap_server_tls_common.c | 200 size_t send_len, plen; in eap_server_tls_build_msg() local 209 send_len = wpabuf_len(data->tls_out) - data->tls_out_pos; in eap_server_tls_build_msg() 210 if (1 + send_len > data->tls_out_limit) { in eap_server_tls_build_msg() 211 send_len = data->tls_out_limit - 1; in eap_server_tls_build_msg() 215 send_len -= 4; in eap_server_tls_build_msg() 219 plen = 1 + send_len; in eap_server_tls_build_msg() 232 send_len); in eap_server_tls_build_msg() 233 data->tls_out_pos += send_len; in eap_server_tls_build_msg() 238 (unsigned long) send_len); in eap_server_tls_build_msg() 245 "(%lu more to send)", (unsigned long) send_len, in eap_server_tls_build_msg()
|
D | eap_server_tnc.c | 222 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()
|
D | eap_server_ikev2.c | 137 size_t send_len, plen, icv_len = 0; in eap_ikev2_build_msg() local 142 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_ikev2_build_msg() 143 if (1 + send_len > data->fragment_size) { in eap_ikev2_build_msg() 144 send_len = data->fragment_size - 1; in eap_ikev2_build_msg() 148 send_len -= 4; in eap_ikev2_build_msg() 152 plen = 1 + send_len; in eap_ikev2_build_msg() 180 send_len); in eap_ikev2_build_msg() 181 data->out_used += send_len; in eap_ikev2_build_msg() 195 (unsigned long) send_len); in eap_ikev2_build_msg() 201 "(%lu more to send)", (unsigned long) send_len, in eap_ikev2_build_msg()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
D | eap_server_tls_common.c | 199 size_t send_len, plen; in eap_server_tls_build_msg() local 208 send_len = wpabuf_len(data->tls_out) - data->tls_out_pos; in eap_server_tls_build_msg() 209 if (1 + send_len > data->tls_out_limit) { in eap_server_tls_build_msg() 210 send_len = data->tls_out_limit - 1; in eap_server_tls_build_msg() 214 send_len -= 4; in eap_server_tls_build_msg() 218 plen = 1 + send_len; in eap_server_tls_build_msg() 231 send_len); in eap_server_tls_build_msg() 232 data->tls_out_pos += send_len; in eap_server_tls_build_msg() 237 (unsigned long) send_len); in eap_server_tls_build_msg() 244 "(%lu more to send)", (unsigned long) send_len, in eap_server_tls_build_msg()
|
D | eap_server_wsc.c | 190 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()
|
D | eap_server_tnc.c | 222 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()
|
D | eap_server_ikev2.c | 137 size_t send_len, plen, icv_len = 0; in eap_ikev2_build_msg() local 142 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_ikev2_build_msg() 143 if (1 + send_len > data->fragment_size) { in eap_ikev2_build_msg() 144 send_len = data->fragment_size - 1; in eap_ikev2_build_msg() 148 send_len -= 4; in eap_ikev2_build_msg() 152 plen = 1 + send_len; in eap_ikev2_build_msg() 180 send_len); in eap_ikev2_build_msg() 181 data->out_used += send_len; in eap_ikev2_build_msg() 195 (unsigned long) send_len); in eap_ikev2_build_msg() 201 "(%lu more to send)", (unsigned long) send_len, in eap_ikev2_build_msg()
|
/third_party/lwip/test/sockets/ |
D | sockets_stresstest.c | 487 size_t send_len = (LWIP_RAND() % (sizeof(txbuf) - 4)) + 4; in sockets_stresstest_conn_client() local 488 fill_test_data(txbuf, send_len); in sockets_stresstest_conn_client() 489 LWIP_DEBUGF(TEST_SOCKETS_STRESS | LWIP_DBG_TRACE, ("cli %d tx %d\n", s, (int)send_len)); in sockets_stresstest_conn_client() 490 ret = lwip_write(s, txbuf, send_len); in sockets_stresstest_conn_client() 496 LWIP_ASSERT("ret == send_len", ret == (int)send_len); in sockets_stresstest_conn_client() 537 size_t send_len = (LWIP_RAND() % (sizeof(txbuf) - 4)) + 4; in sockets_stresstest_conn_server() local 538 fill_test_data(txbuf, send_len); in sockets_stresstest_conn_server() 539 LWIP_DEBUGF(TEST_SOCKETS_STRESS | LWIP_DBG_TRACE, ("srv %d tx %d\n", s, (int)send_len)); in sockets_stresstest_conn_server() 540 ret = lwip_write(s, txbuf, send_len); in sockets_stresstest_conn_server() 552 LWIP_ASSERT("ret == send_len", ret == (int)send_len); in sockets_stresstest_conn_server()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | ctrl_iface_named_pipe.c | 283 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_memdup(send_buf, send_len); in wpa_supplicant_ctrl_iface_rx() 330 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() 741 dst->rsp_buf = os_memdup(send_buf, send_len); in wpa_supplicant_global_iface_rx() [all …]
|
D | rrm.c | 450 int send_len = (len > MPDU_REPORT_LEN) ? next - pos : len; in wpas_rrm_send_msr_report() local 452 if (send_len == len) in wpas_rrm_send_msr_report() 455 if (send_len == len || in wpas_rrm_send_msr_report() 456 (send_len + next[1] + 2) > MPDU_REPORT_LEN) { in wpas_rrm_send_msr_report() 457 wpas_rrm_send_msr_report_mpdu(wpa_s, pos, send_len); in wpas_rrm_send_msr_report() 458 len -= send_len; in wpas_rrm_send_msr_report()
|
D | eapol_test.c | 861 keys->send, keys->send_len); in ieee802_1x_get_keys() 872 keys->send_len == 16) { in ieee802_1x_get_keys() 878 keys->send, keys->send_len); in ieee802_1x_get_keys() 879 e->authenticator_pmk_len += keys->send_len; in ieee802_1x_get_keys()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | ctrl_iface_named_pipe.c | 283 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_memdup(send_buf, send_len); in wpa_supplicant_ctrl_iface_rx() 330 if (!WriteFileEx(dst->pipe, dst->rsp_buf, send_len, &dst->overlap, in wpa_supplicant_ctrl_iface_rx() 721 size_t reply_len = 0, send_len; in wpa_supplicant_global_iface_rx() local 733 send_len = reply_len; in wpa_supplicant_global_iface_rx() 736 send_len = 5; in wpa_supplicant_global_iface_rx() 744 dst->rsp_buf = os_memdup(send_buf, send_len); in wpa_supplicant_global_iface_rx() [all …]
|
D | rrm.c | 457 int send_len = (len > MPDU_REPORT_LEN) ? next - pos : len; in wpas_rrm_send_msr_report() local 459 if (send_len == len) in wpas_rrm_send_msr_report() 462 if (send_len == len || in wpas_rrm_send_msr_report() 463 (send_len + next[1] + 2) > MPDU_REPORT_LEN) { in wpas_rrm_send_msr_report() 464 wpas_rrm_send_msr_report_mpdu(wpa_s, pos, send_len); in wpas_rrm_send_msr_report() 465 len -= send_len; in wpas_rrm_send_msr_report()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | http_client.c | 88 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | http_client.c | 88 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()
|
/third_party/lwip/src/include/lwip/distributed_net/ |
D | udp_transmit.h | 52 #define UDP_PAYLOAD_LEN(send_len) ((send_len) - (ssize_t)sizeof(udp_data)) argument
|
/third_party/lwip/src/apps/mqtt/ |
D | mqtt.c | 239 u16_t send_len = altcp_sndbuf(tpcb); in mqtt_output_send() local 242 if (send_len == 0 || ringbuf_lin_len == 0) { in mqtt_output_send() 247 send_len, ringbuf_lin_len, rb->get, rb->put)); in mqtt_output_send() 249 if (send_len > ringbuf_lin_len) { in mqtt_output_send() 251 send_len = ringbuf_lin_len; in mqtt_output_send() 255 …err = altcp_write(tpcb, mqtt_ringbuf_get_ptr(rb), send_len, TCP_WRITE_FLAG_COPY | (wrap ? TCP_WRIT… in mqtt_output_send() 257 mqtt_ringbuf_advance_get_idx(rb, send_len); in mqtt_output_send() 259 send_len = LWIP_MIN(altcp_sndbuf(tpcb), mqtt_ringbuf_linear_read_length(rb)); in mqtt_output_send() 260 err = altcp_write(tpcb, mqtt_ringbuf_get_ptr(rb), send_len, TCP_WRITE_FLAG_COPY); in mqtt_output_send() 264 mqtt_ringbuf_advance_get_idx(rb, send_len); in mqtt_output_send()
|
/third_party/lwip/src/apps/smtp/ |
D | smtp.c | 1226 u16_t send_len = (u16_t)(s->body_len - s->body_sent); in smtp_send_body() local 1227 if (send_len > 0) { in smtp_send_body() 1229 if (send_len > snd_buf) { in smtp_send_body() 1230 send_len = snd_buf; in smtp_send_body() 1232 if (send_len > 0) { in smtp_send_body() 1234 err = altcp_write(pcb, &s->body[s->body_sent], (u16_t)send_len, TCP_WRITE_FLAG_COPY); in smtp_send_body() 1237 s->body_sent = (u16_t)(s->body_sent + send_len); in smtp_send_body()
|