Searched refs:ExpectedIptablesCommands (Results 1 – 6 of 6) sorted by relevance
61 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 …]
51 ExpectedIptablesCommands expectedCmds = { in TEST_F()72 ExpectedIptablesCommands expected = { in TEST_F()206 expectIptablesRestoreCommands(ExpectedIptablesCommands{}); in TEST_F()276 expectIptablesRestoreCommands(ExpectedIptablesCommands{}); in TEST_F()
29 typedef std::vector<std::pair<IptablesTarget, std::string>> ExpectedIptablesCommands; typedef40 void expectIptablesRestoreCommands(const ExpectedIptablesCommands& expectedCmds);61 static ExpectedIptablesCommands sRestoreCmds;
100 ExpectedIptablesCommands expected; in expectIptablesRestoreCommands()107 void IptablesBaseTest::expectIptablesRestoreCommands(const ExpectedIptablesCommands& expectedCmds) { in expectIptablesRestoreCommands()117 IptablesBaseTest::ExpectedIptablesCommands IptablesBaseTest::sRestoreCmds = {};
40 expectIptablesRestoreCommands(ExpectedIptablesCommands{}); in TEST_F()
93 ExpectedIptablesCommands expected = {{ V4, expectedList }}; in expectSetupCommands()