Lines Matching refs:TetherController
130 auto TetherController::iptablesRestoreFunction = execIptablesRestoreWithOutput;
135 "COMMIT\n", android::net::TetherController::LOCAL_TETHER_COUNTERS_CHAIN);
137 int TetherController::DnsmasqState::sendCmd(int daemonFd, const std::string& cmd) { in sendCmd()
150 void TetherController::DnsmasqState::clear() { in clear()
155 int TetherController::DnsmasqState::sendAllState(int daemonFd) const { in sendAllState()
159 TetherController::TetherController() { in TetherController() function in android::net::TetherController
169 bool TetherController::setIpFwdEnabled() { in setIpFwdEnabled()
186 bool TetherController::enableForwarding(const char* requester) { in enableForwarding()
194 bool TetherController::disableForwarding(const char* requester) { in disableForwarding()
199 const std::set<std::string>& TetherController::getIpfwdRequesterList() const { in getIpfwdRequesterList()
203 int TetherController::startTethering(bool usingLegacyDnsProxy, int num_addrs, char** dhcp_ranges) { in startTethering()
316 std::vector<char*> TetherController::toCstrVec(const std::vector<std::string>& addrs) { in toCstrVec()
325 int TetherController::startTethering(bool usingLegacyDnsProxy, in startTethering()
337 int TetherController::stopTethering() { in stopTethering()
362 bool TetherController::isTetheringStarted() { in isTetheringStarted()
372 int TetherController::setDnsForwarders(unsigned netId, char **servers, int numServers) { in setDnsForwarders()
417 int TetherController::setDnsForwarders(unsigned netId, const std::vector<std::string>& servers) { in setDnsForwarders()
422 unsigned TetherController::getDnsNetId() { in getDnsNetId()
426 const std::list<std::string> &TetherController::getDnsForwarders() const { in getDnsForwarders()
430 bool TetherController::applyDnsInterfaces() { in applyDnsInterfaces()
454 int TetherController::tetherInterface(const char *interface) { in tetherInterface()
476 int TetherController::untetherInterface(const char *interface) { in untetherInterface()
491 const std::list<std::string> &TetherController::getTetheredInterfaceList() const { in getTetheredInterfaceList()
495 int TetherController::setupIptablesHooks() { in setupIptablesHooks()
531 int TetherController::setDefaults() { in setDefaults()
563 int TetherController::enableNat(const char* intIface, const char* extIface) { in enableNat()
610 int TetherController::setTetherGlobalAlertRule() { in setTetherGlobalAlertRule()
623 int TetherController::setupIPv6CountersChain() { in setupIPv6CountersChain()
641 TetherController::ForwardingDownstream* TetherController::findForwardingDownstream( in findForwardingDownstream()
652 void TetherController::addForwardingPair(const std::string& intIface, const std::string& extIface) { in addForwardingPair()
665 void TetherController::markForwardingPairDisabled( in markForwardingPairDisabled()
675 bool TetherController::isForwardingPairEnabled( in isForwardingPairEnabled()
681 bool TetherController::isAnyForwardingEnabledOnUpstream(const std::string& extIface) { in isAnyForwardingEnabledOnUpstream()
691 bool TetherController::isAnyForwardingPairEnabled() { in isAnyForwardingPairEnabled()
700 bool TetherController::tetherCountingRuleExists( in tetherCountingRuleExists()
710 std::string TetherController::makeTetherCountingRule(const char *if1, const char *if2) { in makeTetherCountingRule()
714 int TetherController::setForwardRules(bool add, const char *intIface, const char *extIface) { in setForwardRules()
783 int TetherController::disableNat(const char* intIface, const char* extIface) { in disableNat()
794 void TetherController::addStats(TetherStatsList& statsList, const TetherStats& stats) { in addStats()
819 int TetherController::addForwardChainStats(TetherStatsList& statsList, in addForwardChainStats()
904 StatusOr<TetherController::TetherStatsList> TetherController::getTetherStats() { in getTetherStats()
925 void TetherController::dumpIfaces(DumpWriter& dw) { in dumpIfaces()
935 void TetherController::dump(DumpWriter& dw) { in dump()