Home | History | Annotate | Download | only in server

Lines Matching defs:TetherController

36 #define LOG_TAG "TetherController"
49 #include "TetherController.h"
117 auto TetherController::iptablesRestoreFunction = execIptablesRestoreWithOutput;
124 "COMMIT\n", android::net::TetherController::LOCAL_TETHER_COUNTERS_CHAIN);
126 TetherController::TetherController() {
137 TetherController::~TetherController() {
144 bool TetherController::setIpFwdEnabled() {
153 bool TetherController::enableForwarding(const char* requester) {
161 bool TetherController::disableForwarding(const char* requester) {
166 size_t TetherController::forwardingRequestCount() {
170 int TetherController::startTethering(int num_addrs, char **dhcp_ranges) {
257 int TetherController::stopTethering() {
276 bool TetherController::isTetheringStarted() {
282 int TetherController::setDnsForwarders(unsigned netId, char **servers, int numServers) {
333 unsigned TetherController::getDnsNetId() {
337 const std::list<std::string> &TetherController::getDnsForwarders() const {
341 bool TetherController::applyDnsInterfaces() {
370 int TetherController::tetherInterface(const char *interface) {
392 int TetherController::untetherInterface(const char *interface) {
407 const std::list<std::string> &TetherController::getTetheredInterfaceList() const {
411 int TetherController::setupIptablesHooks() {
447 int TetherController::setDefaults() {
478 int TetherController::enableNat(const char* intIface, const char* extIface) {
528 int TetherController::setupIPv6CountersChain() {
548 TetherController::ForwardingDownstream* TetherController::findForwardingDownstream(
559 void TetherController
572 void TetherController::markForwardingPairDisabled(
582 bool TetherController::isForwardingPairEnabled(
588 bool TetherController::isAnyForwardingEnabledOnUpstream(const std::string& extIface) {
598 bool TetherController::isAnyForwardingPairEnabled() {
607 bool TetherController::tetherCountingRuleExists(
617 std::string TetherController::makeTetherCountingRule(const char *if1, const char *if2) {
621 int TetherController::setForwardRules(bool add, const char *intIface, const char *extIface) {
684 int TetherController::disableNat(const char* intIface, const char* extIface) {
697 void TetherController::addStats(TetherStatsList& statsList, const TetherStats& stats) {
722 int TetherController::addForwardChainStats(TetherStatsList& statsList,
774 * which is what TetherController sets up.
802 StatusOr<TetherController::TetherStatsList> TetherController::getTetherStats() {