Searched refs:rbuf (Results 1 – 7 of 7) sorted by relevance
/tools/testing/selftests/net/ |
D | psock_lib.h | 113 char buf[DATA_LEN], rbuf[DATA_LEN]; in pair_udp_send_char() local 122 if (read(fds[1], rbuf, sizeof(rbuf)) != sizeof(rbuf)) { in pair_udp_send_char() 126 if (memcmp(buf, rbuf, sizeof(buf))) { in pair_udp_send_char()
|
D | so_txtime.c | 104 char rbuf[2]; in do_recv_one() local 107 ret = recv(fdr, rbuf, sizeof(rbuf), 0); in do_recv_one() 119 rbuf[0], (long long)tstop, (long long)texpect); in do_recv_one() 121 if (rbuf[0] != ts->data) in do_recv_one() 132 char rbuf[1]; in do_recv_verify_empty() local 135 ret = recv(fdr, rbuf, sizeof(rbuf), 0); in do_recv_verify_empty()
|
D | udpgso_bench_rx.c | 250 static char rbuf[ETH_MAX_MTU]; in do_flush_udp() local 253 len = cfg_read_all ? sizeof(rbuf) : 0; in do_flush_udp() 257 ret = recv(fd, rbuf, len, MSG_TRUNC | MSG_DONTWAIT); in do_flush_udp() 259 ret = recv_msg(fd, rbuf, len, &gso_size); in do_flush_udp() 271 do_verify_udp(rbuf, ret); in do_flush_udp()
|
D | psock_snd.c | 52 static char tbuf[TEST_SZ], rbuf[TEST_SZ]; variable 278 ret = recv(fd, rbuf, sizeof(rbuf), 0); in do_rx() 284 if (memcmp(rbuf, expected, ret)) in do_rx()
|
/tools/testing/selftests/net/mptcp/ |
D | mptcp_connect.c | 352 char rbuf[8192]; in copyfd_io_poll() local 372 len = do_rnd_read(peerfd, rbuf, sizeof(rbuf)); in copyfd_io_poll() 389 do_write(outfd, rbuf, len); in copyfd_io_poll()
|
/tools/virtio/ |
D | vringh_test.c | 175 char rbuf[5]; in parallel_test() local 255 rlen = vringh_iov_pull_user(&riov, rbuf, in parallel_test() 256 sizeof(rbuf)); in parallel_test() 263 err = vringh_iov_push_user(&wiov, rbuf, rlen); in parallel_test()
|
/tools/testing/selftests/bpf/ |
D | test_flow_dissector.c | 494 char rbuf; in do_rx() local 498 ret = recv(fd, &rbuf, 1, MSG_DONTWAIT); in do_rx() 503 if (rbuf != cfg_payload_char) in do_rx()
|