Home
last modified time | relevance | path

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

/system/netd/server/
DControllers.h42 TetherController tetherCtrl; member
DCommandListener.cpp509 ((gCtls->tetherCtrl.forwardingRequestCount() > 0) ? "enabled" : "disabled")); in runCommand()
520 success = gCtls->tetherCtrl.enableForwarding(argv[2]); in runCommand()
523 success = gCtls->tetherCtrl.disableForwarding(argv[2]); in runCommand()
568 rc = gCtls->tetherCtrl.stopTethering(); in runCommand()
573 (gCtls->tetherCtrl.isTetheringStarted() ? "started" : "stopped")); in runCommand()
579 InterfaceCollection *ilist = gCtls->tetherCtrl.getTetheredInterfaceList(); in runCommand()
586 snprintf(netIdStr, sizeof(netIdStr), "%u", gCtls->tetherCtrl.getDnsNetId()); in runCommand()
589 for (const auto &fwdr : *(gCtls->tetherCtrl.getDnsForwarders())) { in runCommand()
618 rc = gCtls->tetherCtrl.startTethering(num_addrs, &(argv[2])); in runCommand()
621 rc = gCtls->tetherCtrl.tetherInterface(argv[3]); in runCommand()
[all …]