Home | Trees | Index | Help |
|
---|
Package dns :: Module opcode |
|
Exceptions | |
---|---|
UnknownOpcode |
Raised if an opcode is unknown. |
Function Summary | |
---|---|
int |
Extract an opcode from DNS message flags. |
int |
Convert text into an opcode. |
bool |
True if the opcode in flags is UPDATE. |
int |
Convert an opcode to a value suitable for ORing into DNS message flags. |
string |
Convert an opcode to text. |
Variable Summary | |
---|---|
int |
IQUERY = 1 |
int |
NOTIFY = 4 |
int |
QUERY = 0 |
int |
STATUS = 2 |
int |
UPDATE = 5 |
dict |
_by_text = {'STATUS': 2, 'QUERY': 0, 'UPDATE': 5, 'IQUER...
|
dict |
_by_value = {0: 'QUERY', 1: 'IQUERY', 2: 'STATUS', 4: 'N...
|
Function Details |
---|
from_flags(flags)Extract an opcode from DNS message flags.
|
from_text(text)Convert text into an opcode.
|
is_update(flags)True if the opcode in flags is UPDATE.
|
to_flags(value)Convert an opcode to a value suitable for ORing into DNS message flags.
|
to_text(value)Convert an opcode to text.
|
Variable Details |
---|
IQUERY
|
NOTIFY
|
QUERY
|
STATUS
|
UPDATE
|
_by_text
|
_by_value
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Jan 30 10:41:35 2005 | http://epydoc.sf.net |