Searched refs:cmsghp (Results 1 – 4 of 4) sorted by relevance
123 struct cmsghdr * cmsghp = NULL; in mm_camera_socket_sendmsg() local149 cmsghp = CMSG_FIRSTHDR(&msgh); in mm_camera_socket_sendmsg()150 if (cmsghp != NULL) { in mm_camera_socket_sendmsg()152 cmsghp->cmsg_level = SOL_SOCKET; in mm_camera_socket_sendmsg()153 cmsghp->cmsg_type = SCM_RIGHTS; in mm_camera_socket_sendmsg()154 cmsghp->cmsg_len = CMSG_LEN(sizeof(int)); in mm_camera_socket_sendmsg()155 *((int *)CMSG_DATA(cmsghp)) = sendfd; in mm_camera_socket_sendmsg()156 CDBG("%s: cmsg data=%d", __func__, *((int *) CMSG_DATA(cmsghp))); in mm_camera_socket_sendmsg()186 struct cmsghdr *cmsghp = NULL; in mm_camera_socket_recvmsg() local214 if( ((cmsghp = CMSG_FIRSTHDR(&msgh)) != NULL) && in mm_camera_socket_recvmsg()[all …]
123 struct cmsghdr * cmsghp = NULL; in mm_camera_socket_sendmsg() local148 cmsghp = CMSG_FIRSTHDR(&msgh); in mm_camera_socket_sendmsg()149 if (cmsghp != NULL) { in mm_camera_socket_sendmsg()151 cmsghp->cmsg_level = SOL_SOCKET; in mm_camera_socket_sendmsg()152 cmsghp->cmsg_type = SCM_RIGHTS; in mm_camera_socket_sendmsg()153 cmsghp->cmsg_len = CMSG_LEN(sizeof(int)); in mm_camera_socket_sendmsg()154 *((int *)CMSG_DATA(cmsghp)) = sendfd; in mm_camera_socket_sendmsg()155 CDBG("%s: cmsg data=%d", __func__, *((int *) CMSG_DATA(cmsghp))); in mm_camera_socket_sendmsg()185 struct cmsghdr *cmsghp = NULL; in mm_camera_socket_recvmsg() local214 if( ((cmsghp = CMSG_FIRSTHDR(&msgh)) != NULL) && in mm_camera_socket_recvmsg()[all …]
118 struct cmsghdr * cmsghp = NULL; in mm_camera_socket_sendmsg() local142 cmsghp = CMSG_FIRSTHDR(&msgh); in mm_camera_socket_sendmsg()143 if (cmsghp != NULL) { in mm_camera_socket_sendmsg()145 cmsghp->cmsg_level = SOL_SOCKET; in mm_camera_socket_sendmsg()146 cmsghp->cmsg_type = SCM_RIGHTS; in mm_camera_socket_sendmsg()147 cmsghp->cmsg_len = CMSG_LEN(sizeof(int)); in mm_camera_socket_sendmsg()148 *((int *)CMSG_DATA(cmsghp)) = sendfd; in mm_camera_socket_sendmsg()149 CDBG("%s: cmsg data=%d", __func__, *((int *) CMSG_DATA(cmsghp))); in mm_camera_socket_sendmsg()178 struct cmsghdr *cmsghp = NULL; in mm_camera_socket_recvmsg() local206 if( ((cmsghp = CMSG_FIRSTHDR(&msgh)) != NULL) && in mm_camera_socket_recvmsg()[all …]