Home | Trees | Indices | Help |
|
---|
|
DNS Opcodes.
|
|||
UnknownOpcode An DNS opcode is unknown. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
QUERY = 0
|
|||
IQUERY = 1
|
|||
STATUS = 2
|
|||
NOTIFY = 4
|
|||
UPDATE = 5
|
|||
_by_text =
|
|||
_by_value =
|
|||
__package__ =
|
|
Convert text into an opcode. *text*, a ``text``, the textual opcode Raises ``dns.opcode.UnknownOpcode`` if the opcode is unknown. Returns an ``int``. |
Extract an opcode from DNS message flags. *flags*, an ``int``, the DNS flags. Returns an ``int``. |
Convert an opcode to a value suitable for ORing into DNS message flags. *value*, an ``int``, the DNS opcode value. Returns an ``int``. |
Convert an opcode to text. *value*, an ``int`` the opcode value, Raises ``dns.opcode.UnknownOpcode`` if the opcode is unknown. Returns a ``text``. |
Is the opcode in flags UPDATE? *flags*, an ``int``, the DNS message flags. Returns a ``bool``. |
|
_by_text
|
_by_value
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Dec 8 10:59:54 2018 | http://epydoc.sourceforge.net |