(prefix)
return inet_ntop(socket.AF_INET6, r)
Return the anycast address associated with all home agents on a given
    subnet.
Return the anycast address associated with all home agents on a given
    subnet.
Return the anycast address associated with all home agents on a given subnet .
def in6_getha(prefix): 
    """
    Return the anycast address associated with all home agents on a given
    subnet.
    """
    r = in6_and(inet_pton(socket.AF_INET6, prefix), in6_cidr2mask(64))
    r = in6_or(r, inet_pton(socket.AF_INET6, '::fdff:ffff:ffff:fffe'))
    return inet_ntop(socket.AF_INET6, r)
def in6_getha ( prefix ) : r = in6_and ( inet_pton ( socket . AF_INET6 , prefix ) , in6_cidr2mask ( 64 ) ) r = in6_or ( r , inet_pton ( socket . AF_INET6 , '::fdff:ffff:ffff:fffe' ) ) return inet_ntop ( socket . AF_INET6 , r )