Searched refs:cmsghp (Results 1 – 1 of 1) sorted by relevance
124 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 LOGD("cmsg data=%d", *((int *) CMSG_DATA(cmsghp))); in mm_camera_socket_sendmsg()186 struct cmsghdr * cmsghp = NULL; in mm_camera_socket_bundle_sendmsg() local212 cmsghp = CMSG_FIRSTHDR(&msgh); in mm_camera_socket_bundle_sendmsg()[all …]