Searched refs:ifaceid (Results 1 – 3 of 3) sorted by relevance
/external/ppp/pppd/ |
D | ipv6cp.c | 387 char *llv6_ntoa(eui64_t ifaceid); 408 llv6_ntoa(ifaceid) in llv6_ntoa() argument 409 eui64_t ifaceid; in llv6_ntoa() 413 sprintf(b, "fe80::%s", eui64_ntoa(ifaceid)); 618 eui64_t ifaceid; local 651 eui64_get(ifaceid, p); \ 652 if (! eui64_equals(val1, ifaceid)) \ 691 eui64_t ifaceid; local 710 eui64_get(ifaceid, p); \ 735 while (eui64_iszero(ifaceid) || [all …]
|
/external/scapy/scapy/ |
D | utils6.py | 214 def in6_ifaceidtomac(ifaceid): # TODO: finish commenting function behavior argument 221 ifaceid = inet_pton(socket.AF_INET6, "::"+ifaceid)[8:16] 224 if ifaceid[3:5] != b'\xff\xfe': 226 first = struct.unpack("B", ifaceid[:1])[0] 229 oui = first + ifaceid[1:3] 230 end = ifaceid[5:] 241 ifaceid = inet_ntop(socket.AF_INET6, x)[2:] 242 return in6_ifaceidtomac(ifaceid) 375 def in6_getRandomizedIfaceId(ifaceid, previous=None): argument 400 s = inet_pton(socket.AF_INET6, "::"+ifaceid)[8:] + previous
|
/external/scapy/test/ |
D | regression.uts | 3947 raw(DHCP6OptIfaceId(ifaceid="something")) == b'\x00\x12\x00\x09something' 3951 a.optcode == 18 and a.optlen == 9 and a.ifaceid == b"something"
|