SettingIPTunnel
Object Hierarchy:
Description:
[ CCode ( type_id = "nm_setting_ip_tunnel_get_type ()" ) ]
public sealed class SettingIPTunnel : Setting
public sealed class SettingIPTunnel : Setting
IP Tunneling Settings
Namespace: NM
Package: libnm
Content:
Constants:
- public const string ENCAPSULATION_LIMIT
- public const string FLAGS
- public const string FLOW_LABEL
- public const string FWMARK
- public const string INPUT_KEY
- public const string LOCAL
- public const string MODE
- public const string MTU
- public const string OUTPUT_KEY
- public const string PARENT
- public const string PATH_MTU_DISCOVERY
- public const string REMOTE
- public const string SETTING_NAME
- public const string TOS
- public const string TTL
Properties:
- public uint encapsulation_limit { get; set; }
How many additional levels of encapsulation are permitted to be prepended to packets.
- public uint flags { get; set; }
Tunnel flags.
- public uint flow_label { get; set; }
The flow label to assign to tunnel packets.
- public uint fwmark { get; set; }
The fwmark value to assign to tunnel packets.
- public string input_key { owned get; set; }
The key used for tunnel input packets; the property is valid only for certain tunnel modes (GRE, IP6GRE).
- public string local { owned get; set; }
The local endpoint of the tunnel; the value can be empty, otherwise it must contain an IPv4 or IPv6 address.
- public uint mode { get; set; }
The tunneling mode, for example nm_ip_tunnel_mode_ipip or nm_ip_tunnel_mode_gre.
- public uint mtu { get; set; }
If non-zero, only transmit packets of the specified size or smaller, breaking larger packets up into multiple fragments.
- public string output_key { owned get; set; }
The key used for tunnel output packets; the property is valid only for certain tunnel modes (GRE, IP6GRE).
- public string parent { owned get; set; }
If given, specifies the parent interface name or parent connection UUID the new device will be bound to so that tunneled packets will only be routed via that interface.
- public bool path_mtu_discovery { get; set; }
Whether to enable Path MTU Discovery on this tunnel.
- public string remote { owned get; set; }
The remote endpoint of the tunnel; the value must contain an IPv4 or IPv6 address.
- public uint tos { get; set; }
The type of service (IPv4) or traffic class (IPv6) field to be set on tunneled packets.
- public uint ttl { get; set; }
The TTL to assign to tunneled packets.
Creation methods:
- public SettingIPTunnel ()
Creates a new SettingIPTunnel object with default values.
Methods:
- public uint get_encapsulation_limit ()
Returns the encapsulation_limit property of the setting.
- public IPTunnelFlags get_flags ()
Returns the flags property of the setting.
- public uint get_flow_label ()
Returns the flow_label property of the setting.
- public uint32 get_fwmark ()
Returns the fwmark property of the setting.
- public unowned string get_input_key ()
Returns the input_key property of the setting.
- public unowned string get_local ()
Returns the local property of the setting.
- public IPTunnelMode get_mode ()
Returns the mode property of the setting.
- public uint get_mtu ()
Returns the mtu property of the setting.
- public unowned string get_output_key ()
Returns the output_key property of the setting.
- public unowned string get_parent ()
Returns the parent property of the setting
- public bool get_path_mtu_discovery ()
Returns the path_mtu_discovery property of the setting.
- public unowned string get_remote ()
Returns the remote property of the setting.
- public uint get_tos ()
Returns the tos property of the setting.
- public uint get_ttl ()
Returns the ttl property of the setting.
Inherited Members:
All known members inherited from class NM.Setting
All known members inherited from class GLib.Object