Current File : //usr/lib/python3/dist-packages/netaddr/eui/__pycache__/__init__.cpython-312.pyc |
�
���^Xd � � � d Z ddlmZmZmZ ddlmZmZ ddl
mZ ddlm
Z
ddlmZ ddlmZmZmZ G d� d e� Z G d
� de� Z G d� d
e� Z G d� de� Zy)z]
Classes and functions for dealing with MAC addresses, EUI-48, EUI-64, OUI, IAB
identifiers.
� )�NotRegisteredError�AddrFormatError�
DictDotLookup)�eui48�eui64)� mac_eui48)�
eui64_base)� IPAddress)�_importlib_resources�_is_int�_is_strc �8 � e Zd ZdZdZd� Zd� Zd� Zd� Zd� Z d� Z
y )
�BaseIdentifierz$Base class for all IEEE identifiers.)�_value�__weakref__c � � d | _ y �N�r ��selfs �6/usr/lib/python3/dist-packages/netaddr/eui/__init__.py�__init__zBaseIdentifier.__init__ s � ���� c � � | j S �z):return: integer value of this identifierr r s r �__int__zBaseIdentifier.__int__ � � ��{�{�r c � � | j S r r r s r �__long__zBaseIdentifier.__long__ r r c �@ � | j dk( ryd| j z S )z8:return: octal string representation of this identifier.r �0z0%or r s r �__oct__zBaseIdentifier.__oct__"