| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
Option --+
|
GenericOption
Generic Option Class
This class is used for EDNS option types for which we have no better implementation.
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
Initialize an option. *otype*, an ``int``, is the option type.
|
Convert an option to wire format.
|
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 a ``dns.edns.Option``.
|
Compare an EDNS option with another option of the same type. Returns < 0 if < *other*, 0 if == *other*, and > 0 if > *other*.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sat Dec 8 10:59:55 2018 | http://epydoc.sourceforge.net |