Home
last modified time | relevance | path

Searched refs:in6_6to4ExtractAddr (Results 1 – 3 of 3) sorted by relevance

/external/scapy/scapy/
Dutils6.py333 def in6_6to4ExtractAddr(addr): function
/external/scapy/scapy/layers/
Dinet6.py65 from scapy.utils6 import in6_6to4ExtractAddr, in6_and, in6_cidr2mask, \
259 vaddr = in6_6to4ExtractAddr(x)
/external/scapy/test/
Dregression.uts1758 + Test in6_6to4ExtractAddr()
1760 = Test in6_6to4ExtractAddr() - 2002:: address
1761 in6_6to4ExtractAddr("2002::") == "0.0.0.0"
1763 = Test in6_6to4ExtractAddr() - 255.255.255.255 address
1764 in6_6to4ExtractAddr("2002:ffff:ffff::") == "255.255.255.255"
1766 = Test in6_6to4ExtractAddr() - "2002:101:101::" address
1767 in6_6to4ExtractAddr("2002:101:101::") == "1.1.1.1"
1769 = Test in6_6to4ExtractAddr() - invalid address
1770 in6_6to4ExtractAddr("somebadrawing") is None