|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /lib/python3.6/site-packages/dns/__pycache__/ |
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&