Trees | Indices | Help |
|
---|
|
KVM hypervisor tap device helpers
|
|||
|
|||
|
|||
|
|||
tuple |
|
|
|||
TUNSETIFF = 0x400454ca
|
|||
TUNGETIFF = 0x800454d2
|
|||
TUNGETFEATURES = 0x800454cf
|
|||
IFF_TAP = 0x0002
|
|||
IFF_NO_PI = 0x1000
|
|||
IFF_ONE_QUEUE = 0x2000
|
|||
IFF_VNET_HDR = 0x4000
|
|||
IFF_MULTI_QUEUE = 0x0100
|
Imports: os, logging, struct, fcntl, errors
|
Retrieves supported TUN features from file descriptor. See Also: _ProbeTapVnetHdr |
Check whether to enable the IFF_VNET_HDR flag. To do this, _all_ of the following conditions must be met:
|
Check whether to enable the IFF_MULTI_QUEUE flag. This flag was introduced in Linux kernel 3.8.
|
Open a new tap device and return its file descriptor. This is intended to be used by a qemu-type hypervisor together with the -net tap,fd=<fd> or -net tap,fds=x:y:...:z command line parameter.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Apr 4 13:43:45 2016 | http://epydoc.sourceforge.net |