Searched refs:received_fds (Results 1 – 3 of 3) sorted by relevance
118 std::vector<unique_fd> received_fds; in ReceiveFileDescriptorVector() local154 received_fds.emplace_back(cmsg_fds[i]); in ReceiveFileDescriptorVector()163 if (received_fds.size() > max_fds) { in ReceiveFileDescriptorVector()165 << received_fds.size(); in ReceiveFileDescriptorVector()170 *fds = std::move(received_fds); in ReceiveFileDescriptorVector()
106 std::vector<unique_fd> received_fds; in processClient() local108 ReceiveFileDescriptorVector(client->getSocket(), buf, sizeof(buf), 1, &received_fds); in processClient()145 if (received_fds.size() != 1) { in processClient()146 LOG(ERROR) << "FwmarkServer received " << received_fds.size() << " fds from client?"; in processClient()148 } else if (received_fds[0] < 0) { in processClient()153 *socketFd = received_fds[0].release(); in processClient()
82 ssize_t ReceiveFileDescriptors(borrowed_fd sock, void* data, size_t len, Args&&... received_fds) { in ReceiveFileDescriptors() argument84 Append(fds, std::forward<Args>(received_fds)...); in ReceiveFileDescriptors()