Home
last modified time | relevance | path

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

/art/runtime/jdwp/
Djdwp_adb.cc183 cmsghdr* cmsg = CMSG_FIRSTHDR(&msg); in ReceiveClientFd() local
184 cmsg->cmsg_len = msg.msg_controllen; in ReceiveClientFd()
185 cmsg->cmsg_level = SOL_SOCKET; in ReceiveClientFd()
186 cmsg->cmsg_type = SCM_RIGHTS; in ReceiveClientFd()
187 (reinterpret_cast<int*>(CMSG_DATA(cmsg)))[0] = -1; in ReceiveClientFd()
201 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.cc308 cmsghdr* cmsg = CMSG_FIRSTHDR(&msg); in ReceiveFdsFromSocket() local
309 cmsg->cmsg_len = msg.msg_controllen; in ReceiveFdsFromSocket()
310 cmsg->cmsg_level = SOL_SOCKET; in ReceiveFdsFromSocket()
311 cmsg->cmsg_type = SCM_RIGHTS; in ReceiveFdsFromSocket()
312 memset(reinterpret_cast<int*>(CMSG_DATA(cmsg)), -1, FdSet::kDataLength); in ReceiveFdsFromSocket()
319 FdSet out_fds = FdSet::ReadData(CMSG_DATA(cmsg)); in ReceiveFdsFromSocket()