Home
last modified time | relevance | path

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

/system/netd/server/
DTetherControllerTest.cpp58 const ExpectedIptablesCommands FLUSH_COMMANDS = {
76 const ExpectedIptablesCommands SETUP_COMMANDS = {
103 const ExpectedIptablesCommands ALERT_ADD_COMMAND = {
110 ExpectedIptablesCommands firstIPv4UpstreamCommands(const char *extIf) { in firstIPv4UpstreamCommands()
120 ExpectedIptablesCommands firstIPv6UpstreamCommands() { in firstIPv6UpstreamCommands()
135 ExpectedIptablesCommands startNatCommands(const char *intIf, const char *extIf, in startNatCommands()
194 ExpectedIptablesCommands allNewNatCommands(const char* intIf, const char* extIf, in allNewNatCommands()
197 ExpectedIptablesCommands commands; in allNewNatCommands()
198 ExpectedIptablesCommands setupFirstIPv4Commands = firstIPv4UpstreamCommands(extIf); in allNewNatCommands()
199 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.cpp118 ExpectedIptablesCommands expected = { in TEST_F()
132 ExpectedIptablesCommands expected = { in TEST_F()
146 ExpectedIptablesCommands expected = { in TEST_F()
DIdletimerControllerTest.cpp40 expectIptablesRestoreCommands(ExpectedIptablesCommands{}); in TEST_F()
DClatdControllerTest.cpp193 ExpectedIptablesCommands expected = { in TEST_F()
DBandwidthControllerTest.cpp159 ExpectedIptablesCommands expected = {{ V4, expectedList }}; in expectSetupCommands()