Home
last modified time | relevance | path

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

/art/runtime/jdwp/
Djdwp_adb.cc186 cmsghdr* cmsg = CMSG_FIRSTHDR(&msg); in ReceiveClientFd() local
187 cmsg->cmsg_len = msg.msg_controllen; in ReceiveClientFd()
188 cmsg->cmsg_level = SOL_SOCKET; in ReceiveClientFd()
189 cmsg->cmsg_type = SCM_RIGHTS; in ReceiveClientFd()
190 (reinterpret_cast<int*>(CMSG_DATA(cmsg)))[0] = -1; in ReceiveClientFd()
204 return (reinterpret_cast<int*>(CMSG_DATA(cmsg)))[0]; in ReceiveClientFd()
/art/adbconnection/
Dadbconnection.cc423 cmsghdr* cmsg = CMSG_FIRSTHDR(&msg); in SendAgentFds() local
424 cmsg->cmsg_len = CMSG_LEN(dt_fd_forward::FdSet::kDataLength); in SendAgentFds()
425 cmsg->cmsg_level = SOL_SOCKET; in SendAgentFds()
426 cmsg->cmsg_type = SCM_RIGHTS; in SendAgentFds()
438 }.WriteData(CMSG_DATA(cmsg)); in SendAgentFds()
470 cmsghdr* cmsg = CMSG_FIRSTHDR(&msg); in ReadFdFromAdb() local
471 cmsg->cmsg_len = msg.msg_controllen; in ReadFdFromAdb()
472 cmsg->cmsg_level = SOL_SOCKET; in ReadFdFromAdb()
473 cmsg->cmsg_type = SCM_RIGHTS; in ReadFdFromAdb()
474 (reinterpret_cast<int*>(CMSG_DATA(cmsg)))[0] = -1; in ReadFdFromAdb()
[all …]
/art/dt_fd_forward/
Ddt_fd_forward.cc297 cmsghdr* cmsg = CMSG_FIRSTHDR(&msg); in ReceiveFdsFromSocket() local
298 cmsg->cmsg_len = msg.msg_controllen; in ReceiveFdsFromSocket()
299 cmsg->cmsg_level = SOL_SOCKET; in ReceiveFdsFromSocket()
300 cmsg->cmsg_type = SCM_RIGHTS; in ReceiveFdsFromSocket()
301 memset(reinterpret_cast<int*>(CMSG_DATA(cmsg)), -1, FdSet::kDataLength); in ReceiveFdsFromSocket()
308 FdSet out_fds = FdSet::ReadData(CMSG_DATA(cmsg)); in ReceiveFdsFromSocket()