Home
last modified time | relevance | path

Searched refs:zsock_recv (Results 1 – 25 of 36) sorted by relevance

12

/Zephyr-latest/tests/net/socket/tls/src/
Dmain.c190 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/
Dclosed_ends.c51 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()
Dblock.c48 res = zsock_recv(ctx.fd, &c, 1, 0); in work_handler()
120 res = zsock_recv(fixture->sv[i], &x, 1, 0); in ZTEST_F()
Dhappy_path.c42 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()
Dfionread.c10 #define read(fd, buf, len) zsock_recv(fd, buf, len, 0)
Dnonblock.c50 res = zsock_recv(fixture->sv[i], &c, 1, 0); in ZTEST_USER_F()
Dpoll.c119 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/
Dmain.c105 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/
Dmain.c196 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/
Dmain.c108 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/
Dmain.c107 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/
Dmain.c138 recv_data_len = zsock_recv(sock, receive_buffer, sizeof(receive_buffer), 0); in ZTEST()
/Zephyr-latest/subsys/net/lib/mqtt/
Dmqtt_transport_socket_tcp.c135 ret = zsock_recv(client->transport.tcp.sock, data, buflen, flags); in mqtt_client_tcp_read()
Dmqtt_transport_socket_tls.c191 ret = zsock_recv(client->transport.tls.sock, data, buflen, flags); in mqtt_client_tls_read()
/Zephyr-latest/subsys/net/lib/zperf/
Dzperf_udp_uploader.c112 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()
Dzperf_tcp_receiver.c192 ret = zsock_recv(pev->event.fd, buf, sizeof(buf), 0); in tcp_recv_data()
/Zephyr-latest/subsys/net/lib/tftp/
Dtftp_client.c96 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/
Dmain.c140 len = zsock_recv(s_sock, BUF_AND_SIZE(buf), 0); in ZTEST_USER()
/Zephyr-latest/tests/net/socket/misc/src/
Dmain.c246 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/
Dmain.c310 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/
Dsntp.c230 rcvd = zsock_recv(ctx->sock.fd, (uint8_t *)&buf, sizeof(buf), 0); in sntp_recv_response()
/Zephyr-latest/lib/posix/options/
Dnet.c344 return zsock_recv(sock, buf, max_len, flags); in recv()
/Zephyr-latest/include/zephyr/net/
Dsocket.h513 static inline ssize_t zsock_recv(int sock, void *buf, size_t max_len, in zsock_recv() function
/Zephyr-latest/subsys/shell/backends/
Dshell_websocket.c131 ret = zsock_recv(pollfd->fd, buf, buf_left, 0); in ws_recv()
/Zephyr-latest/tests/net/socket/reuseaddr_reuseport/src/
Dmain.c242 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()

12