Searched refs:cmsg (Results 1 – 3 of 3) sorted by relevance
114 struct cmsghdr *cmsg; in TEST_IMPL() local135 cmsg = CMSG_FIRSTHDR(&msg); in TEST_IMPL()136 cmsg->cmsg_level = SOL_SOCKET; in TEST_IMPL()137 cmsg->cmsg_type = SCM_RIGHTS; in TEST_IMPL()138 cmsg->cmsg_len = msg.msg_controllen; in TEST_IMPL()142 void* pv = CMSG_DATA(cmsg); in TEST_IMPL()
783 union uv__cmsg cmsg; in uv__try_write() local790 memset(&cmsg, 0, sizeof(cmsg)); in uv__try_write()800 msg.msg_control = &cmsg.hdr; in uv__try_write()803 cmsg.hdr.cmsg_level = SOL_SOCKET; in uv__try_write()804 cmsg.hdr.cmsg_type = SCM_RIGHTS; in uv__try_write()982 struct cmsghdr* cmsg; in uv__stream_recv_cmsg() local990 for (cmsg = CMSG_FIRSTHDR(msg); cmsg != NULL; cmsg = CMSG_NXTHDR(msg, cmsg)) { in uv__stream_recv_cmsg()993 cmsg->cmsg_type); in uv__stream_recv_cmsg()1002 p = (void*) CMSG_DATA(cmsg); in uv__stream_recv_cmsg()1029 union uv__cmsg cmsg; in uv__read() local[all …]
730 struct cmsghdr* cmsg; in uv__recvmsg()739 for (cmsg = CMSG_FIRSTHDR(msg); cmsg != NULL; cmsg = CMSG_NXTHDR(msg, cmsg)) in uv__recvmsg()740 if (cmsg->cmsg_type == SCM_RIGHTS) in uv__recvmsg()741 for (pfd = (int*) CMSG_DATA(cmsg), in uv__recvmsg()742 end = (int*) ((char*) cmsg + cmsg->cmsg_len); in uv__recvmsg()
Completed in 14 milliseconds