Home
last modified time | relevance | path

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

/system/netd/server/
DTetherControllerTest.cpp108 const ExpectedIptablesCommands FLUSH_COMMANDS = {
126 const ExpectedIptablesCommands SETUP_COMMANDS = {
153 const ExpectedIptablesCommands ALERT_ADD_COMMAND = {
160 ExpectedIptablesCommands firstIPv4UpstreamCommands(const char *extIf) { in firstIPv4UpstreamCommands()
170 ExpectedIptablesCommands firstIPv6UpstreamCommands() { in firstIPv6UpstreamCommands()
185 ExpectedIptablesCommands startNatCommands(const char *intIf, const char *extIf, in startNatCommands()
244 ExpectedIptablesCommands allNewNatCommands(const char* intIf, const char* extIf, in allNewNatCommands()
247 ExpectedIptablesCommands commands; in allNewNatCommands()
248 ExpectedIptablesCommands setupFirstIPv4Commands = firstIPv4UpstreamCommands(extIf); in allNewNatCommands()
249 ExpectedIptablesCommands startFirstNatCommands = startNatCommands(intIf, extIf, in allNewNatCommands()
[all …]
DControllersTest.cpp51 ExpectedIptablesCommands expectedCmds = { in TEST_F()
72 ExpectedIptablesCommands expected = { in TEST_F()
199 expectIptablesRestoreCommands(ExpectedIptablesCommands{}); in TEST_F()
269 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.cpp115 ExpectedIptablesCommands expected = { in TEST_F()
129 ExpectedIptablesCommands expected = { in TEST_F()
143 ExpectedIptablesCommands expected = { in TEST_F()
DIdletimerControllerTest.cpp40 expectIptablesRestoreCommands(ExpectedIptablesCommands{}); in TEST_F()
DClatdControllerTest.cpp192 expectIptablesRestoreCommands((ExpectedIptablesCommands){ in TEST_F()
201 expectIptablesRestoreCommands((ExpectedIptablesCommands){ in TEST_F()
DBandwidthControllerTest.cpp161 ExpectedIptablesCommands expected = {{ V4, expectedList }}; in expectSetupCommands()