Home
last modified time | relevance | path

Searched refs:peerfd (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.c616 static int copyfd_io_poll(int infd, int peerfd, int outfd, in copyfd_io_poll() argument
620 .fd = peerfd, in copyfd_io_poll()
625 set_nonblock(peerfd, true); in copyfd_io_poll()
654 len = read(peerfd, rbuf, rb); in copyfd_io_poll()
656 len = do_rnd_read(peerfd, rbuf, sizeof(rbuf)); in copyfd_io_poll()
695 bw = do_rnd_write(peerfd, winfo->buf + winfo->off, winfo->len); in copyfd_io_poll()
714 shut_wr(peerfd); in copyfd_io_poll()
862 static int copyfd_io_mmap(int infd, int peerfd, int outfd, in copyfd_io_mmap() argument
869 err = do_recvfile(peerfd, outfd); in copyfd_io_mmap()
873 err = do_mmap(infd, peerfd, size, winfo); in copyfd_io_mmap()
[all …]