Searched refs:ExpectedIptablesCommands (Results 1 – 8 of 8) sorted by relevance
58 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 …]
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 = {};
118 ExpectedIptablesCommands expected = { in TEST_F()132 ExpectedIptablesCommands expected = { in TEST_F()146 ExpectedIptablesCommands expected = { in TEST_F()
40 expectIptablesRestoreCommands(ExpectedIptablesCommands{}); in TEST_F()
193 ExpectedIptablesCommands expected = { in TEST_F()
159 ExpectedIptablesCommands expected = {{ V4, expectedList }}; in expectSetupCommands()