Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/net/mptcp/
Dmptcp_connect.c615 static int copyfd_io_poll(int infd, int peerfd, int outfd, in copyfd_io_poll() argument
619 .fd = peerfd, in copyfd_io_poll()
624 set_nonblock(peerfd, true); in copyfd_io_poll()
653 len = read(peerfd, rbuf, rb); in copyfd_io_poll()
655 len = do_rnd_read(peerfd, rbuf, sizeof(rbuf)); in copyfd_io_poll()
694 bw = do_rnd_write(peerfd, winfo->buf + winfo->off, winfo->len); in copyfd_io_poll()
713 shut_wr(peerfd); in copyfd_io_poll()
861 static int copyfd_io_mmap(int infd, int peerfd, int outfd, in copyfd_io_mmap() argument
868 err = do_recvfile(peerfd, outfd); in copyfd_io_mmap()
872 err = do_mmap(infd, peerfd, size, winfo); in copyfd_io_mmap()
[all …]