Lines Matching refs:priority
318 def _Rule(self, version, is_add, rule_type, table, match_nlattr, priority):
328 priority: An integer, the priority.
338 rtmsg += self._NlAttrU32(FRA_PRIORITY, priority)
348 def DeleteRulesAtPriority(self, version, priority):
352 rtmsg += self._NlAttrU32(FRA_PRIORITY, priority)
362 def FwmarkRule(self, version, is_add, fwmark, table, priority):
364 return self._Rule(version, is_add, RTN_UNICAST, table, nlattr, priority)
366 def IifRule(self, version, is_add, iif, table, priority):
368 return self._Rule(version, is_add, RTN_UNICAST, table, nlattr, priority)
370 def OifRule(self, version, is_add, oif, table, priority):
372 return self._Rule(version, is_add, RTN_UNICAST, table, nlattr, priority)
374 def UidRangeRule(self, version, is_add, start, end, table, priority):
378 return self._Rule(version, is_add, RTN_UNICAST, table, nlattr, priority)
380 def UnreachableRule(self, version, is_add, priority):
381 return self._Rule(version, is_add, RTN_UNREACHABLE, None, None, priority)
383 def DefaultRule(self, version, is_add, table, priority):
384 return self.FwmarkRule(version, is_add, 0, table, priority)