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.
See Also | https://www.kernel.org/doc/Documentation/networking/tuntap.txt |
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 _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. |
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. |
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. |
IFF_TAP
.