Lines Matching refs:NatController
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 NatController
46 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()
209 bool NatController::checkTetherCountingRuleExist(const char *pair_name) { in checkTetherCountingRuleExist()
221 int NatController::setTetherCountingRules(bool add, const char *intIface, const char *extIface) { in setTetherCountingRules()
283 int NatController::setForwardRules(bool add, const char *intIface, const char *extIface) { in setForwardRules()
364 int NatController::disableNat(const char* intIface, const char* extIface) { in disableNat()