Home
last modified time | relevance | path

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

/ohos5.0/base/tee/tee_client/frameworks/libteec_vendor/
H A Dtee_client_socket.c104 struct cmsghdr *controlMsg = NULL; in RecvFileDescriptor() local
148 …for (controlMsg = CMSG_FIRSTHDR(&hmsg); controlMsg != NULL; controlMsg = CMSG_NXTHDR(&hmsg, contro… in RecvFileDescriptor()
149 if ((controlMsg->cmsg_level == SOL_SOCKET) && (controlMsg->cmsg_type == SCM_RIGHTS)) { in RecvFileDescriptor()
150 cmdata = (int *)(uintptr_t)CMSG_DATA(controlMsg); in RecvFileDescriptor()
/ohos5.0/base/tee/tee_client/services/teecd/src/
H A Dtee_ca_daemon.c90 struct cmsghdr *controlMsg = CMSG_FIRSTHDR(&hmsg); in SendFileDescriptor() local
91 if (controlMsg != NULL) { in SendFileDescriptor()
92 controlMsg->cmsg_level = SOL_SOCKET; in SendFileDescriptor()
93 controlMsg->cmsg_type = SCM_RIGHTS; in SendFileDescriptor()
94 controlMsg->cmsg_len = CMSG_LEN(sizeof(int)); in SendFileDescriptor()
95 cmdata = (int *)(uintptr_t)CMSG_DATA(controlMsg); in SendFileDescriptor()
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/faultloggerd_client/
H A Dfaultloggerd_socket.cpp205 } controlMsg; in RecvMsgCredFromSocket() local
218 msgh.msg_control = controlMsg.buf; in RecvMsgCredFromSocket()
219 msgh.msg_controllen = sizeof(controlMsg.buf); in RecvMsgCredFromSocket()