Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /lib/python3/dist-packages/netaddr/eui/__pycache__/ |
Upload File : |
� ���^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__"