Files
pyGoEdge-UserPanel/.venv/Lib/site-packages/dns/__pycache__/opcode.cpython-312.pyc

44 lines
3.1 KiB
Plaintext
Raw Normal View History

2025-11-18 03:36:49 +08:00
<EFBFBD>
g<> i<>
<00><00>h<00>dZddlmZddlZddlZGd<04>dej j<00>ZGd<06>dejj<00>Z de d efd
<EFBFBD>Z d ed efd <0C>Zd ed efd<0E>Zd ed e fd<0F>Zd ed efd<10>Zej(Zej*Zej,Zej.Zej0Zy)z DNS Opcodes.<2E>)<01>TypeNc<00>L<00>eZdZdZdZdZdZdZed<06><00>Z ede
e fd<08><04>Z y )
<EFBFBD>Opcoder<00><00><00><00>c<00><00>y)N<><00><00><01>clss <20>9E:\Project\pygoedge\.venv\Lib\site-packages\dns/opcode.py<70>_maximumzOpcode._maximum&s<00><00><11><00>returnc<00><00>tS)N)<01> UnknownOpcoder s r<00>_unknown_exception_classzOpcode._unknown_exception_class*s<00><00><1C>rN) <0A>__name__<5F>
__module__<EFBFBD> __qualname__<5F>QUERY<52>IQUERY<52>STATUS<55>NOTIFY<46>UPDATE<54> classmethodrr<00> Exceptionrr rrrrsL<00><00> <0A>E<EFBFBD> <0E>F<EFBFBD> <0E>F<EFBFBD> <0E>F<EFBFBD> <0E>F<EFBFBD><10><12><11><12><11><1D><14>i<EFBFBD><1F><1D><11>rrc<00><00>eZdZdZy)rzAn DNS opcode is unknown.N)rrr<00>__doc__r rrrr/s<00><00>#rr<00>textrc<00>,<00>tj|<00>S)z<>Convert text into an opcode.
*text*, a ``str``, the textual opcode
Raises ``dns.opcode.UnknownOpcode`` if the opcode is unknown.
Returns an ``int``.
)r<00> from_text)r"s rr$r$3s<00><00> <12> <1B> <1B>D<EFBFBD> !<21>!r<00>flagsc<00>$<00>t|dzdz <00>S)zpExtract an opcode from DNS message flags.
*flags*, an ``int``, the DNS flags.
Returns an ``int``.
<20>x<00> )r<00>r%s r<00>
from_flagsr*@s<00><00> <12>5<EFBFBD>6<EFBFBD>><3E>b<EFBFBD>(<28> )<29>)r<00>valuec<00><00>|dzdzS)z<>Convert an opcode to a value suitable for ORing into DNS message
flags.
*value*, an ``int``, the DNS opcode value.
Returns an ``int``.
r(r'r <00>r+s r<00>to_flagsr.Ks<00><00> <12>R<EFBFBD>K<EFBFBD>6<EFBFBD> !<21>!rc<00>,<00>tj|<00>S)z<>Convert an opcode to text.
*value*, an ``int`` the opcode value,
Raises ``dns.opcode.UnknownOpcode`` if the opcode is unknown.
Returns a ``str``.
)r<00>to_textr-s rr0r0Ws<00><00> <12>><3E>><3E>%<25> <20> rc<00>:<00>t|<00>tjk(S)zmIs the opcode in flags UPDATE?
*flags*, an ``int``, the DNS message flags.
Returns a ``bool``.
)r*rrr)s r<00> is_updater2ds<00><00> <16>e<EFBFBD> <1C><06> <0A> <0A> -<2D>-r)r!<00>typingr<00>dns.enum<75>dns<6E> dns.exception<6F>enum<75>IntEnumr<00> exception<6F> DNSExceptionr<00>strr$<00>intr*r.r0<00>boolr2rrrrrr rr<00><module>r>s<><00><01>$<13><17><0F><14><1D>S<EFBFBD>X<EFBFBD>X<EFBFBD> <1D> <1D><1D>*$<24>C<EFBFBD>M<EFBFBD>M<EFBFBD>.<2E>.<2E>$<24>
"<22>C<EFBFBD>
"<22>F<EFBFBD>
"<22>*<2A>c<EFBFBD>*<2A>f<EFBFBD>*<2A> "<22>F<EFBFBD> "<22>s<EFBFBD> "<22>
!<21>6<EFBFBD>
!<21>c<EFBFBD>
!<21>.<2E>S<EFBFBD>.<2E>T<EFBFBD>.<2E> <0F> <0C> <0C><05> <0F><1D><1D><06> <0F><1D><1D><06> <0F><1D><1D><06> <0F><1D><1D>r