Home
last modified time | relevance | path

Searched refs:ExpectedIptablesCommands (Results 1 – 7 of 7) sorted by relevance

/system/netd/server/
DTetherControllerTest.cpp58 const ExpectedIptablesCommands FLUSH_COMMANDS = {
74 const ExpectedIptablesCommands SETUP_COMMANDS = {
97 ExpectedIptablesCommands firstIPv4UpstreamCommands(const char *extIf) { in firstIPv4UpstreamCommands()
107 ExpectedIptablesCommands firstIPv6UpstreamCommands() { in firstIPv6UpstreamCommands()
122 ExpectedIptablesCommands startNatCommands(const char *intIf, const char *extIf, in startNatCommands()
172 ExpectedIptablesCommands allNewNatCommands( in allNewNatCommands()
176 ExpectedIptablesCommands commands; in allNewNatCommands()
177 ExpectedIptablesCommands setupFirstIPv4Commands = firstIPv4UpstreamCommands(extIf); in allNewNatCommands()
178 ExpectedIptablesCommands startFirstNatCommands = startNatCommands(intIf, extIf, in allNewNatCommands()
183 ExpectedIptablesCommands setupFirstIPv6Commands = firstIPv6UpstreamCommands(); in allNewNatCommands()
[all …]
DControllersTest.cpp51 ExpectedIptablesCommands expectedCmds = { in TEST_F()
72 ExpectedIptablesCommands expected = { in TEST_F()
193 expectIptablesRestoreCommands(ExpectedIptablesCommands{}); in TEST_F()
263 expectIptablesRestoreCommands(ExpectedIptablesCommands{}); in TEST_F()
DIptablesBaseTest.h27 typedef std::vector<std::pair<IptablesTarget, std::string>> ExpectedIptablesCommands; typedef
38 void expectIptablesRestoreCommands(const ExpectedIptablesCommands& expectedCmds);
59 static ExpectedIptablesCommands sRestoreCmds;
DIptablesBaseTest.cpp100 ExpectedIptablesCommands expected; in expectIptablesRestoreCommands()
107 void IptablesBaseTest::expectIptablesRestoreCommands(const ExpectedIptablesCommands& expectedCmds) { in expectIptablesRestoreCommands()
117 IptablesBaseTest::ExpectedIptablesCommands IptablesBaseTest::sRestoreCmds = {};
DFirewallControllerTest.cpp112 ExpectedIptablesCommands expected = { in TEST_F()
126 ExpectedIptablesCommands expected = { in TEST_F()
140 ExpectedIptablesCommands expected = { in TEST_F()
DIdletimerControllerTest.cpp40 expectIptablesRestoreCommands(ExpectedIptablesCommands{}); in TEST_F()
DBandwidthControllerTest.cpp94 ExpectedIptablesCommands expected = {{ V4, expectedList }}; in expectSetupCommands()