| Top |  |  |  |  | 
| NMSetting * | nm_setting_tun_new () | 
| NMSettingTunMode | nm_setting_tun_get_mode () | 
| const char * | nm_setting_tun_get_owner () | 
| const char * | nm_setting_tun_get_group () | 
| gboolean | nm_setting_tun_get_pi () | 
| gboolean | nm_setting_tun_get_vnet_hdr () | 
| gboolean | nm_setting_tun_get_multi_queue () | 
| #define | NM_SETTING_TUN_SETTING_NAME | 
| #define | NM_SETTING_TUN_MODE | 
| #define | NM_SETTING_TUN_OWNER | 
| #define | NM_SETTING_TUN_GROUP | 
| #define | NM_SETTING_TUN_PI | 
| #define | NM_SETTING_TUN_VNET_HDR | 
| #define | NM_SETTING_TUN_MULTI_QUEUE | 
| enum | NMSettingTunMode | 
| NMSettingTun | 
The NMSettingTun object is a NMSetting subclass that describes properties necessary for connection to TUN/TAP interfaces.
NMSetting *
nm_setting_tun_new (void);
Creates a new NMSettingTun object with default values.
Since: 1.2
NMSettingTunMode
nm_setting_tun_get_mode (NMSettingTun *setting);
Since: 1.2
const char *
nm_setting_tun_get_owner (NMSettingTun *setting);
Since: 1.2
const char *
nm_setting_tun_get_group (NMSettingTun *setting);
Since: 1.2
gboolean
nm_setting_tun_get_vnet_hdr (NMSettingTun *setting);
Since: 1.2
gboolean
nm_setting_tun_get_multi_queue (NMSettingTun *setting);
Since: 1.2
“group” property  “group”                    char *
The group ID which will own the device. If set to NULL everyone
will be able to use the device.
Owner: NMSettingTun
Flags: Read / Write
Default value: NULL
Since: 1.2
“mode” property  “mode”                     guint
The operating mode of the virtual device. Allowed values are
NM_SETTING_TUN_MODE_TUN to create a layer 3 device and
NM_SETTING_TUN_MODE_TAP to create an Ethernet-like layer 2
one.
Owner: NMSettingTun
Flags: Read / Write
Default value: 1
Since: 1.2
“multi-queue” property  “multi-queue”              gboolean
If the property is set to TRUE, the interface will support
multiple file descriptors (queues) to parallelize packet
sending or receiving. Otherwise, the interface will only
support a single queue.
Owner: NMSettingTun
Flags: Read / Write
Default value: FALSE
Since: 1.2
“owner” property  “owner”                    char *
The user ID which will own the device. If set to NULL everyone
will be able to use the device.
Owner: NMSettingTun
Flags: Read / Write
Default value: NULL
Since: 1.2
“pi” property  “pi”                       gboolean
If TRUE the interface will prepend a 4 byte header describing the
physical interface to the packets.
Owner: NMSettingTun
Flags: Read / Write
Default value: FALSE
Since: 1.2