D | iproute.py | 538 def _Address(self, version, command, addr, prefixlen, flags, scope, ifindex): argument 541 ifaddrmsg = IfAddrMsg((family, prefixlen, flags, scope, ifindex)).Pack() 547 def _WaitForAddress(self, sock, address, ifindex): argument 560 (address, ifindex, e.strerror)) 562 if msg.index == ifindex and attrs["IFA_ADDRESS"] == address: 565 def AddAddress(self, address, prefixlen, ifindex): argument 595 RT_SCOPE_UNIVERSE, ifindex) 598 self._WaitForAddress(sock, address, ifindex) 601 def DelAddress(self, address, prefixlen, ifindex): argument 603 RTM_DELADDR, address, prefixlen, 0, 0, ifindex) [all …]
|