Home
last modified time | relevance | path

Searched refs:tetherCtrl (Results 1 – 3 of 3) sorted by relevance

/system/netd/server/
DControllers.h45 TetherController tetherCtrl; variable
DCommandListener.cpp379 ((gCtls->tetherCtrl.forwardingRequestCount() > 0) ? "enabled" : "disabled")); in runCommand()
390 success = gCtls->tetherCtrl.enableForwarding(argv[2]); in runCommand()
393 success = gCtls->tetherCtrl.disableForwarding(argv[2]); in runCommand()
438 rc = gCtls->tetherCtrl.stopTethering(); in runCommand()
443 (gCtls->tetherCtrl.isTetheringStarted() ? "started" : "stopped")); in runCommand()
449 for (const auto &ifname : gCtls->tetherCtrl.getTetheredInterfaceList()) { in runCommand()
454 snprintf(netIdStr, sizeof(netIdStr), "%u", gCtls->tetherCtrl.getDnsNetId()); in runCommand()
457 for (const auto &fwdr : gCtls->tetherCtrl.getDnsForwarders()) { in runCommand()
486 rc = gCtls->tetherCtrl.startTethering(num_addrs, &(argv[2])); in runCommand()
489 rc = gCtls->tetherCtrl.tetherInterface(argv[3]); in runCommand()
[all …]
DNetdNativeService.cpp232 *ret = gCtls->tetherCtrl.applyDnsInterfaces(); in tetherApplyDnsInterfaces()