Searched refs:NatController (Results 1 – 6 of 6) sorted by relevance
38 const char* NatController::LOCAL_FORWARD = "natctrl_FORWARD";39 const char* NatController::LOCAL_MANGLE_FORWARD = "natctrl_mangle_FORWARD";40 const char* NatController::LOCAL_NAT_POSTROUTING = "natctrl_nat_POSTROUTING";41 const char* NatController::LOCAL_TETHER_COUNTERS_CHAIN = "natctrl_tether_counters";43 NatController::NatController() { in NatController() function in NatController46 NatController::~NatController() { in ~NatController()55 int NatController::runCmd(int argc, const char **argv) { in runCmd()78 int NatController::setupIptablesHooks() { in setupIptablesHooks()115 int NatController::setDefaults() { in setDefaults()139 int NatController::enableNat(const char* intIface, const char* extIface) { in enableNat()[all …]
24 class NatController {26 NatController();27 virtual ~NatController();
58 NatController.cpp \
38 static NatController *sNatCtrl;
86 NatController *CommandListener::sNatCtrl = NULL;113 NatController::LOCAL_FORWARD,138 NatController::LOCAL_MANGLE_FORWARD,148 NatController::LOCAL_NAT_POSTROUTING,194 sNatCtrl = new NatController(); in CommandListener()
1253 fullCmd += NatController::LOCAL_TETHER_COUNTERS_CHAIN; in getTetherStats()