Searched refs:msgh (Results 1 – 2 of 2) sorted by relevance
87 struct msghdr msgh; in bt_audio_service_get_data_fd() local90 memset(&msgh, 0, sizeof(msgh)); in bt_audio_service_get_data_fd()91 msgh.msg_iov = &iov; in bt_audio_service_get_data_fd()92 msgh.msg_iovlen = 1; in bt_audio_service_get_data_fd()93 msgh.msg_control = &cmsg_b; in bt_audio_service_get_data_fd()94 msgh.msg_controllen = CMSG_LEN(sizeof(int)); in bt_audio_service_get_data_fd()96 ret = recvmsg(sk, &msgh, 0); in bt_audio_service_get_data_fd()106 for (cmsg = CMSG_FIRSTHDR(&msgh); cmsg != NULL; in bt_audio_service_get_data_fd()107 cmsg = CMSG_NXTHDR(&msgh, cmsg)) { in bt_audio_service_get_data_fd()
126 struct msghdr msgh; in unix_sendmsg_fd() local128 memset(&msgh, 0, sizeof(msgh)); in unix_sendmsg_fd()129 msgh.msg_iov = &iov; in unix_sendmsg_fd()130 msgh.msg_iovlen = 1; in unix_sendmsg_fd()131 msgh.msg_control = &cmsg_b; in unix_sendmsg_fd()132 msgh.msg_controllen = CMSG_LEN(sizeof(int)); in unix_sendmsg_fd()134 cmsg = CMSG_FIRSTHDR(&msgh); in unix_sendmsg_fd()141 return sendmsg(sock, &msgh, MSG_NOSIGNAL); in unix_sendmsg_fd()