Spade
Mini Shell
| Directory:~$ /proc/self/root/usr/lib64/python2.7/site-packages/dns/ |
| [Home] [System Details] [Kill Me] |
�
!`Nc@s�dZddlZdZdZdZdZdZied6ed 6ed
6ed6ed6Ze gej
�D]\ZZeef^qi�Z
d
ejjfd��YZd�Zd�Zd�Zd�Zd�ZdS(sDNS
Opcodes.i����NiiiiitQUERYtIQUERYtSTATUStNOTIFYtUPDATEt
UnknownOpcodecBseZdZRS(sRaised
if an opcode is unknown.(t__name__t
__module__t__doc__(((s0/usr/lib64/python2.7/site-packages/dns/opcode.pyR)scCse|j�r7t|�}|dkr7|dkr7|Sntj|j��}|dkrat�n|S(s�Convert
text into an opcode.
@param text: the textual opcode
@type text: string
@raises UnknownOpcode: the opcode is unknown
@rtype: int
iiN(tisdigittintt_by_texttgettuppertNoneR(ttexttvalue((s0/usr/lib64/python2.7/site-packages/dns/opcode.pyt from_text-s cCs|d@d?S(sUExtract
an opcode from DNS message flags.
@param flags: int
@rtype: int
ixi((tflags((s0/usr/lib64/python2.7/site-packages/dns/opcode.pyt
from_flags?scCs|d>d@S(s`Convert an opcode to a value suitable
for ORing into DNS message
flags.
@rtype: int
iix((R((s0/usr/lib64/python2.7/site-packages/dns/opcode.pytto_flagsHscCs.tj|�}|dkr*t|�}n|S(s�Convert
an opcode to text.
@param value: the opcdoe
@type value: int
@raises UnknownOpcode: the opcode is unknown
@rtype: string
N(t _by_valueRRtstr(RR((s0/usr/lib64/python2.7/site-packages/dns/opcode.pytto_textPs cCst|�tkrtStS(snTrue
if the opcode in flags is UPDATE.
@param flags: DNS flags
@type flags: int
@rtype: bool
(RRtTruetFalse(R((s0/usr/lib64/python2.7/site-packages/dns/opcode.pyt is_update^s(Rt
dns.exceptiontdnsRRRRRRtdictt iteritemstxtyRt exceptiontDNSExceptionRRRRRR(((s0/usr/lib64/python2.7/site-packages/dns/opcode.pyt<module>s&
1