Lines Matching refs:TetherController
137 auto TetherController::iptablesRestoreFunction = execIptablesRestoreWithOutput;
142 "COMMIT\n", android::net::TetherController::LOCAL_TETHER_COUNTERS_CHAIN);
144 int TetherController::DnsmasqState::sendCmd(int daemonFd, const std::string& cmd) { in sendCmd()
157 void TetherController::DnsmasqState::clear() { in clear()
162 int TetherController::DnsmasqState::sendAllState(int daemonFd) const { in sendAllState()
166 TetherController::TetherController() { in TetherController() function in android::net::TetherController
175 bool TetherController::setIpFwdEnabled() { in setIpFwdEnabled()
192 bool TetherController::enableForwarding(const char* requester) { in enableForwarding()
200 bool TetherController::disableForwarding(const char* requester) { in disableForwarding()
205 void TetherController::maybeInitMaps() { in maybeInitMaps()
226 const std::set<std::string>& TetherController::getIpfwdRequesterList() const { in getIpfwdRequesterList()
230 int TetherController::startTethering(bool usingLegacyDnsProxy, int num_addrs, char** dhcp_ranges) { in startTethering()
343 std::vector<char*> TetherController::toCstrVec(const std::vector<std::string>& addrs) { in toCstrVec()
352 int TetherController::startTethering(bool usingLegacyDnsProxy, in startTethering()
364 int TetherController::stopTethering() { in stopTethering()
390 bool TetherController::isTetheringStarted() { in isTetheringStarted()
400 int TetherController::setDnsForwarders(unsigned netId, char **servers, int numServers) { in setDnsForwarders()
445 int TetherController::setDnsForwarders(unsigned netId, const std::vector<std::string>& servers) { in setDnsForwarders()
450 unsigned TetherController::getDnsNetId() { in getDnsNetId()
454 const std::list<std::string> &TetherController::getDnsForwarders() const { in getDnsForwarders()
458 bool TetherController::applyDnsInterfaces() { in applyDnsInterfaces()
482 int TetherController::tetherInterface(const char *interface) { in tetherInterface()
504 int TetherController::untetherInterface(const char *interface) { in untetherInterface()
519 const std::list<std::string> &TetherController::getTetheredInterfaceList() const { in getTetheredInterfaceList()
523 int TetherController::setupIptablesHooks() { in setupIptablesHooks()
559 int TetherController::setDefaults() { in setDefaults()
591 int TetherController::enableNat(const char* intIface, const char* extIface) { in enableNat()
640 int TetherController::setTetherGlobalAlertRule() { in setTetherGlobalAlertRule()
653 int TetherController::setupIPv6CountersChain() { in setupIPv6CountersChain()
671 TetherController::ForwardingDownstream* TetherController::findForwardingDownstream( in findForwardingDownstream()
682 void TetherController::addForwardingPair(const std::string& intIface, const std::string& extIface) { in addForwardingPair()
695 void TetherController::markForwardingPairDisabled( in markForwardingPairDisabled()
705 bool TetherController::isForwardingPairEnabled( in isForwardingPairEnabled()
711 bool TetherController::isAnyForwardingEnabledOnUpstream(const std::string& extIface) { in isAnyForwardingEnabledOnUpstream()
721 bool TetherController::isAnyForwardingPairEnabled() { in isAnyForwardingPairEnabled()
730 bool TetherController::tetherCountingRuleExists( in tetherCountingRuleExists()
740 std::string TetherController::makeTetherCountingRule(const char *if1, const char *if2) { in makeTetherCountingRule()
744 int TetherController::setForwardRules(bool add, const char *intIface, const char *extIface) { in setForwardRules()
813 int TetherController::disableNat(const char* intIface, const char* extIface) { in disableNat()
854 Result<void> TetherController::addOffloadRule(const TetherOffloadRuleParcel& rule) { in addOffloadRule()
879 Result<void> TetherController::removeOffloadRule(const TetherOffloadRuleParcel& rule) { in removeOffloadRule()
896 void TetherController::addStats(TetherStatsList& statsList, const TetherStats& stats) { in addStats()
921 int TetherController::addForwardChainStats(TetherStatsList& statsList, in addForwardChainStats()
1010 StatusOr<TetherController::TetherStatsList> TetherController::getTetherStats() { in getTetherStats()
1031 StatusOr<TetherController::TetherOffloadStatsList> TetherController::getTetherOffloadStats() { in getTetherOffloadStats()
1054 Result<void> TetherController::setBpfLimit(uint32_t ifIndex, uint64_t limit) { in setBpfLimit()
1096 void TetherController::maybeStartBpf(const char* extIface) { in maybeStartBpf()
1128 void TetherController::maybeStopBpf(const char* extIface) { in maybeStopBpf()
1144 int TetherController::setTetherOffloadInterfaceQuota(int ifIndex, int64_t maxBytes) { in setTetherOffloadInterfaceQuota()
1165 Result<TetherController::TetherOffloadStats> TetherController::getAndClearTetherOffloadStats( in getAndClearTetherOffloadStats()
1205 void TetherController::dumpIfaces(DumpWriter& dw) { in dumpIfaces()
1232 void TetherController::dumpBpf(DumpWriter& dw) { in dumpBpf()
1299 void TetherController::dump(DumpWriter& dw) { in dump()