Searched refs:interfaceName (Results 1 – 11 of 11) sorted by relevance
/device/generic/goldfish/network/netmgr/ |
D | bridge.cpp | 51 Result Bridge::addInterface(const std::string& interfaceName) { in addInterface() argument 52 return doInterfaceOperation(interfaceName, SIOCBRADDIF, "add"); in addInterface() 55 Result Bridge::removeInterface(const std::string& interfaceName) { in removeInterface() argument 56 return doInterfaceOperation(interfaceName, SIOCBRDELIF, "remove"); in removeInterface() 114 Result Bridge::doInterfaceOperation(const std::string& interfaceName, in doInterfaceOperation() argument 120 request.ifr_ifindex = if_nametoindex(interfaceName.c_str()); in doInterfaceOperation() 123 "interface", operationName, interfaceName.c_str()); in doInterfaceOperation() 131 operationName, interfaceName.c_str(), in doInterfaceOperation()
|
D | bridge.h | 30 Result addInterface(const std::string& interfaceName); 31 Result removeInterface(const std::string& interfaceName); 35 Result doInterfaceOperation(const std::string& interfaceName,
|
/device/generic/goldfish/dhcp/client/ |
D | main.cpp | 31 const char* interfaceName = nullptr; in main() local 37 interfaceName = argv[++i]; in main() 51 if (interfaceName == nullptr) { in main() 58 Result res = client.init(interfaceName); in main()
|
D | interface.cpp | 49 Result Interface::init(const char* interfaceName) { in init() argument 50 mInterfaceName = interfaceName; in init() 59 interfaceName, strerror(errno)); in init()
|
D | interface.h | 31 Result init(const char* interfaceName);
|
D | dhcpclient.h | 42 Result init(const char* interfaceName);
|
D | dhcpclient.cpp | 62 Result DhcpClient::init(const char* interfaceName) { in init() argument 63 Result res = mInterface.init(interfaceName); in init()
|
/device/generic/goldfish/radio/ril/ |
D | ipv6_monitor.cpp | 109 Ipv6Monitor(const char* interfaceName); 142 Ipv6Monitor::Ipv6Monitor(const char* interfaceName) : in Ipv6Monitor() argument 144 mInterfaceName(interfaceName), in Ipv6Monitor() 464 struct ipv6Monitor* ipv6MonitorCreate(const char* interfaceName) { in ipv6MonitorCreate() argument 465 auto monitor = std::make_unique<Ipv6Monitor>(interfaceName); in ipv6MonitorCreate()
|
D | ipv6_monitor.h | 35 struct ipv6Monitor* ipv6MonitorCreate(const char* interfaceName);
|
D | reference-ril.c | 400 static RIL_Errno setInterfaceState(const char* interfaceName, in setInterfaceState() argument 412 strncpy(request.ifr_name, interfaceName, sizeof(request.ifr_name)); in setInterfaceState() 417 interfaceName, strerror(errno), errno); in setInterfaceState() 435 interfaceName, strerror(errno), errno); in setInterfaceState()
|
/device/google/cuttlefish/guest/hals/ril/reference-ril/ |
D | reference-ril.c | 511 static RIL_Errno setInterfaceState(const char* interfaceName, in setInterfaceState() argument 523 strncpy(request.ifr_name, interfaceName, sizeof(request.ifr_name)); in setInterfaceState() 528 interfaceName, strerror(errno), errno); in setInterfaceState() 546 interfaceName, strerror(errno), errno); in setInterfaceState()
|