| /tools/testing/selftests/net/netfilter/ |
| A D | xt_string.sh | 51 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 D | tcp_eor_no-coalesce-subsequent.pkt | 25 +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 D | tcp_eor_no-coalesce-retrans.pkt | 25 +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 D | tcp_zerocopy_closed.pkt | 2 // 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 D | tcp_zerocopy_small.pkt | 21 // send 1B 22 +0 send(4, ..., 1, MSG_ZEROCOPY) = 1 40 // send 1B again 41 +0 send(4, ..., 1, MSG_ZEROCOPY) = 1
|
| A D | tcp_zerocopy_epoll_edge.pkt | 8 // 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 D | tcp_zerocopy_epoll_exclusive.pkt | 9 // 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 D | tcp_zerocopy_epoll_oneshot.pkt | 8 // 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 D | tcp_zerocopy_batch.pkt | 4 // 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 D | tcp_limited_transmit_limited-transmit-no-sack.pkt | 20 // 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 D | tcp_zerocopy_basic.pkt | 4 // 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 D | tcp_limited_transmit_limited-transmit-sack.pkt | 20 // 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 D | tcp_nagle_sockopt_cork_nodelay.pkt | 37 +0 send(4, ..., 40, MSG_MORE) = 40 38 +.05 send(4, ..., 40, MSG_MORE) = 40
|
| A D | tcp_eor_no-coalesce-small.pkt | 24 +0 send(4, ..., 400, MSG_EOR) = 400 31 // Now we have enough room to send out the 2 x 400B packets out.
|
| A D | tcp_zerocopy_maxfrags.pkt | 30 // 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 D | tcp_eor_no-coalesce-large.pkt | 25 +0 send(4, ..., 10400, MSG_EOR) = 10400 33 // Now we have enough room to send out the 2 x 400B packets out.
|
| A D | tcp_fast_recovery_prr-ss-10pkt-lost-1.pkt | 4 // 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 D | tcp_zerocopy_client.pkt | 14 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | sock_destroy.c | 51 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 D | tcpbpf_user.c | 70 rv = send(cli_fd, buf, 1000, 0); in run_test() 82 rv = send(accept_fd, buf, 500, 0); in run_test()
|
| A D | assign_reuse.c | 46 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 D | tls.c | 519 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 D | netlink-dumps.c | 123 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 D | pidfd_getfd_test.c | 53 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 D | control.c | 119 ret = send(control_fd, str, len, MSG_MORE); in control_writeln() 129 ret = send(control_fd, "\n", 1, 0); in control_writeln()
|