| 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 |
| 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
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Fri Jun 2 14:38:19 2006 | http://epydoc.sf.net |