D | iproute.py | 427 def _Address(self, version, command, addr, prefixlen, flags, scope, ifindex): argument 430 ifaddrmsg = IfAddrMsg((family, prefixlen, flags, scope, ifindex)).Pack() 436 def AddAddress(self, address, prefixlen, ifindex): argument 438 RTM_NEWADDR, address, prefixlen, 441 def DelAddress(self, address, prefixlen, ifindex): argument 443 RTM_DELADDR, address, prefixlen, 0, 0, ifindex) 455 def _Route(self, version, command, table, dest, prefixlen, nexthop, dev, argument 460 rtmsg = RTMsg((family, prefixlen, 0, 0, RT_TABLE_UNSPEC, 480 def AddRoute(self, version, table, dest, prefixlen, nexthop, dev): argument 481 self._Route(version, RTM_NEWROUTE, table, dest, prefixlen, nexthop, dev, [all …]
|