Lines Matching refs:ExpectedIptablesCommands
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()
204 ExpectedIptablesCommands setupFirstIPv6Commands = firstIPv6UpstreamCommands(); in allNewNatCommands()
215 ExpectedIptablesCommands stopNatCommands(const char *intIf, const char *extIf) { in stopNatCommands()
261 ExpectedIptablesCommands firstNat = in TEST_F()
267 ExpectedIptablesCommands startOtherNatOnSameUpstream = startNatCommands( in TEST_F()
273 ExpectedIptablesCommands stopFirstNat = stopNatCommands("wlan0", "rmnet0"); in TEST_F()
278 ExpectedIptablesCommands stopLastNat = stopNatCommands("usb0", "rmnet0"); in TEST_F()
298 ExpectedIptablesCommands firstNat = in TEST_F()
305 ExpectedIptablesCommands secondNat = in TEST_F()
312 const ExpectedIptablesCommands NONE = {}; in TEST_F()
317 ExpectedIptablesCommands stopSecondNat = stopNatCommands("wlan0", "v4-rmnet0"); in TEST_F()
322 ExpectedIptablesCommands stopFirstNat = stopNatCommands("wlan0", "rmnet0"); in TEST_F()