Your IP : 3.140.198.3
o
6��f�/ � @ s� d Z ddlZdZdZG dd� de�ZG dd� de�Zd d
� Zd<dd
�Zdd� Z dd� Z
dd� Zdd� Zdd� Z
dd� Zdd� Zdd� Zdd� Zd d!� ZG d"d#� d#�ZdaejG d$d%� d%e��ZejG d&d'� d'e��ZG d(d)� d)�ZG d*d+� d+ee�ZG d,d-� d-e�ZG d.d/� d/ee�ZG d0d1� d1�Zee_G d2d3� d3�ZG d4d5� d5ee�ZG d6d7� d7e�Z G d8d9� d9ee�Z!G d:d;� d;�Z"e"e_dS )=z1.0� N� � c @ � e Zd ZdS )�AddressValueErrorN��__name__�
__module__�__qualname__� r
r
�0/opt/alt/python310/lib64/python3.10/ipaddress.pyr � r c @ r )�NetmaskValueErrorNr r
r
r
r r
r r
c C �T zt | �W S ttfy Y nw zt| �W S ttfy" Y nw t| �d���)Nz. does not appear to be an IPv4 or IPv6 address)�IPv4Addressr r
�IPv6Address�
ValueError��addressr
r
r �
ip_address s
�
�r Tc C sX zt | |�W S ttfy Y nw zt| |�W S ttfy$ Y nw t| �d���)Nz. does not appear to be an IPv4 or IPv6 network)�IPv4Networkr r
�IPv6Networkr )r �strictr
r
r �
ip_network9 s ��r c C r )Nz0 does not appear to be an IPv4 or IPv6 interface)�
IPv4Interfacer r
�
IPv6Interfacer r r
r
r �ip_interfaceV s
�
�r c C �( z| � dd�W S ty td��w )N� �bigz&Address negative or too large for IPv4��to_bytes�
OverflowErrorr r r
r
r �v4_int_to_packedx s
�r"