Home
last modified time | relevance | path

Searched refs:recv_len (Results 1 – 13 of 13) sorted by relevance

/external/toybox/toys/pending/
Darping.c131 static void recv_from(struct sockaddr_ll *from, int *recv_len) in recv_from() argument
145 || (*recv_len < (int)(sizeof(*arp_hdr) + 2 * (4 + arp_hdr->ar_hln)))) in recv_from()
205 int if_index, recv_len; in arping_main() local
283 recv_len = recvfrom(TT.sockfd, toybuf, 4096, 0, in arping_main()
285 if (recv_len < 0) continue; in arping_main()
286 recv_from(&from, &recv_len); in arping_main()
/external/rust/crates/quiche/examples/
Dclient.c159 ssize_t recv_len = quiche_conn_stream_recv(conn_io->conn, s, in recv_cb() local
162 if (recv_len < 0) { in recv_cb()
166 printf("%.*s", (int) recv_len, buf); in recv_cb()
Dserver.c348 ssize_t recv_len = quiche_conn_stream_recv(conn_io->conn, s, in recv_cb() local
351 if (recv_len < 0) { in recv_cb()
/external/ltp/testcases/network/netstress/
Dnetstress.c549 ssize_t recv_len; in server_fn() local
568 recv_len = sock_recv_poll(recv_msg + offset, in server_fn()
571 if (recv_len == 0) in server_fn()
574 if (recv_len < 0 || (offset + recv_len) > max_msg_len || in server_fn()
581 offset += recv_len; in server_fn()
/external/igt-gpu-tools/tests/
Dkms_chamelium.c1383 int32_t **recv, size_t *recv_len) in audio_state_receive() argument
1391 recv, recv_len); in audio_state_receive()
1394 state->msec = state->recv_pages * *recv_len in audio_state_receive()
1400 recv_size = *recv_len * sizeof(int32_t); in audio_state_receive()
1524 size_t recv_len, buf_len, buf_cap, channel_len; in test_audio_frequencies() local
1580 recv_len = 0; in test_audio_frequencies()
1585 audio_state_receive(state, &recv, &recv_len); in test_audio_frequencies()
1587 memcpy(&buf[buf_len], recv, recv_len * sizeof(int32_t)); in test_audio_frequencies()
1588 buf_len += recv_len; in test_audio_frequencies()
1698 size_t recv_len, i, channel_len; in test_audio_flatline() local
[all …]
/external/libese/third_party/NXPNFC_P61_JCOP_Kit/src/
DAla.cpp1455 INT32 recvBufferActualSize=0, recv_len = 0; in ALA_SendtoEse() local
1863 tJBL_STATUS Process_EseResponse(Ala_TranscieveInfo_t *pTranscv_Info, INT32 recv_len, Ala_ImageInfo_… in Process_EseResponse() argument
1876 if(recv_len <= 0xFF) in Process_EseResponse()
1884 pTranscv_Info->sSendData[xx++] = (UINT8)recv_len; in Process_EseResponse()
1885 memcpy(&(pTranscv_Info->sSendData[xx]),pTranscv_Info->sRecvData,recv_len); in Process_EseResponse()
1886 pTranscv_Info->sSendlength = xx+ recv_len; in Process_EseResponse()
1895 while(recv_len > MAX_SIZE) in Process_EseResponse()
1905 recv_len = recv_len - MAX_SIZE; in Process_EseResponse()
1924 pTranscv_Info->sSendData[xx++] = recv_len; in Process_EseResponse()
1925 memcpy(&(pTranscv_Info->sSendData[xx]),pTranscv_Info->sRecvData,recv_len); in Process_EseResponse()
[all …]
/external/linux-kselftest/tools/testing/selftests/net/
Dtls.c560 const unsigned int recv_len = 10; in TEST_F() local
561 char recv_mem[recv_len * 2]; in TEST_F()
567 EXPECT_EQ(recv(self->cfd, recv_mem, recv_len, 0), recv_len); in TEST_F()
568 EXPECT_EQ(recv(self->cfd, recv_mem + recv_len, recv_len, 0), 5); in TEST_F()
/external/wpa_supplicant_8/src/utils/
Dpcsc_funcs.c777 unsigned char *_recv, size_t *recv_len) in scard_transmit() argument
788 rlen = *recv_len; in scard_transmit()
794 *recv_len = rlen; in scard_transmit()
/external/libese/third_party/NXPNFC_P61_JCOP_Kit/inc/
DAla.h273 tJBL_STATUS Process_EseResponse(Ala_TranscieveInfo_t *pTranscv_Info, INT32 recv_len, Ala_ImageInfo_…
/external/wpa_supplicant_8/src/radius/
Dradius.h216 size_t recv_len; member
Dradius.c1144 &keys->recv_len); in radius_msg_get_ms_keys()
1178 &keys->recv_len); in radius_msg_get_cisco_keys()
/external/wpa_supplicant_8/wpa_supplicant/
Deapol_test.c863 keys->recv, keys->recv_len); in ieee802_1x_get_keys()
865 keys->recv_len > PMK_LEN ? PMK_LEN : in ieee802_1x_get_keys()
866 keys->recv_len; in ieee802_1x_get_keys()
/external/wpa_supplicant_8/src/ap/
Dieee802_1x.c1501 len = keys->send_len + keys->recv_len; in ieee802_1x_get_keys()
1505 keys->recv, keys->recv_len); in ieee802_1x_get_keys()
1511 keys->recv_len); in ieee802_1x_get_keys()
1512 os_memcpy(sm->eap_if->aaaEapKeyData + keys->recv_len, in ieee802_1x_get_keys()