Lines Matching refs:Socket
30 Socket::Socket(int protocol, unsigned pid, uint32_t groups) : mProtocol(protocol) { in Socket() function in android::nl::Socket
50 void Socket::clearPollErr() { in clearPollErr()
61 bool Socket::send(const Buffer<nlmsghdr>& msg, const sockaddr_nl& sa) { in send()
82 bool Socket::send(const Buffer<nlmsghdr>& msg, uint32_t destination) { in send()
87 bool Socket::increaseReceiveBuffer(size_t maxSize) { in increaseReceiveBuffer()
97 std::optional<Buffer<nlmsghdr>> Socket::receive(size_t maxSize) { in receive()
101 std::pair<std::optional<Buffer<nlmsghdr>>, sockaddr_nl> Socket::receiveFrom(size_t maxSize) { in receiveFrom()
134 bool Socket::receiveAck(uint32_t seq) { in receiveAck()
150 std::optional<Buffer<nlmsghdr>> Socket::receive(const std::set<nlmsgtype_t>& msgtypes, in receive()
167 std::optional<unsigned> Socket::getPid() { in getPid()
179 pollfd Socket::preparePoll(short events) { in preparePoll()
184 bool Socket::addMembership(unsigned group) { in addMembership()
194 bool Socket::dropMembership(unsigned group) { in dropMembership()
204 Socket::receive_iterator::receive_iterator(Socket& socket, bool end) in receive_iterator()
209 Socket::receive_iterator Socket::receive_iterator::operator++() { in operator ++()
216 bool Socket::receive_iterator::operator==(const receive_iterator& other) const { in operator ==()
222 const Buffer<nlmsghdr>& Socket::receive_iterator::operator*() const { in operator *()
227 void Socket::receive_iterator::receive() { in receive()
239 Socket::receive_iterator Socket::begin() { in begin()
243 Socket::receive_iterator Socket::end() { in end()