Lines Matching refs:socketpair
154 use nix::sys::socket::{socketpair, AddressFamily, SockType, SockFlag}; in test_socketpair()
156 let (fd1, fd2) = socketpair(AddressFamily::Unix, SockType::Stream, None, SockFlag::empty()) in test_socketpair()
202 let (fd2, fd1) = socketpair(AddressFamily::Unix, SockType::Stream, in stream()
541 use nix::sys::socket::{socketpair, sendmsg, recvmsg, in test_scm_rights()
545 let (fd1, fd2) = socketpair(AddressFamily::Unix, SockType::Stream, None, SockFlag::empty()) in test_scm_rights()
911 use nix::sys::socket::{socketpair, sendmsg, recvmsg, in test_sendmsg_empty_cmsgs()
914 let (fd1, fd2) = socketpair(AddressFamily::Unix, SockType::Stream, None, SockFlag::empty()) in test_sendmsg_empty_cmsgs()
948 use nix::sys::socket::{socketpair, sendmsg, recvmsg, in test_scm_credentials()
955 let (send, recv) = socketpair(AddressFamily::Unix, SockType::Stream, None, SockFlag::empty()) in test_scm_credentials()
1031 use nix::sys::socket::{socketpair, sendmsg, recvmsg, setsockopt, in test_impl_scm_credentials_and_rights()
1036 let (send, recv) = socketpair(AddressFamily::Unix, SockType::Stream, None, SockFlag::empty()) in test_impl_scm_credentials_and_rights()