Home
last modified time | relevance | path

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

/aoo41x/main/sal/osl/unx/
H A Dprocess.c248 struct cmsghdr* cmptr = (struct cmsghdr*)malloc(CONTROLLEN); in sendFdPipe() local
259 msg.msg_control = (caddr_t) cmptr; in sendFdPipe()
262 cmptr->cmsg_level = SOL_SOCKET; in sendFdPipe()
263 cmptr->cmsg_type = SCM_RIGHTS; in sendFdPipe()
264 cmptr->cmsg_len = CONTROLLEN; in sendFdPipe()
265 memcpy(CMSG_DATA(cmptr), &SocketFD, sizeof(int)); in sendFdPipe()
292 free(cmptr); in sendFdPipe()
327 struct cmsghdr* cmptr = (struct cmsghdr*)malloc(CONTROLLEN); in receiveFdPipe() local
338 msghdr.msg_control = (caddr_t) cmptr; in receiveFdPipe()
356 memcpy(&newfd, CMSG_DATA(cmptr), sizeof(int)); in receiveFdPipe()
[all …]

Completed in 16 milliseconds