Searched refs:IPTABLES_PATH (Results 1 – 8 of 8) sorted by relevance
/system/netd/server/ |
D | NatController.cpp | 93 {{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 …]
|
D | oem_iptables_hook.cpp | 39 IPTABLES_PATH, in oemCleanupHooks() 47 IPTABLES_PATH, in oemCleanupHooks() 55 IPTABLES_PATH, in oemCleanupHooks()
|
D | NetdConstants.cpp | 35 const char * const IPTABLES_PATH = "/system/bin/iptables"; variable 96 argv[0] = IPTABLES_PATH; in execIptables()
|
D | NetdConstants.h | 35 extern const char * const IPTABLES_PATH;
|
D | IdletimerController.cpp | 129 argv[0] = IPTABLES_PATH; in runIpxtablesCmd()
|
D | IptablesBaseTest.cpp | 66 sCmds.push_back(IPTABLES_PATH + cmd); in fakeExecIptables()
|
D | BandwidthController.cpp | 241 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/ |
D | binder_test.cpp | 179 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()
|