D | iproute.py | 425 def _Address(self, version, command, addr, prefixlen, flags, scope, ifindex): argument 428 ifaddrmsg = IfAddrMsg((family, prefixlen, flags, scope, ifindex)).Pack() 434 def AddAddress(self, address, prefixlen, ifindex): argument 436 RTM_NEWADDR, address, prefixlen, 439 def DelAddress(self, address, prefixlen, ifindex): argument 441 RTM_DELADDR, address, prefixlen, 0, 0, ifindex) 453 def _Route(self, version, command, table, dest, prefixlen, nexthop, dev, argument 458 rtmsg = RTMsg((family, prefixlen, 0, 0, RT_TABLE_UNSPEC, 478 def AddRoute(self, version, table, dest, prefixlen, nexthop, dev): argument 479 self._Route(version, RTM_NEWROUTE, table, dest, prefixlen, nexthop, dev, [all …]
|