/Zephyr-latest/tests/net/socket/tls/src/ |
D | main.c | 190 recved = zsock_recv(sock, rx_buf, sizeof(rx_buf), 0); in test_eof() 194 recved = zsock_recv(sock, rx_buf, sizeof(rx_buf), ZSOCK_MSG_DONTWAIT); in test_eof() 199 recved = zsock_recv(sock, rx_buf, sizeof(rx_buf), ZSOCK_MSG_DONTWAIT); in test_eof() 404 ret = zsock_recv(s_sock, &rx_buf, sizeof(rx_buf), 0); in test_prepare_dtls_connection() 434 ret = zsock_recv(new_sock, rx_buf, sizeof(rx_buf), ZSOCK_MSG_WAITALL); in ZTEST() 455 ret = zsock_recv(new_sock, rx_buf, sizeof(rx_buf) - 1, ZSOCK_MSG_WAITALL); in ZTEST() 490 ret = zsock_recv(new_sock, rx_buf, sizeof(rx_buf), ZSOCK_MSG_WAITALL); in ZTEST() 511 ret = zsock_recv(new_sock, rx_buf, sizeof(rx_buf) - 1, ZSOCK_MSG_WAITALL); in ZTEST() 556 rv = zsock_recv(s_sock, rx_buf, 2, ZSOCK_MSG_TRUNC); in test_msg_trunc() 562 rv = zsock_recv(s_sock, rx_buf, sizeof(rx_buf), ZSOCK_MSG_DONTWAIT); in test_msg_trunc() [all …]
|
/Zephyr-latest/tests/net/socket/socketpair/src/ |
D | closed_ends.c | 51 res = zsock_recv(fixture->sv[(!i) & 1], xx, sizeof(xx), 0); in ZTEST_USER_F() 56 res = zsock_recv(fixture->sv[(!i) & 1], xx, sizeof(xx), 0); in ZTEST_USER_F()
|
D | block.c | 48 res = zsock_recv(ctx.fd, &c, 1, 0); in work_handler() 120 res = zsock_recv(fixture->sv[i], &x, 1, 0); in ZTEST_F()
|
D | happy_path.c | 42 res = zsock_recv(fixture->sv[(!i) & 1], actual_msg, sizeof(actual_msg), 0); in happy_path() 95 res = zsock_recv(fixture->sv[(!i) & 1], actual_msg, sizeof(actual_msg), 0); in happy_path()
|
D | fionread.c | 10 #define read(fd, buf, len) zsock_recv(fd, buf, len, 0)
|
D | nonblock.c | 50 res = zsock_recv(fixture->sv[i], &c, 1, 0); in ZTEST_USER_F()
|
D | poll.c | 119 res = zsock_recv(fixture->sv[0], &c, 1, 0); in ZTEST_F() 228 res = zsock_recv(*ctx.fd, &c, 1, 0); in rw_fun() 327 res = zsock_recv(fixture->sv[1], &c, 1, 0); in ZTEST_USER_F() 380 res = zsock_recv(fixture->sv[1], &c, 1, 0); in ZTEST_USER_F()
|
/Zephyr-latest/tests/net/lib/http_server/crime/src/ |
D | main.c | 105 recv_len = zsock_recv(client_fd, buf, sizeof(buf), 0); in test_crime() 111 ret = zsock_recv(client_fd, buf + recv_len, sizeof(buf) - recv_len, 0); in test_crime()
|
/Zephyr-latest/tests/net/lib/http_server/tls/src/ |
D | main.c | 196 recv_len = zsock_recv(client_fd, buf, sizeof(buf), 0); in test_tls() 202 ret = zsock_recv(client_fd, buf + recv_len, sizeof(buf) - recv_len, 0); in test_tls()
|
/Zephyr-latest/tests/net/socket/tcp/src/ |
D | main.c | 108 recved = zsock_recv(sock, rx_buf, sizeof(rx_buf), flags); in test_recv() 172 recved = zsock_recv(sock, rx_buf, sizeof(rx_buf), 0); in test_eof() 176 recved = zsock_recv(sock, rx_buf, sizeof(rx_buf), 0); in test_eof() 181 recved = zsock_recv(sock, rx_buf, sizeof(rx_buf), 0); in test_eof() 336 recved = zsock_recv(new_sock, buffer, chunk_size, 0); in tcp_server_block_thread() 547 recved = zsock_recv(new_sock, rx_buf, sizeof(rx_buf), 0); in ZTEST() 556 recved = zsock_recv(c_sock, rx_buf, sizeof(rx_buf), 0); in ZTEST() 831 res = zsock_recv(c_sock, rx_buf, sizeof(rx_buf), 0); in _test_recv_enotconn() 837 res = zsock_recv(s_sock, rx_buf, sizeof(rx_buf), 0); in _test_recv_enotconn() 1540 recved = zsock_recv(c_sock, rx_buf, sizeof(rx_buf), 0); in ZTEST() [all …]
|
/Zephyr-latest/tests/net/socket/poll/src/ |
D | main.c | 107 len = zsock_recv(s_sock, BUF_AND_SIZE(buf), 0); in ZTEST() 228 res = zsock_recv(new_sock, buf, sizeof(buf), 0); in ZTEST()
|
/Zephyr-latest/tests/net/socket/af_packet_ipproto_raw/src/ |
D | main.c | 138 recv_data_len = zsock_recv(sock, receive_buffer, sizeof(receive_buffer), 0); in ZTEST()
|
/Zephyr-latest/subsys/net/lib/mqtt/ |
D | mqtt_transport_socket_tcp.c | 135 ret = zsock_recv(client->transport.tcp.sock, data, buflen, flags); in mqtt_client_tcp_read()
|
D | mqtt_transport_socket_tls.c | 191 ret = zsock_recv(client->transport.tls.sock, data, buflen, flags); in mqtt_client_tls_read()
|
/Zephyr-latest/subsys/net/lib/zperf/ |
D | zperf_udp_uploader.c | 112 ret = zsock_recv(sock, stats, sizeof(stats), 0); in zperf_upload_fin() 130 ret = zsock_recv(sock, stats, sizeof(stats), ZSOCK_MSG_DONTWAIT); in zperf_upload_fin()
|
D | zperf_tcp_receiver.c | 192 ret = zsock_recv(pev->event.fd, buf, sizeof(buf), 0); in tcp_recv_data()
|
/Zephyr-latest/subsys/net/lib/tftp/ |
D | tftp_client.c | 96 ret = zsock_recv(sock, client->tftp_buf, TFTPC_MAX_BUF_SIZE, 0); in send_data() 359 ret = zsock_recv(sock, client->tftp_buf, TFTPC_MAX_BUF_SIZE, 0); in tftp_get()
|
/Zephyr-latest/tests/net/socket/select/src/ |
D | main.c | 140 len = zsock_recv(s_sock, BUF_AND_SIZE(buf), 0); in ZTEST_USER()
|
/Zephyr-latest/tests/net/socket/misc/src/ |
D | main.c | 246 ret = zsock_recv(sock_s, recv_buf, sizeof(recv_buf), ZSOCK_MSG_DONTWAIT); in test_so_bindtodevice() 283 ret = zsock_recv(sock_s, recv_buf, sizeof(recv_buf), ZSOCK_MSG_DONTWAIT); in test_so_bindtodevice() 806 ret = zsock_recv(sock_c4, buf, sizeof(buf), 0); in test_ipv4_mapped_to_ipv6_server() 831 ret = zsock_recv(sock_c6, buf, sizeof(buf), 0); in test_ipv4_mapped_to_ipv6_server()
|
/Zephyr-latest/tests/net/socket/udp/src/ |
D | main.c | 310 len = zsock_recv(sock1, buf, sizeof(buf), ZSOCK_MSG_PEEK); in ZTEST() 315 len = zsock_recv(sock1, buf, sizeof(buf), 0); in ZTEST() 1141 rv = zsock_recv(sock_s, str_buf, 2, ZSOCK_MSG_TRUNC); in test_msg_trunc() 1147 rv = zsock_recv(sock_s, str_buf, sizeof(str_buf), ZSOCK_MSG_DONTWAIT); in test_msg_trunc() 1157 rv = zsock_recv(sock_s, str_buf, 2, ZSOCK_MSG_TRUNC | ZSOCK_MSG_PEEK); in test_msg_trunc() 1161 rv = zsock_recv(sock_s, str_buf, sizeof(str_buf), ZSOCK_MSG_TRUNC); in test_msg_trunc() 1249 rv = zsock_recv(sock_s, rx_buf, sizeof(rx_buf), 0); in test_dgram_fragmented() 1343 rv = zsock_recv(sock_c, &rx_buf, sizeof(rx_buf), ZSOCK_MSG_DONTWAIT); in test_dgram_connected() 1354 rv = zsock_recv(sock_c, &rx_buf, sizeof(rx_buf), ZSOCK_MSG_DONTWAIT); in test_dgram_connected() 1997 ret = zsock_recv(sock_s, &rx_buf, sizeof(rx_buf), ZSOCK_MSG_DONTWAIT); in test_check_ttl() [all …]
|
/Zephyr-latest/subsys/net/lib/sntp/ |
D | sntp.c | 230 rcvd = zsock_recv(ctx->sock.fd, (uint8_t *)&buf, sizeof(buf), 0); in sntp_recv_response()
|
/Zephyr-latest/lib/posix/options/ |
D | net.c | 344 return zsock_recv(sock, buf, max_len, flags); in recv()
|
/Zephyr-latest/include/zephyr/net/ |
D | socket.h | 513 static inline ssize_t zsock_recv(int sock, void *buf, size_t max_len, in zsock_recv() function
|
/Zephyr-latest/subsys/shell/backends/ |
D | shell_websocket.c | 131 ret = zsock_recv(pollfd->fd, buf, buf_left, 0); in ws_recv()
|
/Zephyr-latest/tests/net/socket/reuseaddr_reuseport/src/ |
D | main.c | 242 ret = zsock_recv(sock, buf, max_len, flags); in test_recv_success() 250 ret = zsock_recv(sock, buf, max_len, flags); in test_recv_fail()
|