| /tools/testing/selftests/net/netfilter/ |
| 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/ |
| 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
|
| 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
|
| 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.
|
| 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.
|
| 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.
|
| 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
|
| 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
|
| 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:
|
| D | tcp_zerocopy_client.pkt | 14 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
|
| D | tcp_zerocopy_fastopen-client.pkt | 4 // 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
|
| D | tcp_slow_start_slow-start-app-limited.pkt | 3 // with IW10, if we send exactly 10 packets then cwnd should grow to 20.
|
| D | tcp_slow_start_slow-start-ack-per-2pkt-send-5pkt.pkt | 21 // Only send 5 packets.
|
| D | tcp_slow_start_slow-start-app-limited-9-packets-out.pkt | 4 // send just 9 packets, then cwnd should grow to twice that
|
| D | tcp_slow_start_slow-start-ack-per-4pkt.pkt | 7 // mechanism that defers sending in order to send bigger TSO packets.
|
| D | tcp_slow_start_slow-start-ack-per-2pkt-send-6pkt.pkt | 22 // Only send 6 packets.
|
| /tools/testing/selftests/bpf/prog_tests/ |
| 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()
|
| 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()
|
| 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/ |
| D | tls.c | 239 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 …]
|
| D | netlink-dumps.c | 55 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/ |
| 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/ |
| D | control.c | 122 ret = send(control_fd, str, len, MSG_MORE); in control_writeln() 132 ret = send(control_fd, "\n", 1, 0); in control_writeln()
|
| D | README | 48 # 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/ |
| D | netlink.c | 177 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()
|