D | iproute.py | 538 def _Address(self, version, command, addr, prefixlen, flags, scope, ifindex): argument 541 ifaddrmsg = IfAddrMsg((family, prefixlen, flags, scope, ifindex)).Pack() 565 def AddAddress(self, address, prefixlen, ifindex): argument 594 self._Address(version, RTM_NEWADDR, address, prefixlen, flags, 601 def DelAddress(self, address, prefixlen, ifindex): argument 603 RTM_DELADDR, address, prefixlen, 0, 0, ifindex) 615 def _Route(self, version, proto, command, table, dest, prefixlen, nexthop, argument 620 rtmsg = RTMsg((family, prefixlen, 0, 0, RT_TABLE_UNSPEC, 644 def AddRoute(self, version, table, dest, prefixlen, nexthop, dev): argument 645 self._Route(version, RTPROT_STATIC, RTM_NEWROUTE, table, dest, prefixlen, [all …]
|