![]() |
![]() |
![]() |
libnm Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
#define NM_DEVICE_IP_TUNNEL_MODE #define NM_DEVICE_IP_TUNNEL_PARENT #define NM_DEVICE_IP_TUNNEL_LOCAL #define NM_DEVICE_IP_TUNNEL_REMOTE #define NM_DEVICE_IP_TUNNEL_TTL #define NM_DEVICE_IP_TUNNEL_TOS #define NM_DEVICE_IP_TUNNEL_PATH_MTU_DISCOVERY #define NM_DEVICE_IP_TUNNEL_INPUT_KEY #define NM_DEVICE_IP_TUNNEL_OUTPUT_KEY #define NM_DEVICE_IP_TUNNEL_ENCAPSULATION_LIMIT #define NM_DEVICE_IP_TUNNEL_FLOW_LABEL NMDeviceIPTunnel; NMDeviceIPTunnelClass; NMDevice * nm_device_ip_tunnel_get_parent (NMDeviceIPTunnel *device
); NMIPTunnelMode nm_device_ip_tunnel_get_mode (NMDeviceIPTunnel *device
); const char * nm_device_ip_tunnel_get_local (NMDeviceIPTunnel *device
); const char * nm_device_ip_tunnel_get_remote (NMDeviceIPTunnel *device
); guint8 nm_device_ip_tunnel_get_ttl (NMDeviceIPTunnel *device
); guint8 nm_device_ip_tunnel_get_tos (NMDeviceIPTunnel *device
); gboolean nm_device_ip_tunnel_get_path_mtu_discovery (NMDeviceIPTunnel *device
); const char * nm_device_ip_tunnel_get_input_key (NMDeviceIPTunnel *device
); const char * nm_device_ip_tunnel_get_output_key (NMDeviceIPTunnel *device
); guint8 nm_device_ip_tunnel_get_encapsulation_limit (NMDeviceIPTunnel *device
); guint nm_device_ip_tunnel_get_flow_label (NMDeviceIPTunnel *device
);
"encapsulation-limit" guchar : Read "flow-label" guint : Read "input-key" gchar* : Read "local" gchar* : Read "mode" guint : Read "output-key" gchar* : Read "parent" NMDevice* : Read "path-mtu-discovery" gboolean : Read "remote" gchar* : Read "tos" guchar : Read "ttl" guchar : Read
#define NM_DEVICE_IP_TUNNEL_PATH_MTU_DISCOVERY "path-mtu-discovery"
#define NM_DEVICE_IP_TUNNEL_ENCAPSULATION_LIMIT "encapsulation-limit"
NMDevice * nm_device_ip_tunnel_get_parent (NMDeviceIPTunnel *device
);
|
a NMDeviceIPTunnel |
Returns : |
the device's parent device. [transfer none] |
Since 1.2
NMIPTunnelMode nm_device_ip_tunnel_get_mode (NMDeviceIPTunnel *device
);
|
a NMDeviceIPTunnel |
Returns : |
the tunneling mode |
Since 1.2
const char * nm_device_ip_tunnel_get_local (NMDeviceIPTunnel *device
);
|
a NMDeviceIPTunnel |
Returns : |
the local endpoint of the tunnel |
Since 1.2
const char * nm_device_ip_tunnel_get_remote (NMDeviceIPTunnel *device
);
|
a NMDeviceIPTunnel |
Returns : |
the remote endpoint of the tunnel |
Since 1.2
guint8 nm_device_ip_tunnel_get_ttl (NMDeviceIPTunnel *device
);
|
a NMDeviceIPTunnel |
Returns : |
the TTL assigned to tunneled packets |
Since 1.2
guint8 nm_device_ip_tunnel_get_tos (NMDeviceIPTunnel *device
);
|
a NMDeviceIPTunnel |
Returns : |
type of service (IPv4) or traffic class (IPv6) assigned to tunneled packets. |
Since 1.2
gboolean nm_device_ip_tunnel_get_path_mtu_discovery
(NMDeviceIPTunnel *device
);
|
a NMDeviceIPTunnel |
Returns : |
whether path MTU discovery is enabled |
Since 1.2
const char * nm_device_ip_tunnel_get_input_key (NMDeviceIPTunnel *device
);
|
a NMDeviceIPTunnel |
Returns : |
the key used for incoming packets |
Since 1.2
const char * nm_device_ip_tunnel_get_output_key (NMDeviceIPTunnel *device
);
|
a NMDeviceIPTunnel |
Returns : |
the key used for outgoing packets |
Since 1.2
guint8 nm_device_ip_tunnel_get_encapsulation_limit
(NMDeviceIPTunnel *device
);
|
a NMDeviceIPTunnel |
Returns : |
the maximum permitted encapsulation level |
Since 1.2
guint nm_device_ip_tunnel_get_flow_label (NMDeviceIPTunnel *device
);
|
a NMDeviceIPTunnel |
Returns : |
the flow label assigned to tunnel packets |
Since 1.2
"encapsulation-limit"
property "encapsulation-limit" guchar : Read
How many additional levels of encapsulation are permitted to be prepended to packets. This property applies only to IPv6 tunnels.
Default value: 0
Since 1.2
"flow-label"
property "flow-label" guint : Read
The flow label to assign to tunnel packets. This property applies only to IPv6 tunnels.
Allowed values: <= 1048575
Default value: 0
Since 1.2
"input-key"
property "input-key" gchar* : Read
The key used for tunneled input packets, if applicable.
Default value: NULL
Since 1.2
"local"
property "local" gchar* : Read
The local endpoint of the tunnel.
Default value: NULL
Since 1.2
"mode"
property "mode" guint : Read
The tunneling mode of the device.
Default value: 0
Since 1.2
"output-key"
property "output-key" gchar* : Read
The key used for tunneled output packets, if applicable.
Default value: NULL
Since 1.2
"path-mtu-discovery"
property "path-mtu-discovery" gboolean : Read
Whether path MTU discovery is enabled on this tunnel.
Default value: FALSE
Since 1.2
"remote"
property "remote" gchar* : Read
The remote endpoint of the tunnel.
Default value: NULL
Since 1.2
"tos"
property "tos" guchar : Read
The type of service (IPv4) or traffic class (IPv6) assigned to tunneled packets.
Default value: 0
Since 1.2