GhostManSec
Server: Apache
System: Linux s323.xrea.com 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User: moonarc (17751)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //lib/python2.7/site-packages/dns/rdataclass.pyc
�
�b�Wc@sdZddlZddlZdZdZdZdZdZdZ	ied	6ed
6ed6ed6ed
6e	d6Z
ed�e
j�D��Z
e
jied6ed6ed6�iee6ee	6Zejdej�Zdejjfd��YZd�Zd�Zd�ZdS(skDNS Rdata Classes.

@var _by_text: The rdata class textual name to value mapping
@type _by_text: dict
@var _by_value: The rdata class value to textual name mapping
@type _by_value: dict
@var _metaclasses: If an rdataclass is a metaclass, there will be a mapping
whose key is the rdatatype value and whose value is True in this dictionary.
@type _metaclasses: dicti����Niiiii�i�t	RESERVED0tINtCHtHStNONEtANYccs!|]\}}||fVqdS(N((t.0txty((s2/usr/lib/python2.7/site-packages/dns/rdataclass.pys	<genexpr>2stINTERNETtCHAOStHESIODsCLASS([0-9]+)$tUnknownRdataclasscBseZdZRS(sA DNS class is unknown.(t__name__t
__module__t__doc__(((s2/usr/lib/python2.7/site-packages/dns/rdataclass.pyREscCs�tj|j��}|dkr�tj|�}|dkrEt�nt|jd��}|dksr|dkr�t	d��q�n|S(s�Convert text into a DNS rdata class value.
    @param text: the text
    @type text: string
    @rtype: int
    @raises dns.rdataclass.UnknownRdataclass: the class is unknown
    @raises ValueError: the rdata class value is not >= 0 and <= 65535
    iii��s'class must be between >= 0 and <= 65535N(
t_by_texttgettuppertNonet_unknown_class_patterntmatchRtinttgroupt
ValueError(ttexttvalueR((s2/usr/lib/python2.7/site-packages/dns/rdataclass.pyt	from_textJs		cCsY|dks|dkr'td��ntj|�}|dkrUdt|�}n|S(s�Convert a DNS rdata class to text.
    @param value: the rdata class value
    @type value: int
    @rtype: string
    @raises ValueError: the rdata class value is not >= 0 and <= 65535
    ii��s'class must be between >= 0 and <= 65535tCLASSN(Rt	_by_valueRRtrepr(RR((s2/usr/lib/python2.7/site-packages/dns/rdataclass.pytto_text^scCs|tkrtStS(smTrue if the class is a metaclass.
    @param rdclass: the rdata class
    @type rdclass: int
    @rtype: bool(t_metaclassestTruetFalse(trdclass((s2/usr/lib/python2.7/site-packages/dns/rdataclass.pytis_metaclassns(Rtret
dns.exceptiontdnsRRRRRRRtdicttitemsRtupdateR!R tcompiletIRt	exceptiontDNSExceptionRRRR$(((s2/usr/lib/python2.7/site-packages/dns/rdataclass.pyt<module>s8