Home
last modified time | relevance | path

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

/external/scapy/scapy/contrib/
Dospf.py604 …IP6PrefixField("prefix", "2001:db8:0:42::/64", wordbytes=4, length_from=lambda pkt: pkt.prefixlen)]
637 …IP6PrefixField("prefix", "2001:db8:0:42::/64", wordbytes=4, length_from=lambda pkt: pkt.prefixlen),
653 …IP6PrefixField("prefix", "2001:db8:0:42::/64", wordbytes=4, length_from=lambda pkt: pkt.prefixlen)]
Disis.py480 IPPrefixField("pfx", None, wordbytes=1, length_from=lambda x: x.pfxlen),
541 IP6PrefixField("pfx", None, wordbytes=1, length_from=lambda x: x.pfxlen),
/external/scapy/scapy/
Dfields.py1385 def __init__(self, name, default, wordbytes, maxbytes, aton, ntoa, length_from): argument
1386 self.wordbytes = wordbytes
1394 wbits= self.wordbytes * 8
1395 return ((pfxlen + (wbits - 1)) // wbits) * self.wordbytes
1446 def __init__(self, name, default, wordbytes=1, length_from= None): argument
1447 … _IPPrefixFieldBase.__init__(self, name, default, wordbytes, 4, inet_aton, inet_ntoa, length_from)
1451 def __init__(self, name, default, wordbytes= 1, length_from= None): argument
1452 …_IPPrefixFieldBase.__init__(self, name, default, wordbytes, 16, lambda a: inet_pton(socket.AF_INET…