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 439 IFA_F_PERMANENT, RT_SCOPE_UNIVERSE, ifindex) 441 def DelAddress(self, address, prefixlen, ifindex): argument 443 RTM_DELADDR, address, prefixlen, 0, 0, ifindex) 445 def GetAddress(self, address, ifindex=0): argument 452 self._Address(6, RTM_GETADDR, address, 0, 0, RT_SCOPE_UNIVERSE, ifindex)
|