Home
last modified time | relevance | path

Searched refs:in6_mactoifaceid (Results 1 – 2 of 2) sorted by relevance

/external/scapy/scapy/
Dutils6.py195 def in6_mactoifaceid(mac, ulbit=None): function
370 eui64 = inet_pton(socket.AF_INET6, '::' + in6_mactoifaceid(mac))[8:]
/external/scapy/test/
Dregression.uts1795 = in6_mactoifaceid() conversion function (test 1)
1796 in6_mactoifaceid("FD:00:00:00:00:00", ulbit=0) == 'FD00:00FF:FE00:0000'
1798 = in6_mactoifaceid() conversion function (test 2)
1799 in6_mactoifaceid("FD:00:00:00:00:00", ulbit=1) == 'FF00:00FF:FE00:0000'
1801 = in6_mactoifaceid() conversion function (test 3)
1802 in6_mactoifaceid("FD:00:00:00:00:00") == 'FF00:00FF:FE00:0000'
1804 = in6_mactoifaceid() conversion function (test 4)
1805 in6_mactoifaceid("FF:00:00:00:00:00") == 'FD00:00FF:FE00:0000'
1807 = in6_mactoifaceid() conversion function (test 5)
1808 in6_mactoifaceid("FF:00:00:00:00:00", ulbit=1) == 'FF00:00FF:FE00:0000'
[all …]