Home
last modified time | relevance | path

Searched refs:V4 (Results 1 – 14 of 14) sorted by relevance

/system/netd/server/
DControllersTest.cpp124 {V4, in TEST_F()
131 {V4, in TEST_F()
138 {V4, in TEST_F()
142 {V4, in TEST_F()
168 {V4, in TEST_F()
172 {V4, in TEST_F()
DTetherControllerTest.cpp59 {V4,
77 {V4,
92 {V4,
116 { V4, v4Cmd }, in firstIPv4UpstreamCommands()
185 { V4, Join(v4Cmds, '\n') }, in startNatCommands()
243 { V4, Join(v4Cmds, '\n') }, in stopNatCommands()
DControllers.cpp230 createChildChains(V4, "nat", "PREROUTING", NAT_PREROUTING, true); in initChildChains()
231 createChildChains(V4, "nat", "POSTROUTING", NAT_POSTROUTING, true); in initChildChains()
233 createChildChains(V4, "filter", "OUTPUT", FILTER_OUTPUT, false); in initChildChains()
235 createChildChains(V4, "mangle", "POSTROUTING", MANGLE_POSTROUTING, false); in initChildChains()
Doem_iptables_hook.cpp52 return (execIptablesRestore(V4, cmd4) == 0 && execIptablesRestore(V6, cmd6) == 0); in oemCleanupHooks()
DFirewallControllerTest.cpp91 {V4, Join(expectedRestore4, '\n')}, in TEST_F()
109 {V4, Join(expectedRestore, '\n')}, in TEST_F()
208 EXPECT_EQ(expected, makeUidRules(V4 ,"FW_blackchain", false, uids)); in TEST_F()
DTetherController.cpp494 res = iptablesRestoreFunction(V4, mssRewriteCommand, nullptr); in setupIptablesHooks()
528 int res = iptablesRestoreFunction(V4, v4Cmd, nullptr); in setDefaults()
566 if (iptablesRestoreFunction(V4, Join(v4Cmds, '\n'), nullptr) || setupIPv6CountersChain() || in enableNat()
743 if (iptablesRestoreFunction(V4, Join(v4, '\n'), nullptr) == -1 || in setForwardRules()
892 for (const IptablesTarget target : {V4, V6}) { in getTetherStats()
901 target == V4 ? "IPv4": "IPv6", in getTetherStats()
DStrictControllerTest.cpp105 { V4, commands4 }, in TEST_F()
DNetdConstants.h34 enum IptablesTarget { V4, V6, V4V6 }; enumerator
DBandwidthControllerTest.cpp159 ExpectedIptablesCommands expected = {{ V4, expectedList }}; in expectSetupCommands()
295 {V4, expected4}, in TEST_F()
307 {V4, expected}, in TEST_F()
DFirewallController.cpp353 std::string commands4 = makeUidRules(V4, name.c_str(), isWhitelist, uids); in replaceUidChain()
355 return execIptablesRestore(V4, commands4.c_str()) | execIptablesRestore(V6, commands6.c_str()); in replaceUidChain()
DStrictController.cpp132 res |= execIptablesRestore(V4, Join(v4, '\n')); in setupIptablesHooks()
DBandwidthController.cpp330 int ret = iptablesRestoreFunction(V4, makeDataSaverCommand(V4, enable), nullptr); in enableDataSaver()
805 if (int ret = iptablesRestoreFunction(V4, fullCmd, &ruleList)) { in flushExistingCostlyTables()
DIptablesRestoreController.cpp360 if (target == V4 || target == V4V6) { in execute()
DIptablesRestoreControllerTest.cpp168 EXPECT_EQ(0, con.execute(IptablesTarget::V4, "#Test\n", nullptr)); in TEST_F()