Searched refs:cmsg_len (Results 1 – 8 of 8) sorted by relevance
35 size_t cmsg_len = CMSG_LEN(sizeof(int) * fds.size()); in SendFileDescriptorVector() local57 cmsg->cmsg_len = cmsg_len; in SendFileDescriptorVector()139 if (cmsg->cmsg_len % sizeof(int) != 0) { in ReceiveFileDescriptorVector()140 LOG(FATAL) << "cmsg_len(" << cmsg->cmsg_len << ") not aligned to sizeof(int)"; in ReceiveFileDescriptorVector()141 } else if (cmsg->cmsg_len <= CMSG_LEN(0)) { in ReceiveFileDescriptorVector()142 LOG(FATAL) << "cmsg_len(" << cmsg->cmsg_len << ") not long enough to hold any data"; in ReceiveFileDescriptorVector()146 size_t cmsg_fdcount = static_cast<size_t>(cmsg->cmsg_len - CMSG_LEN(0)) / sizeof(int); in ReceiveFileDescriptorVector()
41 cmsg->cmsg_len = CMSG_LEN(sizeof(int)); in SendFd()
111 cmsgh->cmsg_len = CMSG_LEN(sizeof(fd)); in send()
110 cmsg->cmsg_len = CMSG_LEN(sizeof send_fd); in sock_send_fd()
110 cmsg->cmsg_len = CMSG_LEN(sizeof(fd)); in run()138 cmsg->cmsg_len = CMSG_LEN(sizeof(fd)); in sendfd()
152 cmsg->cmsg_len = CMSG_LEN(sizeof(int)); in ion_share_test()
177 header->cmsg_len = CMSG_LEN(sizeof(int)); in socket_write_and_transfer_fd()
136 cmsgh->cmsg_len == CMSG_LEN(sizeof(*socketFd))) { in processClient()