Home
last modified time | relevance | path

Searched refs:zsock_send (Results 1 – 25 of 34) sorted by relevance

12

/Zephyr-latest/tests/net/socket/socketpair/src/
Dblock.c50 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()
Dnonblock.c17 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()
Dpoll.c36 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()
Dclosed_ends.c17 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()
Dfionread.c13 #define write(fd, buf, len) zsock_send(fd, buf, len, 0)
Dhappy_path.c33 res = zsock_send(fixture->sv[i], expected_msg, expected_msg_len, 0); in happy_path()
/Zephyr-latest/tests/net/lib/http_server/core/src/
Dmain.c717 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/
Dmain.c123 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/
Dtftp_client.c76 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/
Dmain.c101 ret = zsock_send(client_fd, http1_request, strlen(http1_request), 0); in test_crime()
/Zephyr-latest/tests/net/socket/poll/src/
Dmain.c89 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/
Dmqtt_transport_socket_tcp.c73 ret = zsock_send(client->transport.tcp.sock, data + offset, in mqtt_client_tcp_write()
Dmqtt_transport_socket_tls.c130 ret = zsock_send(client->transport.tls.sock, data + offset, in mqtt_client_tls_write()
/Zephyr-latest/subsys/net/lib/zperf/
Dzperf_udp_uploader.c94 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()
Dzperf_tcp_uploader.c26 ssize_t out_len = zsock_send(sock, buf, len, 0); in sendall()
/Zephyr-latest/subsys/logging/backends/
Dlog_backend_ws.c45 ret = zsock_send(sock, output, len, ZSOCK_MSG_DONTWAIT); in ws_send_all()
/Zephyr-latest/tests/net/lib/http_server/tls/src/
Dmain.c190 ret = zsock_send(client_fd, http1_request, sizeof(http1_request) - 1, 0); in test_tls()
/Zephyr-latest/tests/net/socket/tcp/src/
Dmain.c66 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/
Dmain.c122 len = zsock_send(c_sock, BUF_AND_SIZE(TEST_STR_SMALL), 0); in ZTEST_USER()
/Zephyr-latest/subsys/net/lib/sntp/
Dsntp.c204 ret = zsock_send(ctx->sock.fd, (uint8_t *)&tx_pkt, sizeof(tx_pkt), 0); in sntp_query()
/Zephyr-latest/subsys/shell/backends/
Dshell_telnet.c77 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()
Dshell_websocket.c69 ret = zsock_send(ws->fds[0].fd, msg, len, in ws_send()
/Zephyr-latest/lib/posix/options/
Dnet.c360 return zsock_send(sock, buf, len, flags); in send()
/Zephyr-latest/include/zephyr/net/
Dsocket.h458 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/
Dmain.c802 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()

12