Home | Trees | Indices | Help |
|
---|
|
IPv6 helper functions.
|
|||
|
|||
|
|||
|
|
|||
_leading_zero = re.compile(r'0
|
|||
_v4_ending = re.compile(r'
|
|||
_colon_colon_start = re.compile(r'::.
|
|||
_colon_colon_end = re.compile(r'.
|
|||
_mapped_prefix =
|
|||
__package__ =
|
|
Convert an IPv6 address in binary form to text form. *address*, a ``binary``, the IPv6 address in binary form. Raises ``ValueError`` if the address isn't 16 bytes long. Returns a ``text``. |
Convert an IPv6 address in text form to binary form. *text*, a ``text``, the IPv6 address in textual form. Returns a ``binary``. |
Is the specified address a mapped IPv4 address? *address*, a ``binary`` is an IPv6 address in binary form. Returns a ``bool``. |
|
_mapped_prefix
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Dec 8 10:59:54 2018 | http://epydoc.sourceforge.net |