Lines Matching refs:sockfd
159 sendfd_payload(int sockfd, int send_fd, void *payload, size_t paylen)
178 return (sendmsg(sockfd, &msghdr, 0));
182 sendfd(int sockfd, int send_fd)
188 len = sendfd_payload(sockfd, send_fd, &ch, sizeof(ch));
195 localcreds(int sockfd)
201 rc = getsockopt(sockfd, 0, LOCAL_CREDS, &val, &sz);
208 recvfd_payload(int sockfd, int *recv_fd, void *buf, size_t buflen,
231 len = recvmsg(sockfd, &msghdr, recvmsg_flags);
251 ATF_REQUIRE_MSG(!localcreds(sockfd) || foundcreds,
260 recvfd(int sockfd, int *recv_fd, int flags)
265 len = recvfd_payload(sockfd, recv_fd, &ch, sizeof(ch),
686 send_cmsg(int sockfd, void *cmsg, size_t cmsgsz)
703 len = sendmsg(sockfd, &msghdr, 0);
711 recv_cmsg(int sockfd, char *cmsg, size_t cmsgsz, int flags)
728 len = recvmsg(sockfd, &msghdr, 0);