Home
last modified time | relevance | path

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

/system/netd/server/
DNatController.cpp49 auto NatController::iptablesRestoreFunction = execIptablesRestore; member in NatController
107 res = iptablesRestoreFunction(V4, mssRewriteCommand); in setupIptablesHooks()
112 res = iptablesRestoreFunction(V4V6, defaultCommands); in setupIptablesHooks()
140 int res = iptablesRestoreFunction(V4, v4Cmd); in setDefaults()
145 res = iptablesRestoreFunction(V6, v6Cmd); in setDefaults()
DNatController.h57 static int (*iptablesRestoreFunction)(IptablesTarget, const std::string&); variable
DBandwidthController.cpp69 auto BandwidthController::iptablesRestoreFunction = execIptablesRestoreWithOutput; member in BandwidthController
266 iptablesRestoreFunction(V4V6, commands, nullptr); in flushCleanTables()
293 return iptablesRestoreFunction(V4V6, commands, nullptr); in enableBandwidthControl()
307 return iptablesRestoreFunction(V4V6, cmd, nullptr); in enableDataSaver()
359 return iptablesRestoreFunction(V4V6, cmd, nullptr); in manipulateSpecialApps()
749 return iptablesRestoreFunction(V4V6, alertQuotaCmd, nullptr); in runIptablesAlertCmd()
758 return iptablesRestoreFunction(V4V6, alertQuotaCmd, nullptr); in runIptablesAlertFwdCmd()
1117 res = iptablesRestoreFunction(target, GET_TETHER_STATS_COMMAND, &statsString); in getTetherStats()
1148 if (int ret = iptablesRestoreFunction(V4, fullCmd, &ruleList)) { in flushExistingCostlyTables()
1184 iptablesRestoreFunction(V4V6, android::base::Join(clearCommands, '\n'), nullptr); in parseAndFlushCostlyTables()
DNatControllerTest.cpp41 NatController::iptablesRestoreFunction = fakeExecIptablesRestore; in NatControllerTest()
DBandwidthController.h225 static int (*iptablesRestoreFunction)(IptablesTarget, const std::string&, std::string *); variable
DBandwidthControllerTest.cpp45 BandwidthController::iptablesRestoreFunction = fakeExecIptablesRestoreWithOutput; in BandwidthControllerTest()