Home
last modified time | relevance | path

Searched refs:in6_getscope (Results 1 – 4 of 4) sorted by relevance

/external/scapy/scapy/arch/
Dunix.py17 from scapy.utils6 import in6_getscope, construct_source_candidate_set
176 scope = in6_getscope(addr)
Dpcapdnet.py124 scope = scapy.utils6.in6_getscope(addr)
/external/scapy/scapy/
Dutils6.py96 sa = in6_getscope(a)
99 sb = in6_getscope(b)
728 def in6_getscope(addr): function
/external/scapy/test/
Dregression.uts8343 = in6_getscope()
8345 assert in6_getscope("2001:db8::2807") == IPV6_ADDR_GLOBAL
8346 assert in6_getscope("fec0::2807") == IPV6_ADDR_SITELOCAL
8347 assert in6_getscope("fe80::2807") == IPV6_ADDR_LINKLOCAL
8348 assert in6_getscope("ff02::2807") == IPV6_ADDR_LINKLOCAL
8349 assert in6_getscope("ff0e::2807") == IPV6_ADDR_GLOBAL
8350 assert in6_getscope("ff05::2807") == IPV6_ADDR_SITELOCAL
8351 assert in6_getscope("ff01::2807") == IPV6_ADDR_LOOPBACK
8352 assert in6_getscope("::1") == IPV6_ADDR_LOOPBACK