Home
last modified time | relevance | path

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

12345

/tools/testing/selftests/net/netfilter/
A 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/
A Dtcp_eor_no-coalesce-subsequent.pkt25 +0 send(4, ..., 400, MSG_EOR) = 400
26 +0 send(4, ..., 400, MSG_EOR) = 400
27 +0 send(4, ..., 400, MSG_EOR) = 400
28 +0 send(4, ..., 400, MSG_EOR) = 400
29 +0 send(4, ..., 400, MSG_EOR) = 400
30 +0 send(4, ..., 400, MSG_EOR) = 400
31 +0 send(4, ..., 400, MSG_EOR) = 400
32 +0 send(4, ..., 400, MSG_EOR) = 400
33 +0 send(4, ..., 400, MSG_EOR) = 400
34 +0 send(4, ..., 400, MSG_EOR) = 400
[all …]
A Dtcp_eor_no-coalesce-retrans.pkt25 +0 send(4, ..., 400, MSG_EOR) = 400
26 +0 send(4, ..., 400, MSG_EOR) = 400
27 +0 send(4, ..., 400, MSG_EOR) = 400
28 +0 send(4, ..., 400, MSG_EOR) = 400
29 +0 send(4, ..., 400, MSG_EOR) = 400
30 +0 send(4, ..., 400, MSG_EOR) = 400
31 +0 send(4, ..., 400, MSG_EOR) = 400
32 +0 send(4, ..., 400, MSG_EOR) = 400
33 +0 send(4, ..., 400, MSG_EOR) = 400
34 +0 send(4, ..., 400, MSG_EOR) = 400
[all …]
A 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
A 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
A 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.
A 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.
A 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.
A 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
A Dtcp_limited_transmit_limited-transmit-no-sack.pkt20 // Write some data, and send the initial congestion window.
24 // Limited transmit: on first dupack, send a new data segment.
28 // Limited transmit: on second dupack, send a new data segment.
35 // and send 11 - 9 = 2 packets
A 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
A Dtcp_limited_transmit_limited-transmit-sack.pkt20 // Write some data, and send the initial congestion window.
24 // Limited transmit: on first dupack, send a new data segment.
28 // Limited transmit: on second dupack, send a new data segment.
A Dtcp_nagle_sockopt_cork_nodelay.pkt37 +0 send(4, ..., 40, MSG_MORE) = 40
38 +.05 send(4, ..., 40, MSG_MORE) = 40
A Dtcp_eor_no-coalesce-small.pkt24 +0 send(4, ..., 400, MSG_EOR) = 400
31 // Now we have enough room to send out the 2 x 400B packets out.
A 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:
A Dtcp_eor_no-coalesce-large.pkt25 +0 send(4, ..., 10400, MSG_EOR) = 10400
33 // Now we have enough room to send out the 2 x 400B packets out.
A Dtcp_fast_recovery_prr-ss-10pkt-lost-1.pkt4 // all the way through recovery, so during fast recovery we send one segment
38 // Write some more, which we will send 1 MSS at a time,
A Dtcp_zerocopy_client.pkt14 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
/tools/testing/selftests/bpf/prog_tests/
A 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()
A Dtcpbpf_user.c70 rv = send(cli_fd, buf, 1000, 0); in run_test()
82 rv = send(accept_fd, buf, 500, 0); in run_test()
A 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/
A Dtls.c519 EXPECT_GE(send(self->fd, buf, send_len, 0), 0); in TEST_F()
1156 EXPECT_EQ(send(self->fd, send_mem, 5, 0), 5); in TEST_F()
1279 int res = send(self->fd, buf, in TEST_F()
1333 int res = send(self->fd, buf, in TEST_F()
1441 res = send(self->fd, buf, in test_mutliproc()
1651 EXPECT_EQ(send(self->fd, rec1, 10, 0), 10); in TEST_F()
1652 EXPECT_EQ(send(self->fd, rec2, 10, 0), 10); in TEST_F()
2247 EXPECT_EQ(send(self->fd2, buf, n, 0), n); in TEST_F()
2274 EXPECT_EQ(send(self->fd2, cip[i], n, 0), n); in TEST_F()
2305 EXPECT_EQ(send(self->fd2, cip, n, 0), n); in TEST_F()
[all …]
A Dnetlink-dumps.c123 n = send(netlink_sock, &dump_neigh_bad, in TEST()
184 n = send(netlink_sock, &dump_policies, sizeof(dump_policies), 0); in TEST()
204 n = send(netlink_sock, &dump_policies, sizeof(dump_policies), 0); in TEST()
220 n = send(netlink_sock, &dump_policies, sizeof(dump_policies), 0); in TEST()
/tools/testing/selftests/pidfd/
A 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/
A Dcontrol.c119 ret = send(control_fd, str, len, MSG_MORE); in control_writeln()
129 ret = send(control_fd, "\n", 1, 0); in control_writeln()

Completed in 31 milliseconds

12345