def posixGetLinkLocalIPv6Addresses():
 retList = []
 for (interface, family, address) in _interfaces():
  interface = nativeString(interface)
  address = nativeString(address)
  if ((family == socket.AF_INET6) and address.startswith('fe80:')):
   retList.append(('%s%%%s' % (address, interface)))
 return retList

def posixGetLinkLocalIPv6Addresses ( ) : retList = [ ] for ( interface , family , address ) in _interfaces ( ) : interface = nativeString ( interface ) address = nativeString ( address ) if ( ( family == socket . AF_INET6 ) and address . startswith ( 'fe80:' ) ) : retList . append ( ( '%s%%%s' % ( address , interface ) ) ) return retList
return a list of strings in colon-hex format representing all the link local ipv6 addresses available on the system .