| Server IP : 66.29.146.62 / Your IP : 216.73.216.152 Web Server : LiteSpeed System : Linux premium231.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64 User : dokkdzvi ( 925) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3.6/site-packages/dns/__pycache__/ |
Upload File : |
3
�b�W � @ s@ d Z dZG dd� de�ZG dd� de�Zi Zdd� Zdd � Zd
S )zEDNS Options� c @ sd e Zd ZdZdd� Zdd� Zedd� �Zdd � Zd
d� Z dd
� Z
dd� Zdd� Zdd� Z
dd� ZdS )�Optionz*Base class for all EDNS option types.
c C s
|| _ dS )z\Initialize an option.
@param otype: The rdata type
@type otype: int
N)�otype)�selfr � r �/usr/lib/python3.6/edns.py�__init__ s zOption.__init__c C s t �dS )z*Convert an option to wire format.
N)�NotImplementedError)r �filer r r �to_wire! s zOption.to_wirec C s t �dS )a� Build an EDNS option object from wire format
@param otype: The option type
@type otype: int
@param wire: The wire-format message
@type wire: string
@param current: The offset in wire of the beginning of the rdata.
@type current: int
@param olen: The length of the wire-format option data
@type olen: int
@rtype: dns.edns.Option instanceN)r )�clsr �wire�current�olenr r r � from_wire&