Searched refs:in6_and (Results 1 – 3 of 3) sorted by relevance
/external/scapy/scapy/ |
D | utils6.py | 240 x = in6_and(mask, inet_pton(socket.AF_INET6, addr)) 504 x = in6_and(inet_pton(socket.AF_INET6, x), eui64) 512 x_and_s = in6_and(packed_x, packed_s) 542 def in6_and(a1, a2): function 582 r = in6_and(a, inet_pton(socket.AF_INET6, '::ff:ffff')) 602 r = in6_and(inet_pton(socket.AF_INET6, prefix), in6_cidr2mask(64)) 620 return zero == in6_and(temp, pref) 628 temp = in6_and(b"\xff"*13+b"\x00"*3, inet_pton(socket.AF_INET6, str))
|
D | route6.py | 124 the_net = inet_ntop(socket.AF_INET6, in6_and(nmask,naddr)) 165 prefix = inet_ntop(socket.AF_INET6, in6_and(nmask,naddr))
|
/external/scapy/scapy/layers/ |
D | inet6.py | 65 from scapy.utils6 import in6_6to4ExtractAddr, in6_and, in6_cidr2mask, \ 191 struct.unpack("16B", in6_and(self.net, self.mask)),
|