Searched refs:RunIptablesCommand (Results 1 – 5 of 5) sorted by relevance
/kernel/tests/net/test/ |
D | nf_test.py | 38 net_test.RunIptablesCommand(4, "-A OUTPUT -d " + _TEST_IP4_ADDR + " -j REJECT") 39 net_test.RunIptablesCommand(6, "-A OUTPUT -d " + _TEST_IP6_ADDR + " -j REJECT") 42 net_test.RunIptablesCommand(4, "-D OUTPUT -d " + _TEST_IP4_ADDR + " -j REJECT") 43 net_test.RunIptablesCommand(6, "-D OUTPUT -d " + _TEST_IP6_ADDR + " -j REJECT")
|
D | qtaguid_test.py | 36 def RunIptablesCommand(self, args): member in QtaguidTest 37 self.assertFalse(net_test.RunIptablesCommand(4, args)) 38 self.assertFalse(net_test.RunIptablesCommand(6, args)) 41 self.RunIptablesCommand("-N qtaguid_test_OUTPUT") 42 self.RunIptablesCommand("-A OUTPUT -j qtaguid_test_OUTPUT") 45 self.RunIptablesCommand("-D OUTPUT -j qtaguid_test_OUTPUT") 46 self.RunIptablesCommand("-F qtaguid_test_OUTPUT") 47 self.RunIptablesCommand("-X qtaguid_test_OUTPUT") 67 self.assertFalse(net_test.RunIptablesCommand(version, args))
|
D | policy_crash_test.py | 82 net_test.RunIptablesCommand(6, "-I OUTPUT 1 -m policy --dir out --pol ipsec") 85 net_test.RunIptablesCommand(6, "-D OUTPUT -m policy --dir out --pol ipsec")
|
D | net_test.py | 344 def RunIptablesCommand(version, args): function
|
D | multinetwork_base.py | 328 if net_test.RunIptablesCommand(version, args):
|