Go to the latest version of this document.
t.p.t.TunnelFlags(Flags) : class documentation
Part of twisted.pair.tuntap
View Source
View In Hierarchy
TunnelFlags
defines more flags which are used to configure the behavior of a tunnel
device.
Class Variable |
IFF_TUN |
This indicates a tun-type device. This type of tunnel carries IP
datagrams. This flag is mutually exclusive with IFF_TAP . |
Class Variable |
IFF_TAP |
This indicates a tap-type device. This type of tunnel carries
ethernet frames. This flag is mutually exclusive with
IFF_TUN . |
Class Variable |
IFF_NO_PI |
This indicates the protocol information header will not be
included in data read from the tunnel. |
Inherited from Flags:
Inherited from Values (via Flags):
Class Method |
lookupByValue |
Retrieve a constant by its value or raise a ValueError if
there is no constant associated with that value. |
Inherited from _ConstantsContainer (via Flags, Values):
Method |
__new__ |
Classes representing constants containers are not intended to be
instantiated. |
Class Method |
lookupByName |
Retrieve a constant by its name or raise a ValueError if
there is no constant associated with that name. |
Class Method |
iterconstants |
Iteration over a Names subclass
results in all of the constants it contains. |
Class Variable |
_constantType |
Specified by a _ConstantsContainer
subclass to specify the type of constants allowed by that subclass. |
Class Variable |
_enumerants |
A dict mapping the names of constants (eg NamedConstant
instances) found in the class definition to those instances. |
This indicates a tun-type device. This type of tunnel carries IP
datagrams. This flag is mutually exclusive with IFF_TAP
.
This indicates a tap-type device. This type of tunnel carries
ethernet frames. This flag is mutually exclusive with
IFF_TUN
.
This indicates the protocol information header will not be
included in data read from the tunnel.
API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.