Home
last modified time | relevance | path

Searched refs:IPTABLES_PATH (Results 1 – 8 of 8) sorted by relevance

/system/netd/server/
DNatController.cpp93 {{IPTABLES_PATH, "-w", "-F", LOCAL_TETHER_COUNTERS_CHAIN,}, 0}, in setupIptablesHooks()
95 {{IPTABLES_PATH, "-w", "-X", LOCAL_TETHER_COUNTERS_CHAIN,}, 0}, in setupIptablesHooks()
97 {{IPTABLES_PATH, "-w", "-N", LOCAL_TETHER_COUNTERS_CHAIN,}, 1}, in setupIptablesHooks()
109 {{IPTABLES_PATH, "-w", "-t", "mangle", "-A", LOCAL_MANGLE_FORWARD, "-p", "tcp", in setupIptablesHooks()
131 {{IPTABLES_PATH, "-w", "-F", LOCAL_FORWARD,}, 1}, in setDefaults()
133 {{IPTABLES_PATH, "-w", "-A", LOCAL_FORWARD, "-j", "DROP"}, 1}, in setDefaults()
134 {{IPTABLES_PATH, "-w", "-t", "nat", "-F", LOCAL_NAT_POSTROUTING}, 1}, in setDefaults()
167 IPTABLES_PATH, in enableNat()
205 IPTABLES_PATH, in enableNat()
214 IPTABLES_PATH, in enableNat()
[all …]
Doem_iptables_hook.cpp39 IPTABLES_PATH, in oemCleanupHooks()
47 IPTABLES_PATH, in oemCleanupHooks()
55 IPTABLES_PATH, in oemCleanupHooks()
DNetdConstants.cpp35 const char * const IPTABLES_PATH = "/system/bin/iptables"; variable
96 argv[0] = IPTABLES_PATH; in execIptables()
DNetdConstants.h35 extern const char * const IPTABLES_PATH;
DIdletimerController.cpp129 argv[0] = IPTABLES_PATH; in runIpxtablesCmd()
DIptablesBaseTest.cpp66 sCmds.push_back(IPTABLES_PATH + cmd); in fakeExecIptables()
DBandwidthController.cpp241 fullCmd.insert(0, iptVer == IptIpV4 ? IPTABLES_PATH : IP6TABLES_PATH); in runIptablesCmd()
1245 for (const auto binary : {IPTABLES_PATH, IP6TABLES_PATH}) { in getTetherStats()
1280 fullCmd = IPTABLES_PATH; in flushExistingCostlyTables()
/system/netd/tests/
Dbinder_test.cpp179 EXPECT_EQ((int) uids.size() + 6, iptablesRuleLineLength(IPTABLES_PATH, chainName.c_str())); in TEST_F()
186 EXPECT_EQ(4, iptablesRuleLineLength(IPTABLES_PATH, chainName.c_str())); in TEST_F()
194 EXPECT_EQ((int) uids.size() + 4, iptablesRuleLineLength(IPTABLES_PATH, chainName.c_str())); in TEST_F()
202 EXPECT_EQ(4, iptablesRuleLineLength(IPTABLES_PATH, chainName.c_str())); in TEST_F()
236 const int enabled4 = bandwidthDataSaverEnabled(IPTABLES_PATH); in getDataSaverState()