Lines Matching refs:table
318 def _Rule(self, version, is_add, rule_type, table, match_nlattr, priority): argument
341 if table:
342 rtmsg += self._NlAttrU32(FRA_TABLE, table)
362 def FwmarkRule(self, version, is_add, fwmark, table, priority): argument
364 return self._Rule(version, is_add, RTN_UNICAST, table, nlattr, priority)
366 def IifRule(self, version, is_add, iif, table, priority): argument
368 return self._Rule(version, is_add, RTN_UNICAST, table, nlattr, priority)
370 def OifRule(self, version, is_add, oif, table, priority): argument
372 return self._Rule(version, is_add, RTN_UNICAST, table, nlattr, priority)
374 def UidRangeRule(self, version, is_add, start, end, table, priority): argument
378 return self._Rule(version, is_add, RTN_UNICAST, table, nlattr, priority)
383 def DefaultRule(self, version, is_add, table, priority): argument
384 return self.FwmarkRule(version, is_add, 0, table, priority)
455 def _Route(self, version, command, table, dest, prefixlen, nexthop, dev, argument
462 if command == RTM_NEWROUTE and not table:
466 if table:
467 rtmsg += self._NlAttrU32(FRA_TABLE, table)
480 def AddRoute(self, version, table, dest, prefixlen, nexthop, dev): argument
481 self._Route(version, RTM_NEWROUTE, table, dest, prefixlen, nexthop, dev,
484 def DelRoute(self, version, table, dest, prefixlen, nexthop, dev): argument
485 self._Route(version, RTM_DELROUTE, table, dest, prefixlen, nexthop, dev,