Searched refs:nexthop (Results 1 – 2 of 2) sorted by relevance
/kernel/tests/net/test/ |
D | iproute.py | 453 def _Route(self, version, command, table, dest, prefixlen, nexthop, dev, argument 457 scope = RT_SCOPE_UNIVERSE if nexthop else RT_SCOPE_LINK 468 if nexthop: 469 rtmsg += self._NlAttrIPAddress(RTA_GATEWAY, family, nexthop) 478 def AddRoute(self, version, table, dest, prefixlen, nexthop, dev): argument 479 self._Route(version, RTM_NEWROUTE, table, dest, prefixlen, nexthop, dev, 482 def DelRoute(self, version, table, dest, prefixlen, nexthop, dev): argument 483 self._Route(version, RTM_DELROUTE, table, dest, prefixlen, nexthop, dev,
|
D | multinetwork_base.py | 522 nexthop = self._RouterAddress(netid, version) 524 self.iproute.AddRoute(version, table, remoteaddr, plen, nexthop, ifindex) 525 self.iproute.DelRoute(version, table, remoteaddr, plen, nexthop, ifindex)
|