Searched refs:br_name (Results 1 – 2 of 2) sorted by relevance
/frameworks/opt/net/wifi/libwifi_system_iface/ |
D | interface_tool.cpp | 178 bool InterfaceTool::createBridge(const std::string& br_name) { in createBridge() argument 181 if (TEMP_FAILURE_RETRY(ioctl(sock, SIOCBRADDBR, br_name.c_str())) != 0) { in createBridge() 182 LOG(ERROR) << "Could not add bridge " << br_name.c_str() in createBridge() 190 bool InterfaceTool::deleteBridge(const std::string& br_name) { in deleteBridge() argument 193 if (TEMP_FAILURE_RETRY(ioctl(sock, SIOCBRDELBR, br_name.c_str())) != 0) { in deleteBridge() 194 LOG(ERROR) << "Could not remove bridge " << br_name.c_str() in deleteBridge() 201 bool InterfaceTool::addIfaceToBridge(const std::string& br_name, const std::string& if_name) { in addIfaceToBridge() argument 210 strlcpy(ifr.ifr_name, br_name.c_str(), IFNAMSIZ); in addIfaceToBridge() 222 bool InterfaceTool::removeIfaceFromBridge(const std::string& br_name, const std::string& if_name) { in removeIfaceFromBridge() argument 231 strlcpy(ifr.ifr_name, br_name.c_str(), IFNAMSIZ); in removeIfaceFromBridge()
|
/frameworks/opt/net/wifi/libwifi_system_iface/include/wifi_system/ |
D | interface_tool.h | 55 virtual bool createBridge(const std::string& br_name); 58 virtual bool deleteBridge(const std::string& br_name); 61 virtual bool addIfaceToBridge(const std::string& br_name, 65 virtual bool removeIfaceFromBridge(const std::string& br_name,
|