Home
last modified time | relevance | path

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

/freebsd/tests/sys/kern/
H A Dunix_passfd_test.c208 recvfd_payload(int sockfd, int *recv_fd, void *buf, size_t buflen, in recvfd_payload() argument
238 *recv_fd = -1; in recvfd_payload()
243 memcpy(recv_fd, CMSG_DATA(cmsghdr), sizeof(int)); in recvfd_payload()
244 ATF_REQUIRE(*recv_fd != -1); in recvfd_payload()
249 ATF_REQUIRE_MSG(*recv_fd != -1, in recvfd_payload()
260 recvfd(int sockfd, int *recv_fd, int flags) in recvfd() argument
265 len = recvfd_payload(sockfd, recv_fd, &ch, sizeof(ch), in recvfd()
/freebsd/contrib/netbsd-tests/net/fdpass/
H A Dfdpass.c99 recv_fd(int sock) in recv_fd() function
220 fd = recv_fd(s[1]); in main()