Home
last modified time | relevance | path

Searched refs:netlink_fd (Results 1 – 2 of 2) sorted by relevance

/system/connectivity/wificond/net/
Dnetlink_manager.cpp414 bool NetlinkManager::SetupSocket(unique_fd* netlink_fd, InterceptedSocket* nl_destination) { in SetupSocket() argument
420 netlink_fd->reset( in SetupSocket()
422 if (netlink_fd->get() < 0) { in SetupSocket()
428 if (setsockopt(netlink_fd->get(), in SetupSocket()
436 if (bind(netlink_fd->get(), in SetupSocket()
448 auto interceptorSocketMaybe = nlinterceptor::createSocket(*netlink_fd, "Wificond"); in SetupSocket()
454 bool NetlinkManager::WatchSocket(unique_fd* netlink_fd) { in WatchSocket() argument
457 netlink_fd->get(), in WatchSocket()
461 LOG(ERROR) << "Failed to watch fd: " << netlink_fd->get(); in WatchSocket()
Dnetlink_manager.h278 bool SetupSocket(android::base::unique_fd* netlink_fd,
280 bool WatchSocket(android::base::unique_fd* netlink_fd);