| 
				Server : Apache System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : matalashes ( 1004) PHP Version : 8.1.29 Disable Function : NONE Directory : /lib64/python2.7/site-packages/dns/  | 
Upload File :  | 
�
n|�Oc           @   sT   d  Z  d Z d e f d �  �  YZ d e f d �  �  YZ i  Z d �  Z d �  Z d S(	   s   EDNS Optionsi   t   Optionc           B   st   e  Z d  Z d �  Z d �  Z d �  Z e e � Z d �  Z d �  Z d �  Z	 d �  Z
 d �  Z d	 �  Z d
 �  Z
 RS(   s*   Base class for all EDNS option types.
    c         C   s
   | |  _  d S(   s\   Initialize an option.
        @param otype: The rdata type
        @type otype: int
        N(   t   otype(   t   selfR   (    (    s.   /usr/lib64/python2.7/site-packages/dns/edns.pyt   __init__   s    c         C   s
   t  � d S(   s*   Convert an option to wire format.
        N(   t   NotImplementedError(   R   t   file(    (    s.   /usr/lib64/python2.7/site-packages/dns/edns.pyt   to_wire   s    c         C   s
   t  � d S(   s�  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 offet 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   (   t   clsR   t   wiret   currentt   olen(    (    s.   /usr/lib64/python2.7/site-packages/dns/edns.pyt	   from_wire$   s    c         C   s
   t  � d S(   s�   Compare an EDNS option with another option of the same type.
        Return < 0 if self < other, 0 if self == other, and > 0 if self > other.
        N(   R   (   R   t   other(    (    s.   /usr/lib64/python2.7/site-packages/dns/edns.pyt   _cmp4   s    c         C   s<