Home
last modified time | relevance | path

Searched refs:NatController (Results 1 – 6 of 6) sorted by relevance

/system/netd/server/
DNatController.cpp38 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()
[all …]
DNatController.h24 class NatController {
26 NatController();
27 virtual ~NatController();
DAndroid.mk58 NatController.cpp \
DCommandListener.h38 static NatController *sNatCtrl;
DCommandListener.cpp86 NatController *CommandListener::sNatCtrl = NULL;
113 NatController::LOCAL_FORWARD,
138 NatController::LOCAL_MANGLE_FORWARD,
148 NatController::LOCAL_NAT_POSTROUTING,
194 sNatCtrl = new NatController(); in CommandListener()
DBandwidthController.cpp1253 fullCmd += NatController::LOCAL_TETHER_COUNTERS_CHAIN; in getTetherStats()