Home
last modified time | relevance | path

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

/system/netd/server/
DTetherControllerTest.cpp61 const ExpectedIptablesCommands FLUSH_COMMANDS = {
79 const ExpectedIptablesCommands SETUP_COMMANDS = {
106 const ExpectedIptablesCommands ALERT_ADD_COMMAND = {
113 ExpectedIptablesCommands firstIPv4UpstreamCommands(const char *extIf) { in firstIPv4UpstreamCommands()
123 ExpectedIptablesCommands firstIPv6UpstreamCommands() { in firstIPv6UpstreamCommands()
138 ExpectedIptablesCommands startNatCommands(const char *intIf, const char *extIf, in startNatCommands()
197 ExpectedIptablesCommands allNewNatCommands(const char* intIf, const char* extIf, in allNewNatCommands()
200 ExpectedIptablesCommands commands; in allNewNatCommands()
201 ExpectedIptablesCommands setupFirstIPv4Commands = firstIPv4UpstreamCommands(extIf); in allNewNatCommands()
202 ExpectedIptablesCommands startFirstNatCommands = startNatCommands(intIf, extIf, in allNewNatCommands()
[all …]
DControllersTest.cpp51 ExpectedIptablesCommands expectedCmds = { in TEST_F()
72 ExpectedIptablesCommands expected = { in TEST_F()
206 expectIptablesRestoreCommands(ExpectedIptablesCommands{}); in TEST_F()
276 expectIptablesRestoreCommands(ExpectedIptablesCommands{}); in TEST_F()
DIptablesBaseTest.h29 typedef std::vector<std::pair<IptablesTarget, std::string>> ExpectedIptablesCommands; typedef
40 void expectIptablesRestoreCommands(const ExpectedIptablesCommands& expectedCmds);
61 static ExpectedIptablesCommands sRestoreCmds;
DIptablesBaseTest.cpp100 ExpectedIptablesCommands expected; in expectIptablesRestoreCommands()
107 void IptablesBaseTest::expectIptablesRestoreCommands(const ExpectedIptablesCommands& expectedCmds) { in expectIptablesRestoreCommands()
117 IptablesBaseTest::ExpectedIptablesCommands IptablesBaseTest::sRestoreCmds = {};
DIdletimerControllerTest.cpp40 expectIptablesRestoreCommands(ExpectedIptablesCommands{}); in TEST_F()
DBandwidthControllerTest.cpp93 ExpectedIptablesCommands expected = {{ V4, expectedList }}; in expectSetupCommands()