def in6_getnsma(a):
 r = in6_and(a, inet_pton(socket.AF_INET6, '::ff:ffff'))
 r = in6_or(inet_pton(socket.AF_INET6, 'ff02::1:ff00:0'), r)
 return r

def in6_getnsma ( a ) : r = in6_and ( a , inet_pton ( socket . AF_INET6 , '::ff:ffff' ) ) r = in6_or ( inet_pton ( socket . AF_INET6 , 'ff02::1:ff00:0' ) , r ) return r
return link-local solicited-node multicast address for given address .