IEEE 64-bit EUI (Extended Unique Indentifier) logic.
|
valid_str(addr)
Returns:
True if EUI-64 indentifier is valid, False
otherwise. |
|
|
|
str_to_int(addr)
Returns:
An unsigned integer that is equivalent to value represented by EUI-64
string identifier. |
|
|
|
int_to_str(int_val,
dialect=None)
Returns:
An IEEE EUI-64 identifier that is equivalent to unsigned integer. |
|
|
|
int_to_packed(int_val)
Returns:
a packed string that is equivalent to value represented by an
unsigned integer. |
|
|
|
packed_to_int(packed_int)
Returns:
An unsigned integer equivalent to value of network address
represented by packed binary string. |
|
|
|
valid_words(words,
dialect=None) |
|
|
|
int_to_words(int_val,
dialect=None) |
|
|
|
words_to_int(words,
dialect=None) |
|
|
|
valid_bits(bits,
dialect=None) |
|
|
|
bits_to_int(bits,
dialect=None) |
|
|
|
int_to_bits(int_val,
dialect=None) |
|
|
|
|
|
|
|
|