Home | Trees | Indices | Help |
|
---|
|
EDNS Options
|
|||
Option Base class for all EDNS option types. |
|||
GenericOption Generic Option Class |
|||
ECSOption EDNS Client Subnet (ECS, RFC7871) |
|
|||
|
|||
|
|
|||
NSID = 3
|
|||
DAU = 5
|
|||
DHU = 6
|
|||
N3U = 7
|
|||
ECS = 8
|
|||
EXPIRE = 9
|
|||
COOKIE = 10
|
|||
KEEPALIVE = 11
|
|||
PADDING = 12
|
|||
CHAIN = 13
|
|||
_type_to_class =
|
|||
__package__ = None hash(x) |
|
Return the class for the specified option type. The GenericOption class is used if a more specific class is not known. |
Build an EDNS option object from wire format. *otype*, an ``int``, is the option type. *wire*, a ``binary``, is the wire-format message. *current*, an ``int``, is the offset in *wire* of the beginning of the rdata. *olen*, an ``int``, is the length of the wire-format option data Returns an instance of a subclass of ``dns.edns.Option``. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Dec 8 10:59:54 2018 | http://epydoc.sourceforge.net |