/Zephyr-latest/tests/net/socket/socketpair/src/ |
D | block.c | 50 res = zsock_send(ctx.fd, "x", 1, 0); in work_handler() 80 res = zsock_send(fixture->sv[i], "x", 1, 0); in ZTEST_F() 91 res = zsock_send(fixture->sv[i], "x", 1, 0); in ZTEST_F()
|
D | nonblock.c | 17 res = zsock_send(fixture->sv[i], "x", 1, 0); in ZTEST_USER_F() 29 res = zsock_send(fixture->sv[i], "x", 1, 0); in ZTEST_USER_F()
|
D | poll.c | 36 res = zsock_send(fixture->sv[0], "x", 1, 0); in test_socketpair_poll_timeout_common() 137 res = zsock_send(fixture->sv[0], "x", 1, 0); in ZTEST_F() 157 res = zsock_send(fixture->sv[0], "x", 1, 0); in ZTEST_F() 182 res = zsock_send(fixture->sv[0], "x", 1, 0); in ZTEST_USER_F() 220 res = zsock_send(*ctx.fd, "x", 1, 0); in rw_fun() 266 res = zsock_send(fixture->sv[0], "x", 1, 0); in ZTEST_F() 311 res = zsock_send(fixture->sv[0], "x", 1, 0); in ZTEST_USER_F() 368 res = zsock_send(fixture->sv[0], "x", 1, 0); in ZTEST_USER_F()
|
D | closed_ends.c | 17 res = zsock_send(fixture->sv[(!i) & 1], "x", 1, 0); in ZTEST_USER_F() 42 res = zsock_send(fixture->sv[i], "xx", 2, 0); in ZTEST_USER_F()
|
D | fionread.c | 13 #define write(fd, buf, len) zsock_send(fd, buf, len, 0)
|
D | happy_path.c | 33 res = zsock_send(fixture->sv[i], expected_msg, expected_msg_len, 0); in happy_path()
|
/Zephyr-latest/tests/net/lib/http_server/core/src/ |
D | main.c | 717 ret = zsock_send(client_fd, request_get_2_streams, in ZTEST() 747 ret = zsock_send(client_fd, request_get_static_simple, in ZTEST() 775 ret = zsock_send(client_fd, http1_request, strlen(http1_request), 0); in ZTEST() 809 ret = zsock_send(client_fd, http1_request, strlen(http1_request), 0); in ZTEST() 826 ret = zsock_send(client_fd, request, request_len, 0); in common_verify_http2_dynamic_post_request() 874 ret = zsock_send(client_fd, method, strlen(method), 0); in common_verify_http1_dynamic_upgrade_post() 877 ret = zsock_send(client_fd, http1_request, strlen(http1_request), 0); in common_verify_http1_dynamic_upgrade_post() 920 ret = zsock_send(client_fd, method, strlen(method), 0); in common_verify_http1_dynamic_post() 923 ret = zsock_send(client_fd, http1_request, strlen(http1_request), 0); in common_verify_http1_dynamic_post() 952 ret = zsock_send(client_fd, request, request_len, 0); in common_verify_http2_dynamic_get_request() [all …]
|
/Zephyr-latest/tests/net/socket/tls/src/ |
D | main.c | 123 zassert_equal(zsock_send(sock, buf, len, flags), in test_send() 957 (void)zsock_send(new_sock, TEST_STR_SMALL, sizeof(TEST_STR_SMALL), 0); in fake_tcp_server_work() 1107 ret = zsock_send(c_sock, TEST_STR_SMALL, strlen(TEST_STR_SMALL), 0); in ZTEST() 1184 ret = zsock_send(c_sock, TEST_STR_SMALL, strlen(TEST_STR_SMALL), 0); in ZTEST() 1193 ret = zsock_send(c_sock, TEST_STR_SMALL, strlen(TEST_STR_SMALL), in ZTEST() 1200 ret = zsock_send(c_sock, TEST_STR_SMALL, strlen(TEST_STR_SMALL), 0); in ZTEST() 1212 ret = zsock_send(c_sock, TEST_STR_SMALL, strlen(TEST_STR_SMALL), 0); in ZTEST() 1277 ret = zsock_send(c_sock, TEST_STR_SMALL, strlen(TEST_STR_SMALL), 0); in ZTEST() 1290 ret = zsock_send(c_sock, TEST_STR_SMALL, strlen(TEST_STR_SMALL), 0); in ZTEST() 1322 ret = zsock_send(c_sock, TEST_STR_SMALL, strlen(TEST_STR_SMALL), 0); in ZTEST() [all …]
|
/Zephyr-latest/subsys/net/lib/tftp/ |
D | tftp_client.c | 76 ret = zsock_send(sock, client->tftp_buf, data_size + TFTP_HEADER_SIZE, 0); in send_data() 169 return zsock_send(sock, client->tftp_buf, req_size, 0); in send_err() 179 return zsock_send(sock, ackhdr, sizeof(struct tftphdr_ack), 0); in send_ack()
|
/Zephyr-latest/tests/net/lib/http_server/crime/src/ |
D | main.c | 101 ret = zsock_send(client_fd, http1_request, strlen(http1_request), 0); in test_crime()
|
/Zephyr-latest/tests/net/socket/poll/src/ |
D | main.c | 89 len = zsock_send(c_sock, BUF_AND_SIZE(TEST_STR_SMALL), 0); in ZTEST() 214 res = zsock_send(c_sock, buf, sizeof(buf), 0); in ZTEST()
|
/Zephyr-latest/subsys/net/lib/mqtt/ |
D | mqtt_transport_socket_tcp.c | 73 ret = zsock_send(client->transport.tcp.sock, data + offset, in mqtt_client_tcp_write()
|
D | mqtt_transport_socket_tls.c | 130 ret = zsock_send(client->transport.tls.sock, data + offset, in mqtt_client_tls_write()
|
/Zephyr-latest/subsys/net/lib/zperf/ |
D | zperf_udp_uploader.c | 94 ret = zsock_send(sock, sample_packet, packet_size, 0); in zperf_upload_fin() 230 ret = zsock_send(sock, sample_packet, packet_size, 0); in udp_upload()
|
D | zperf_tcp_uploader.c | 26 ssize_t out_len = zsock_send(sock, buf, len, 0); in sendall()
|
/Zephyr-latest/subsys/logging/backends/ |
D | log_backend_ws.c | 45 ret = zsock_send(sock, output, len, ZSOCK_MSG_DONTWAIT); in ws_send_all()
|
/Zephyr-latest/tests/net/lib/http_server/tls/src/ |
D | main.c | 190 ret = zsock_send(client_fd, http1_request, sizeof(http1_request) - 1, 0); in test_tls()
|
/Zephyr-latest/tests/net/socket/tcp/src/ |
D | main.c | 66 zassert_equal(zsock_send(sock, buf, len, flags), in test_send() 421 int send_bytes = zsock_send(c_sock, buffer, chunk_size, 0); in test_send_recv_large_common() 1390 rv = zsock_send(c_sock, tx_buf, sizeof(tx_buf), ZSOCK_MSG_DONTWAIT); in ZTEST() 1399 rv = zsock_send(c_sock, tx_buf, 1, ZSOCK_MSG_DONTWAIT); in ZTEST() 1482 rv = zsock_send(c_sock, tx_buf, sizeof(tx_buf), ZSOCK_MSG_DONTWAIT); in ZTEST() 1486 rv = zsock_send(c_sock, tx_buf, 1, ZSOCK_MSG_DONTWAIT); in ZTEST() 1671 rv = zsock_send(c_sock, tx_buf, sizeof(tx_buf), ZSOCK_MSG_DONTWAIT); in ZTEST() 1679 rv = zsock_send(c_sock, tx_buf, 1, 0); in ZTEST() 1732 rv = zsock_send(c_sock, tx_buf, sizeof(tx_buf), ZSOCK_MSG_DONTWAIT); in ZTEST() 1740 rv = zsock_send(c_sock, tx_buf, 1, 0); in ZTEST() [all …]
|
/Zephyr-latest/tests/net/socket/select/src/ |
D | main.c | 122 len = zsock_send(c_sock, BUF_AND_SIZE(TEST_STR_SMALL), 0); in ZTEST_USER()
|
/Zephyr-latest/subsys/net/lib/sntp/ |
D | sntp.c | 204 ret = zsock_send(ctx->sock.fd, (uint8_t *)&tx_pkt, sizeof(tx_pkt), 0); in sntp_query()
|
/Zephyr-latest/subsys/shell/backends/ |
D | shell_telnet.c | 77 ret = zsock_send(sh_telnet->fds[SOCK_ID_CLIENT].fd, msg, len, 0); in telnet_command_send_reply() 199 ret = zsock_send(sh_telnet->fds[SOCK_ID_CLIENT].fd, msg, len, in telnet_send()
|
D | shell_websocket.c | 69 ret = zsock_send(ws->fds[0].fd, msg, len, in ws_send()
|
/Zephyr-latest/lib/posix/options/ |
D | net.c | 360 return zsock_send(sock, buf, len, flags); in send()
|
/Zephyr-latest/include/zephyr/net/ |
D | socket.h | 458 static inline ssize_t zsock_send(int sock, const void *buf, size_t len, in zsock_send() function
|
/Zephyr-latest/tests/net/socket/misc/src/ |
D | main.c | 802 ret = zsock_send(new_sock, "foobar", len, 0); in test_ipv4_mapped_to_ipv6_server() 827 ret = zsock_send(new_sock, "foobar", len, 0); in test_ipv4_mapped_to_ipv6_server()
|