Home
last modified time | relevance | path

Searched refs:interfaceName (Results 1 – 11 of 11) sorted by relevance

/device/generic/goldfish/network/netmgr/
Dbridge.cpp51 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()
Dbridge.h30 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/
Dmain.cpp31 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()
Dinterface.cpp49 Result Interface::init(const char* interfaceName) { in init() argument
50 mInterfaceName = interfaceName; in init()
59 interfaceName, strerror(errno)); in init()
Dinterface.h31 Result init(const char* interfaceName);
Ddhcpclient.h42 Result init(const char* interfaceName);
Ddhcpclient.cpp62 Result DhcpClient::init(const char* interfaceName) { in init() argument
63 Result res = mInterface.init(interfaceName); in init()
/device/generic/goldfish/radio/ril/
Dipv6_monitor.cpp109 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()
Dipv6_monitor.h35 struct ipv6Monitor* ipv6MonitorCreate(const char* interfaceName);
Dreference-ril.c400 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/
Dreference-ril.c511 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()