Server IP : 162.0.232.140 / Your IP : 3.21.55.178 Web Server : LiteSpeed System : Linux premium139.web-hosting.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64 User : micrcvoy ( 740) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/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&