Lines Matching refs:is_add
279 def _RunSetupCommands(cls, netid, is_add): argument
290 cls.iproute.UidRangeRule(version, is_add, start, end, table,
292 cls.iproute.OifRule(version, is_add, iface, table, cls.PRIORITY_OIF)
293 cls.iproute.FwmarkRule(version, is_add, netid, cls.NETID_FWMASK, table,
310 if is_add:
338 def _SetInboundMarking(cls, netid, iface, is_add): argument
341 add_del = "-A" if is_add else "-D"
349 def SetInboundMarks(cls, is_add): argument
351 cls._SetInboundMarking(netid, cls.GetInterfaceName(netid), is_add)
357 is_add = table is not None
358 cls.iproute.DefaultRule(version, is_add, table, cls.PRIORITY_DEFAULT)