Home
last modified time | relevance | path

Searched refs:is_add (Results 1 – 3 of 3) sorted by relevance

/kernel/tests/net/test/
Dmultinetwork_base.py262 def _RunSetupCommands(cls, netid, is_add): argument
273 cls.iproute.UidRangeRule(version, is_add, start, end, table,
275 cls.iproute.OifRule(version, is_add, iface, table, cls.PRIORITY_OIF)
276 cls.iproute.FwmarkRule(version, is_add, netid, cls.NETID_FWMASK, table,
293 if is_add:
321 def _SetInboundMarking(cls, netid, iface, is_add): argument
324 add_del = "-A" if is_add else "-D"
332 def SetInboundMarks(cls, is_add): argument
334 cls._SetInboundMarking(netid, cls.GetInterfaceName(netid), is_add)
340 is_add = table is not None
[all …]
Danycast_test.py69 def AnycastSetsockopt(self, s, is_add, netid, addr): argument
73 option = IPV6_JOIN_ANYCAST if is_add else IPV6_LEAVE_ANYCAST
Dqtaguid_test.py60 def SetIptablesRule(self, version, is_add, is_gid, my_id, inverted): argument
61 add_del = "-A" if is_add else "-D"