Searched refs:in6_getscope (Results 1 – 4 of 4) sorted by relevance
17 from scapy.utils6 import in6_getscope, construct_source_candidate_set176 scope = in6_getscope(addr)
124 scope = scapy.utils6.in6_getscope(addr)
96 sa = in6_getscope(a)99 sb = in6_getscope(b)728 def in6_getscope(addr): function
8343 = in6_getscope()8345 assert in6_getscope("2001:db8::2807") == IPV6_ADDR_GLOBAL8346 assert in6_getscope("fec0::2807") == IPV6_ADDR_SITELOCAL8347 assert in6_getscope("fe80::2807") == IPV6_ADDR_LINKLOCAL8348 assert in6_getscope("ff02::2807") == IPV6_ADDR_LINKLOCAL8349 assert in6_getscope("ff0e::2807") == IPV6_ADDR_GLOBAL8350 assert in6_getscope("ff05::2807") == IPV6_ADDR_SITELOCAL8351 assert in6_getscope("ff01::2807") == IPV6_ADDR_LOOPBACK8352 assert in6_getscope("::1") == IPV6_ADDR_LOOPBACK