Searched refs:ExpectedIptablesCommands (Results 1 – 8 of 8) sorted by relevance
108 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 …]
51 ExpectedIptablesCommands expectedCmds = { in TEST_F()72 ExpectedIptablesCommands expected = { in TEST_F()199 expectIptablesRestoreCommands(ExpectedIptablesCommands{}); in TEST_F()269 expectIptablesRestoreCommands(ExpectedIptablesCommands{}); in TEST_F()
27 typedef std::vector<std::pair<IptablesTarget, std::string>> ExpectedIptablesCommands; typedef38 void expectIptablesRestoreCommands(const ExpectedIptablesCommands& expectedCmds);59 static ExpectedIptablesCommands sRestoreCmds;
100 ExpectedIptablesCommands expected; in expectIptablesRestoreCommands()107 void IptablesBaseTest::expectIptablesRestoreCommands(const ExpectedIptablesCommands& expectedCmds) { in expectIptablesRestoreCommands()117 IptablesBaseTest::ExpectedIptablesCommands IptablesBaseTest::sRestoreCmds = {};
115 ExpectedIptablesCommands expected = { in TEST_F()129 ExpectedIptablesCommands expected = { in TEST_F()143 ExpectedIptablesCommands expected = { in TEST_F()
40 expectIptablesRestoreCommands(ExpectedIptablesCommands{}); in TEST_F()
192 expectIptablesRestoreCommands((ExpectedIptablesCommands){ in TEST_F()201 expectIptablesRestoreCommands((ExpectedIptablesCommands){ in TEST_F()
161 ExpectedIptablesCommands expected = {{ V4, expectedList }}; in expectSetupCommands()