| Home | Trees | Index | Help |
|
|---|
| Package dns :: Module flags |
|
| Function Summary | |
|---|---|
| int |
Convert a space-separated list of EDNS flag text values into a EDNS flags value. |
| string |
Convert an EDNS flags value into a space-separated list of EDNS flag text values. |
| int |
Convert a space-separated list of flag text values into a flags value. |
| string |
Convert a flags value into a space-separated list of flag text values. |
_from_text(text,
table)
| |
_order_flags(table)
| |
_to_text(flags,
table,
order)
| |
| Variable Summary | |
|---|---|
int |
AA = 1024 |
int |
AD = 32 |
int |
CD = 16 |
int |
DO = 32768 |
int |
QR = 32768 |
int |
RA = 128 |
int |
RD = 256 |
int |
TC = 512 |
dict |
_by_text = {'AA': 1024, 'QR': 32768, 'AD': 32, 'CD': 16,...
|
dict |
_by_value = {1024: 'AA', 32768: 'QR', 32: 'AD', 128: 'RA...
|
dict |
_edns_by_text = {'DO': 32768}
|
dict |
_edns_by_value = {32768: 'DO'}
|
list |
_edns_flags_order = [(32768, 'DO')]
|
list |
_flags_order = [(32768, 'QR'), (1024, 'AA'), (512, 'TC')...
|
| Function Details |
|---|
edns_from_text(text)Convert a space-separated list of EDNS flag text values into a EDNS flags value.
|
edns_to_text(flags)Convert an EDNS flags value into a space-separated list of EDNS flag text values.
|
from_text(text)Convert a space-separated list of flag text values into a flags value.
|
to_text(flags)Convert a flags value into a space-separated list of flag text values.
|
| Variable Details |
|---|
AA
|
AD
|
CD
|
DO
|
QR
|
RA
|
RD
|
TC
|
_by_text
|
_by_value
|
_edns_by_text
|
_edns_by_value
|
_edns_flags_order
|
_flags_order
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sun Jan 30 10:41:36 2005 | http://epydoc.sf.net |