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()
363 bool TetherController::isTetheringStarted() { in isTetheringStarted()
373 int TetherController::setDnsForwarders(unsigned netId, char **servers, int numServers) { in setDnsForwarders()
418 int TetherController::setDnsForwarders(unsigned netId, const std::vector<std::string>& servers) { in setDnsForwarders()
423 unsigned TetherController::getDnsNetId() { in getDnsNetId()
427 const std::list<std::string> &TetherController::getDnsForwarders() const { in getDnsForwarders()
431 bool TetherController::applyDnsInterfaces() { in applyDnsInterfaces()
455 int TetherController::tetherInterface(const char *interface) { in tetherInterface()
477 int TetherController::untetherInterface(const char *interface) { in untetherInterface()
492 const std::list<std::string> &TetherController::getTetheredInterfaceList() const { in getTetheredInterfaceList()
496 int TetherController::setupIptablesHooks() { in setupIptablesHooks()
532 int TetherController::setDefaults() { in setDefaults()
564 int TetherController::enableNat(const char* intIface, const char* extIface) { in enableNat()
611 int TetherController::setTetherGlobalAlertRule() { in setTetherGlobalAlertRule()
624 int TetherController::setupIPv6CountersChain() { in setupIPv6CountersChain()
642 TetherController::ForwardingDownstream* TetherController::findForwardingDownstream( in findForwardingDownstream()
653 void TetherController::addForwardingPair(const std::string& intIface, const std::string& extIface) { in addForwardingPair()
666 void TetherController::markForwardingPairDisabled( in markForwardingPairDisabled()
676 bool TetherController::isForwardingPairEnabled( in isForwardingPairEnabled()
682 bool TetherController::isAnyForwardingEnabledOnUpstream(const std::string& extIface) { in isAnyForwardingEnabledOnUpstream()
692 bool TetherController::isAnyForwardingPairEnabled() { in isAnyForwardingPairEnabled()
701 bool TetherController::tetherCountingRuleExists( in tetherCountingRuleExists()
711 std::string TetherController::makeTetherCountingRule(const char *if1, const char *if2) { in makeTetherCountingRule()
715 int TetherController::setForwardRules(bool add, const char *intIface, const char *extIface) { in setForwardRules()
784 int TetherController::disableNat(const char* intIface, const char* extIface) { in disableNat()
795 void TetherController::addStats(TetherStatsList& statsList, const TetherStats& stats) { in addStats()
820 int TetherController::addForwardChainStats(TetherStatsList& statsList, in addForwardChainStats()
909 StatusOr<TetherController::TetherStatsList> TetherController::getTetherStats() { in getTetherStats()
930 void TetherController::dumpIfaces(DumpWriter& dw) { in dumpIfaces()
940 void TetherController::dump(DumpWriter& dw) { in dump()