Home
last modified time | relevance | path

Searched refs:RunIptablesCommand (Results 1 – 5 of 5) sorted by relevance

/kernel/tests/net/test/
Dnf_test.py38 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")
Dqtaguid_test.py36 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))
Dpolicy_crash_test.py82 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")
Dnet_test.py344 def RunIptablesCommand(version, args): function
Dmultinetwork_base.py328 if net_test.RunIptablesCommand(version, args):