Home
last modified time | relevance | path

Searched refs:send (Results 1 – 25 of 84) sorted by relevance

1234

/tools/testing/selftests/net/netfilter/
Dxt_string.sh51 send() { # (offset) function
67 send 0
68 send $((1000 - patlen))
76 send 1000
77 send $((1400 - patlen))
85 send $((1500 - patlen))
93 send 1495
101 send 1500
109 send $((1600 - patlen))
117 send $((1600 - patlen + 1))
[all …]
/tools/testing/selftests/net/packetdrill/
Dtcp_zerocopy_closed.pkt2 // send with MSG_ZEROCOPY on a non-established socket
4 // verify that a send in state TCP_CLOSE correctly aborts the zerocopy
7 // First send on a closed socket and wait for (absent) notification.
8 // Then connect and send and verify that notification nr. is zero.
15 +0 send(4, ..., 4000, MSG_ZEROCOPY) = -1 EPIPE (Broken pipe)
28 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
Dtcp_zerocopy_small.pkt21 // send 1B
22 +0 send(4, ..., 1, MSG_ZEROCOPY) = 1
40 // send 1B again
41 +0 send(4, ..., 1, MSG_ZEROCOPY) = 1
Dtcp_zerocopy_epoll_edge.pkt8 // is correctly fired only once, when EPOLLET is set. send another packet with
29 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
33 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
41 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
45 // receive only one EPOLLERR for the third send above.
Dtcp_zerocopy_epoll_exclusive.pkt9 // is correctly fired only once, when EPOLLET is set. send another packet with
31 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
35 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
43 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
47 // receive only one EPOLLERR for the third send above.
Dtcp_zerocopy_epoll_oneshot.pkt8 // is correctly fired only once, when EPOLLONESHOT is set. send another packet
30 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
34 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
42 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
46 // receive no EPOLLERR for the third send above.
Dtcp_zerocopy_batch.pkt4 // send multiple packets, then read one range of all notifications.
21 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
25 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
Dtcp_zerocopy_basic.pkt4 // send a packet with MSG_ZEROCOPY and receive the notification ID
21 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
39 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
Dtcp_zerocopy_maxfrags.pkt30 // send an iov of 18 elements: just becomes a linear skb
42 // send a zerocopy iov of 18 elements:
73 // send a zerocopy iov of 64 elements:
Dtcp_zerocopy_client.pkt14 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
Dtcp_zerocopy_fastopen-client.pkt4 // send data with MSG_FASTOPEN | MSG_ZEROCOPY and verify that the
8 // one will have no data in the initial send. On return 0 the
Dtcp_slow_start_slow-start-app-limited.pkt3 // with IW10, if we send exactly 10 packets then cwnd should grow to 20.
Dtcp_slow_start_slow-start-ack-per-2pkt-send-5pkt.pkt21 // Only send 5 packets.
Dtcp_slow_start_slow-start-app-limited-9-packets-out.pkt4 // send just 9 packets, then cwnd should grow to twice that
Dtcp_slow_start_slow-start-ack-per-4pkt.pkt7 // mechanism that defers sending in order to send bigger TSO packets.
Dtcp_slow_start_slow-start-ack-per-2pkt-send-6pkt.pkt22 // Only send 6 packets.
/tools/testing/selftests/bpf/prog_tests/
Dsock_destroy.c51 n = send(clien, "t", 1, 0); in test_tcp_client()
58 n = send(clien, "t", 1, 0); in test_tcp_client()
92 n = send(clien, "t", 1, 0); in test_tcp_server()
99 n = send(clien, "t", 1, 0); in test_tcp_server()
125 n = send(clien, "t", 1, 0); in test_udp_client()
132 n = send(clien, "t", 1, 0); in test_udp_client()
Dtcpbpf_user.c70 rv = send(cli_fd, buf, 1000, 0); in run_test()
82 rv = send(accept_fd, buf, 500, 0); in run_test()
Dassign_reuse.c46 ASSERT_EQ(send(fd_cl, buff, sizeof(buff), 0), 1, "send_client"); in echo_test_udp()
73 ASSERT_EQ(send(fd_cl, buff, sizeof(buff), 0), 1, "send_client"); in echo_test_tcp()
75 ASSERT_EQ(send(fd_sv_cl, buff, sizeof(buff), 0), 1, "send_server"); in echo_test_tcp()
/tools/testing/selftests/net/
Dtls.c239 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); in TEST_F()
424 EXPECT_EQ(send(self->fd, test_str, to_send, 0), to_send); in TEST_F()
498 EXPECT_GE(send(self->fd, buf, send_len, 0), 0); in TEST_F()
510 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); in TEST_F()
521 EXPECT_EQ(send(self->fd, test_str, send_len, MSG_MORE), send_len); in TEST_F()
523 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); in TEST_F()
535 EXPECT_EQ(send(self->fd, test_str, send_len, MSG_MORE), send_len); in TEST_F()
545 EXPECT_EQ(send(self->fd, test_str, send_len, MSG_EOR), send_len); in TEST_F()
755 EXPECT_EQ(send(self->fd, test_str, send_len2, 0), send_len2); in TEST_F()
776 EXPECT_EQ(send(self->fd, mem_send, send_len, 0), send_len); in TEST_F()
[all …]
Dnetlink-dumps.c55 n = send(netlink_sock, &dump_policies, sizeof(dump_policies), 0); in TEST()
75 n = send(netlink_sock, &dump_policies, sizeof(dump_policies), 0); in TEST()
91 n = send(netlink_sock, &dump_policies, sizeof(dump_policies), 0); in TEST()
/tools/testing/selftests/pidfd/
Dpidfd_getfd_test.c53 ret = send(sk, &memfd, sizeof(memfd), 0); in __child()
83 ret = send(sk, &buf, sizeof(buf), 0); in __child()
195 ASSERT_EQ(1, send(self->sk, "P", 1, 0)); in TEST_F()
/tools/testing/vsock/
Dcontrol.c122 ret = send(control_fd, str, len, MSG_MORE); in control_writeln()
132 ret = send(control_fd, "\n", 1, 0); in control_writeln()
DREADME48 # connect to CID 2, port 1234, send 1G of data, tx buf size is 1M
55 A is calculated as "number of bits to send" / "time in tx loop"
/tools/testing/selftests/net/tcp_ao/lib/
Dnetlink.c177 if (send(sock, &req, req.nh.nlmsg_len, 0) < 0) { in __add_veth()
222 if (send(sock, &req, req.nh.nlmsg_len, 0) < 0) { in __ip_addr_add()
278 if (send(sock, &req, req.nh.nlmsg_len, 0) < 0) { in __ip_route_add()
327 if (send(sock, &req, req.nh.nlmsg_len, 0) < 0) { in __link_set_up()
395 if (send(sock, &req, req.nh.nlmsg_len, 0) < 0) { in __add_vrf()

1234