Lines Matching full:address
186 raise ValueError("Unknown hardware address length %d" % len(hwaddr))
217 # Compress the address.
218 address = inet_ntop(AF_INET6, inet_pton(AF_INET6, formatted))
219 return address
222 def FormatSockStatAddress(address):
223 if ":" in address:
227 binary = inet_pton(family, address)
236 for address in addresses:
237 address = [s for s in address.strip().split(" ") if s]
238 if address[5] == ifname:
239 if (linklocal and address[0].startswith("fe80")
240 or not linklocal and not address[0].startswith("fe80")):
241 # Convert the address from raw hex to something with colons in it.
242 return FormatProcAddress(address[0])