Searched refs:iptablesRestoreFunction (Results 1 – 6 of 6) sorted by relevance
/system/netd/server/ |
D | NatController.cpp | 49 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()
|
D | NatController.h | 57 static int (*iptablesRestoreFunction)(IptablesTarget, const std::string&); variable
|
D | BandwidthController.cpp | 69 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()
|
D | NatControllerTest.cpp | 41 NatController::iptablesRestoreFunction = fakeExecIptablesRestore; in NatControllerTest()
|
D | BandwidthController.h | 225 static int (*iptablesRestoreFunction)(IptablesTarget, const std::string&, std::string *); variable
|
D | BandwidthControllerTest.cpp | 45 BandwidthController::iptablesRestoreFunction = fakeExecIptablesRestoreWithOutput; in BandwidthControllerTest()
|