Lines Matching refs:ExpectedIptablesCommands
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()
254 ExpectedIptablesCommands setupFirstIPv6Commands = firstIPv6UpstreamCommands(); in allNewNatCommands()
265 ExpectedIptablesCommands stopNatCommands(const char *intIf, const char *extIf) { in stopNatCommands()
311 ExpectedIptablesCommands firstNat = in TEST_F()
317 ExpectedIptablesCommands startOtherNatOnSameUpstream = startNatCommands( in TEST_F()
323 ExpectedIptablesCommands stopFirstNat = stopNatCommands("wlan0", "rmnet0"); in TEST_F()
328 ExpectedIptablesCommands stopLastNat = stopNatCommands("usb0", "rmnet0"); in TEST_F()
348 ExpectedIptablesCommands firstNat = in TEST_F()
355 ExpectedIptablesCommands secondNat = in TEST_F()
362 const ExpectedIptablesCommands NONE = {}; in TEST_F()
367 ExpectedIptablesCommands stopSecondNat = stopNatCommands("wlan0", "v4-rmnet0"); in TEST_F()
372 ExpectedIptablesCommands stopFirstNat = stopNatCommands("wlan0", "rmnet0"); in TEST_F()