Module Expr Str Import alias Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad ListComp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad If BoolOpAnd CompareGtE NameLoad Num CompareLtE NameLoad Num body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Raise NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpRShift BinOpBitAnd NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpBitAnd BinOpLShift NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareEq Call NameLoad NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list
N/A N/A DNS Opcodes. N/A dns.exception N/A QUERY 0 N/A IQUERY 1 N/A STATUS 2 N/A NOTIFY 4 N/A UPDATE 5 N/A _by_text N/A QUERY IQUERY STATUS NOTIFY UPDATE QUERY IQUERY STATUS NOTIFY UPDATE N/A _by_value N/A dict N/A N/A y x N/A N/A x y N/A N/A _by_text iteritems UnknownOpcode N/A N/A N/A dns exception DNSException N/A N/A An DNS opcode is unknown. N/A from_text N/A N/A text N/A N/A N/A Convert text into an opcode.

    @param text: the textual opcode
    @type text: string
    @raises UnknownOpcode: the opcode is unknown
    @rtype: int
     N/A N/A N/A text isdigit N/A N/A value N/A int text N/A N/A N/A value 0 N/A value 15 N/A N/A value N/A value N/A N/A _by_text get N/A N/A text upper N/A N/A value None N/A N/A UnknownOpcode N/A value N/A from_flags N/A N/A flags N/A N/A N/A Extract an opcode from DNS message flags.

    @param flags: int
    @rtype: int
     N/A N/A N/A flags 30720 11 N/A to_flags N/A N/A value N/A N/A N/A Convert an opcode to a value suitable for ORing into DNS message
    flags.
    @rtype: int
     N/A N/A N/A value 11 30720 N/A to_text N/A N/A value N/A N/A N/A Convert an opcode to text.

    @param value: the opcdoe
    @type value: int
    @raises UnknownOpcode: the opcode is unknown
    @rtype: string
     N/A text N/A N/A _by_value get value N/A N/A text None N/A N/A text N/A str value N/A text N/A is_update N/A N/A flags N/A N/A N/A True if the opcode in flags is UPDATE.

    @param flags: DNS flags
    @type flags: int
    @rtype: bool
     N/A N/A N/A from_flags flags UPDATE N/A N/A True N/A False N/A