Home
last modified time | relevance | path

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

/external/scapy/scapy/
Dutils6.py234 def in6_addrtomac(addr): function
252 mac = in6_addrtomac(addr)
/external/scapy/test/
Dregression.uts1834 = in6_addrtomac() conversion function (test 1)
1835 in6_addrtomac("FE80::" + in6_mactoifaceid("FD:00:00:00:00:00", ulbit=0)) == 'ff:00:00:00:00:00'
1837 = in6_addrtomac() conversion function (test 2)
1838 in6_addrtomac("FE80::" + in6_mactoifaceid("FD:00:00:00:00:00", ulbit=1)) == 'fd:00:00:00:00:00'
1840 = in6_addrtomac() conversion function (test 3)
1841 in6_addrtomac("FE80::" + in6_mactoifaceid("FD:00:00:00:00:00")) == 'fd:00:00:00:00:00'
1843 = in6_addrtomac() conversion function (test 4)
1844 in6_addrtomac("FE80::" + in6_mactoifaceid("FF:00:00:00:00:00")) == 'ff:00:00:00:00:00'
1846 = in6_addrtomac() conversion function (test 5)
1847 in6_addrtomac("FE80::" + in6_mactoifaceid("FF:00:00:00:00:00", ulbit=1)) == 'fd:00:00:00:00:00'
[all …]