Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.NM.Objects.SettingIPTunnel
Contents
Description
IP Tunneling Settings
Synopsis
- newtype SettingIPTunnel = SettingIPTunnel (ManagedPtr SettingIPTunnel)
- class (GObject o, IsDescendantOf SettingIPTunnel o) => IsSettingIPTunnel o
- toSettingIPTunnel :: (MonadIO m, IsSettingIPTunnel o) => o -> m SettingIPTunnel
- settingIPTunnelGetEncapsulationLimit :: (HasCallStack, MonadIO m, IsSettingIPTunnel a) => a -> m Word32
- settingIPTunnelGetFlags :: (HasCallStack, MonadIO m, IsSettingIPTunnel a) => a -> m [IPTunnelFlags]
- settingIPTunnelGetFlowLabel :: (HasCallStack, MonadIO m, IsSettingIPTunnel a) => a -> m Word32
- settingIPTunnelGetFwmark :: (HasCallStack, MonadIO m, IsSettingIPTunnel a) => a -> m Word32
- settingIPTunnelGetInputKey :: (HasCallStack, MonadIO m, IsSettingIPTunnel a) => a -> m Text
- settingIPTunnelGetLocal :: (HasCallStack, MonadIO m, IsSettingIPTunnel a) => a -> m Text
- settingIPTunnelGetMode :: (HasCallStack, MonadIO m, IsSettingIPTunnel a) => a -> m IPTunnelMode
- settingIPTunnelGetMtu :: (HasCallStack, MonadIO m, IsSettingIPTunnel a) => a -> m Word32
- settingIPTunnelGetOutputKey :: (HasCallStack, MonadIO m, IsSettingIPTunnel a) => a -> m Text
- settingIPTunnelGetParent :: (HasCallStack, MonadIO m, IsSettingIPTunnel a) => a -> m Text
- settingIPTunnelGetPathMtuDiscovery :: (HasCallStack, MonadIO m, IsSettingIPTunnel a) => a -> m Bool
- settingIPTunnelGetRemote :: (HasCallStack, MonadIO m, IsSettingIPTunnel a) => a -> m Text
- settingIPTunnelGetTos :: (HasCallStack, MonadIO m, IsSettingIPTunnel a) => a -> m Word32
- settingIPTunnelGetTtl :: (HasCallStack, MonadIO m, IsSettingIPTunnel a) => a -> m Word32
- settingIPTunnelNew :: (HasCallStack, MonadIO m) => m SettingIPTunnel
- constructSettingIPTunnelEncapsulationLimit :: (IsSettingIPTunnel o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingIPTunnelEncapsulationLimit :: (MonadIO m, IsSettingIPTunnel o) => o -> m Word32
- setSettingIPTunnelEncapsulationLimit :: (MonadIO m, IsSettingIPTunnel o) => o -> Word32 -> m ()
- constructSettingIPTunnelFlags :: (IsSettingIPTunnel o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingIPTunnelFlags :: (MonadIO m, IsSettingIPTunnel o) => o -> m Word32
- setSettingIPTunnelFlags :: (MonadIO m, IsSettingIPTunnel o) => o -> Word32 -> m ()
- constructSettingIPTunnelFlowLabel :: (IsSettingIPTunnel o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingIPTunnelFlowLabel :: (MonadIO m, IsSettingIPTunnel o) => o -> m Word32
- setSettingIPTunnelFlowLabel :: (MonadIO m, IsSettingIPTunnel o) => o -> Word32 -> m ()
- constructSettingIPTunnelFwmark :: (IsSettingIPTunnel o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingIPTunnelFwmark :: (MonadIO m, IsSettingIPTunnel o) => o -> m Word32
- setSettingIPTunnelFwmark :: (MonadIO m, IsSettingIPTunnel o) => o -> Word32 -> m ()
- clearSettingIPTunnelInputKey :: (MonadIO m, IsSettingIPTunnel o) => o -> m ()
- constructSettingIPTunnelInputKey :: (IsSettingIPTunnel o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingIPTunnelInputKey :: (MonadIO m, IsSettingIPTunnel o) => o -> m Text
- setSettingIPTunnelInputKey :: (MonadIO m, IsSettingIPTunnel o) => o -> Text -> m ()
- clearSettingIPTunnelLocal :: (MonadIO m, IsSettingIPTunnel o) => o -> m ()
- constructSettingIPTunnelLocal :: (IsSettingIPTunnel o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingIPTunnelLocal :: (MonadIO m, IsSettingIPTunnel o) => o -> m Text
- setSettingIPTunnelLocal :: (MonadIO m, IsSettingIPTunnel o) => o -> Text -> m ()
- constructSettingIPTunnelMode :: (IsSettingIPTunnel o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingIPTunnelMode :: (MonadIO m, IsSettingIPTunnel o) => o -> m Word32
- setSettingIPTunnelMode :: (MonadIO m, IsSettingIPTunnel o) => o -> Word32 -> m ()
- constructSettingIPTunnelMtu :: (IsSettingIPTunnel o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingIPTunnelMtu :: (MonadIO m, IsSettingIPTunnel o) => o -> m Word32
- setSettingIPTunnelMtu :: (MonadIO m, IsSettingIPTunnel o) => o -> Word32 -> m ()
- clearSettingIPTunnelOutputKey :: (MonadIO m, IsSettingIPTunnel o) => o -> m ()
- constructSettingIPTunnelOutputKey :: (IsSettingIPTunnel o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingIPTunnelOutputKey :: (MonadIO m, IsSettingIPTunnel o) => o -> m Text
- setSettingIPTunnelOutputKey :: (MonadIO m, IsSettingIPTunnel o) => o -> Text -> m ()
- clearSettingIPTunnelParent :: (MonadIO m, IsSettingIPTunnel o) => o -> m ()
- constructSettingIPTunnelParent :: (IsSettingIPTunnel o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingIPTunnelParent :: (MonadIO m, IsSettingIPTunnel o) => o -> m Text
- setSettingIPTunnelParent :: (MonadIO m, IsSettingIPTunnel o) => o -> Text -> m ()
- constructSettingIPTunnelPathMtuDiscovery :: (IsSettingIPTunnel o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingIPTunnelPathMtuDiscovery :: (MonadIO m, IsSettingIPTunnel o) => o -> m Bool
- setSettingIPTunnelPathMtuDiscovery :: (MonadIO m, IsSettingIPTunnel o) => o -> Bool -> m ()
- clearSettingIPTunnelRemote :: (MonadIO m, IsSettingIPTunnel o) => o -> m ()
- constructSettingIPTunnelRemote :: (IsSettingIPTunnel o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingIPTunnelRemote :: (MonadIO m, IsSettingIPTunnel o) => o -> m Text
- setSettingIPTunnelRemote :: (MonadIO m, IsSettingIPTunnel o) => o -> Text -> m ()
- constructSettingIPTunnelTos :: (IsSettingIPTunnel o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingIPTunnelTos :: (MonadIO m, IsSettingIPTunnel o) => o -> m Word32
- setSettingIPTunnelTos :: (MonadIO m, IsSettingIPTunnel o) => o -> Word32 -> m ()
- constructSettingIPTunnelTtl :: (IsSettingIPTunnel o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingIPTunnelTtl :: (MonadIO m, IsSettingIPTunnel o) => o -> m Word32
- setSettingIPTunnelTtl :: (MonadIO m, IsSettingIPTunnel o) => o -> Word32 -> m ()
Exported types
newtype SettingIPTunnel Source #
Memory-managed wrapper type.
Constructors
SettingIPTunnel (ManagedPtr SettingIPTunnel) |
Instances
Eq SettingIPTunnel Source # | |
Defined in GI.NM.Objects.SettingIPTunnel Methods (==) :: SettingIPTunnel -> SettingIPTunnel -> Bool # (/=) :: SettingIPTunnel -> SettingIPTunnel -> Bool # | |
GObject SettingIPTunnel Source # | |
Defined in GI.NM.Objects.SettingIPTunnel | |
ManagedPtrNewtype SettingIPTunnel Source # | |
Defined in GI.NM.Objects.SettingIPTunnel Methods toManagedPtr :: SettingIPTunnel -> ManagedPtr SettingIPTunnel # | |
TypedObject SettingIPTunnel Source # | |
Defined in GI.NM.Objects.SettingIPTunnel | |
HasParentTypes SettingIPTunnel Source # | |
Defined in GI.NM.Objects.SettingIPTunnel | |
IsGValue (Maybe SettingIPTunnel) Source # | Convert |
Defined in GI.NM.Objects.SettingIPTunnel Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe SettingIPTunnel -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe SettingIPTunnel) # | |
type ParentTypes SettingIPTunnel Source # | |
Defined in GI.NM.Objects.SettingIPTunnel |
class (GObject o, IsDescendantOf SettingIPTunnel o) => IsSettingIPTunnel o Source #
Type class for types which can be safely cast to SettingIPTunnel
, for instance with toSettingIPTunnel
.
Instances
(GObject o, IsDescendantOf SettingIPTunnel o) => IsSettingIPTunnel o Source # | |
Defined in GI.NM.Objects.SettingIPTunnel |
toSettingIPTunnel :: (MonadIO m, IsSettingIPTunnel o) => o -> m SettingIPTunnel Source #
Cast to SettingIPTunnel
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, compare, diff, duplicate, enumerateValues, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, optionClearByName, optionGet, optionGetAllNames, optionGetBoolean, optionGetUint32, optionSet, optionSetBoolean, optionSetUint32, ref, refSink, runDispose, stealData, stealQdata, thawNotify, toString, unref, verify, verifySecrets, watchClosure.
Getters
getData, getDbusPropertyType, getEncapsulationLimit, getFlags, getFlowLabel, getFwmark, getInputKey, getLocal, getMode, getMtu, getName, getOutputKey, getParent, getPathMtuDiscovery, getProperty, getQdata, getRemote, getSecretFlags, getTos, getTtl.
Setters
getEncapsulationLimit
settingIPTunnelGetEncapsulationLimit Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingIPTunnel a) | |
=> a |
|
-> m Word32 | Returns: the encapsulation limit value |
Returns the SettingIPTunnel:encapsulationLimit property of the setting.
Since: 1.42
getFlags
settingIPTunnelGetFlags Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingIPTunnel a) | |
=> a |
|
-> m [IPTunnelFlags] | Returns: the tunnel flags |
Returns the SettingIPTunnel:flags property of the setting.
Since: 1.12
getFlowLabel
settingIPTunnelGetFlowLabel Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingIPTunnel a) | |
=> a |
|
-> m Word32 | Returns: the flow label value |
Returns the SettingIPTunnel:flowLabel property of the setting.
Since: 1.42
getFwmark
settingIPTunnelGetFwmark Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingIPTunnel a) | |
=> a |
|
-> m Word32 | Returns: the fwmark value |
Returns the SettingIPTunnel:fwmark property of the setting.
Since: 1.42
getInputKey
settingIPTunnelGetInputKey Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingIPTunnel a) | |
=> a |
|
-> m Text | Returns: the input key |
Returns the SettingIPTunnel:inputKey property of the setting.
Since: 1.2
getLocal
settingIPTunnelGetLocal Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingIPTunnel a) | |
=> a |
|
-> m Text | Returns: the local endpoint |
Returns the SettingIPTunnel:local property of the setting.
Since: 1.2
getMode
settingIPTunnelGetMode Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingIPTunnel a) | |
=> a |
|
-> m IPTunnelMode | Returns: the tunnel mode |
Returns the SettingIPTunnel:mode property of the setting.
Since: 1.2
getMtu
settingIPTunnelGetMtu Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingIPTunnel a) | |
=> a |
|
-> m Word32 | Returns: the MTU |
Returns the SettingIPTunnel:mtu property of the setting.
Since: 1.2
getOutputKey
settingIPTunnelGetOutputKey Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingIPTunnel a) | |
=> a |
|
-> m Text | Returns: the output key |
Returns the SettingIPTunnel:outputKey property of the setting.
Since: 1.2
getParent
settingIPTunnelGetParent Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingIPTunnel a) | |
=> a |
|
-> m Text | Returns: the parent device |
Returns the SettingIPTunnel:parent property of the setting
Since: 1.2
getPathMtuDiscovery
settingIPTunnelGetPathMtuDiscovery Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingIPTunnel a) | |
=> a |
|
-> m Bool | Returns: whether path MTU discovery is enabled |
Returns the SettingIPTunnel:pathMtuDiscovery property of the setting.
Since: 1.2
getRemote
settingIPTunnelGetRemote Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingIPTunnel a) | |
=> a |
|
-> m Text | Returns: the remote endpoint |
Returns the SettingIPTunnel:remote property of the setting.
Since: 1.2
getTos
settingIPTunnelGetTos Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingIPTunnel a) | |
=> a |
|
-> m Word32 | Returns: the TOS value |
Returns the SettingIPTunnel:tos property of the setting.
Since: 1.2
getTtl
settingIPTunnelGetTtl Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingIPTunnel a) | |
=> a |
|
-> m Word32 | Returns: the Time-to-live value |
Returns the SettingIPTunnel:ttl property of the setting.
Since: 1.2
new
Arguments
:: (HasCallStack, MonadIO m) | |
=> m SettingIPTunnel | Returns: the new empty |
Creates a new SettingIPTunnel
object with default values.
Since: 1.2
Properties
encapsulationLimit
How many additional levels of encapsulation are permitted to be prepended
to packets. This property applies only to IPv6 tunnels. To disable this option,
add IPTunnelFlagsIp6IgnEncapLimit
to ip-tunnel flags.
Since: 1.2
constructSettingIPTunnelEncapsulationLimit :: (IsSettingIPTunnel o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “encapsulation-limit
” property. This is rarely needed directly, but it is used by new
.
getSettingIPTunnelEncapsulationLimit :: (MonadIO m, IsSettingIPTunnel o) => o -> m Word32 Source #
Get the value of the “encapsulation-limit
” property.
When overloading is enabled, this is equivalent to
get
settingIPTunnel #encapsulationLimit
setSettingIPTunnelEncapsulationLimit :: (MonadIO m, IsSettingIPTunnel o) => o -> Word32 -> m () Source #
Set the value of the “encapsulation-limit
” property.
When overloading is enabled, this is equivalent to
set
settingIPTunnel [ #encapsulationLimit:=
value ]
flags
Tunnel flags. Currently, the following values are supported:
IPTunnelFlagsIp6IgnEncapLimit
, IPTunnelFlagsIp6UseOrigTclass
,
IPTunnelFlagsIp6UseOrigFlowlabel
, IPTunnelFlagsIp6Mip6Dev
,
IPTunnelFlagsIp6RcvDscpCopy
, IPTunnelFlagsIp6UseOrigFwmark
.
They are valid only for IPv6 tunnels.
Since: 1.12
constructSettingIPTunnelFlags :: (IsSettingIPTunnel o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “flags
” property. This is rarely needed directly, but it is used by new
.
getSettingIPTunnelFlags :: (MonadIO m, IsSettingIPTunnel o) => o -> m Word32 Source #
Get the value of the “flags
” property.
When overloading is enabled, this is equivalent to
get
settingIPTunnel #flags
setSettingIPTunnelFlags :: (MonadIO m, IsSettingIPTunnel o) => o -> Word32 -> m () Source #
Set the value of the “flags
” property.
When overloading is enabled, this is equivalent to
set
settingIPTunnel [ #flags:=
value ]
flowLabel
The flow label to assign to tunnel packets. This property applies only to IPv6 tunnels.
Since: 1.2
constructSettingIPTunnelFlowLabel :: (IsSettingIPTunnel o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “flow-label
” property. This is rarely needed directly, but it is used by new
.
getSettingIPTunnelFlowLabel :: (MonadIO m, IsSettingIPTunnel o) => o -> m Word32 Source #
Get the value of the “flow-label
” property.
When overloading is enabled, this is equivalent to
get
settingIPTunnel #flowLabel
setSettingIPTunnelFlowLabel :: (MonadIO m, IsSettingIPTunnel o) => o -> Word32 -> m () Source #
Set the value of the “flow-label
” property.
When overloading is enabled, this is equivalent to
set
settingIPTunnel [ #flowLabel:=
value ]
fwmark
The fwmark value to assign to tunnel packets. This property can be set to a non zero value only on VTI and VTI6 tunnels.
Since: 1.42
constructSettingIPTunnelFwmark :: (IsSettingIPTunnel o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “fwmark
” property. This is rarely needed directly, but it is used by new
.
getSettingIPTunnelFwmark :: (MonadIO m, IsSettingIPTunnel o) => o -> m Word32 Source #
Get the value of the “fwmark
” property.
When overloading is enabled, this is equivalent to
get
settingIPTunnel #fwmark
setSettingIPTunnelFwmark :: (MonadIO m, IsSettingIPTunnel o) => o -> Word32 -> m () Source #
Set the value of the “fwmark
” property.
When overloading is enabled, this is equivalent to
set
settingIPTunnel [ #fwmark:=
value ]
inputKey
The key used for tunnel input packets; the property is valid only for certain tunnel modes (GRE, IP6GRE). If empty, no key is used.
Since: 1.2
clearSettingIPTunnelInputKey :: (MonadIO m, IsSettingIPTunnel o) => o -> m () Source #
Set the value of the “input-key
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#inputKey
constructSettingIPTunnelInputKey :: (IsSettingIPTunnel o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “input-key
” property. This is rarely needed directly, but it is used by new
.
getSettingIPTunnelInputKey :: (MonadIO m, IsSettingIPTunnel o) => o -> m Text Source #
Get the value of the “input-key
” property.
When overloading is enabled, this is equivalent to
get
settingIPTunnel #inputKey
setSettingIPTunnelInputKey :: (MonadIO m, IsSettingIPTunnel o) => o -> Text -> m () Source #
Set the value of the “input-key
” property.
When overloading is enabled, this is equivalent to
set
settingIPTunnel [ #inputKey:=
value ]
local
The local endpoint of the tunnel; the value can be empty, otherwise it must contain an IPv4 or IPv6 address.
Since: 1.2
clearSettingIPTunnelLocal :: (MonadIO m, IsSettingIPTunnel o) => o -> m () Source #
Set the value of the “local
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#local
constructSettingIPTunnelLocal :: (IsSettingIPTunnel o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “local
” property. This is rarely needed directly, but it is used by new
.
getSettingIPTunnelLocal :: (MonadIO m, IsSettingIPTunnel o) => o -> m Text Source #
Get the value of the “local
” property.
When overloading is enabled, this is equivalent to
get
settingIPTunnel #local
setSettingIPTunnelLocal :: (MonadIO m, IsSettingIPTunnel o) => o -> Text -> m () Source #
Set the value of the “local
” property.
When overloading is enabled, this is equivalent to
set
settingIPTunnel [ #local:=
value ]
mode
The tunneling mode. Valid values: IPTunnelModeIpip
,
IPTunnelModeGre
, IPTunnelModeSit
, IPTunnelModeIsatap
,
IPTunnelModeVti
, IPTunnelModeIp6ip6
, IPTunnelModeIpip6
,
IPTunnelModeIp6gre
, IPTunnelModeVti6
, IPTunnelModeGretap
and IPTunnelModeIp6gretap
Since: 1.2
constructSettingIPTunnelMode :: (IsSettingIPTunnel o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “mode
” property. This is rarely needed directly, but it is used by new
.
getSettingIPTunnelMode :: (MonadIO m, IsSettingIPTunnel o) => o -> m Word32 Source #
Get the value of the “mode
” property.
When overloading is enabled, this is equivalent to
get
settingIPTunnel #mode
setSettingIPTunnelMode :: (MonadIO m, IsSettingIPTunnel o) => o -> Word32 -> m () Source #
Set the value of the “mode
” property.
When overloading is enabled, this is equivalent to
set
settingIPTunnel [ #mode:=
value ]
mtu
If non-zero, only transmit packets of the specified size or smaller, breaking larger packets up into multiple fragments.
Since: 1.2
constructSettingIPTunnelMtu :: (IsSettingIPTunnel o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “mtu
” property. This is rarely needed directly, but it is used by new
.
getSettingIPTunnelMtu :: (MonadIO m, IsSettingIPTunnel o) => o -> m Word32 Source #
Get the value of the “mtu
” property.
When overloading is enabled, this is equivalent to
get
settingIPTunnel #mtu
setSettingIPTunnelMtu :: (MonadIO m, IsSettingIPTunnel o) => o -> Word32 -> m () Source #
Set the value of the “mtu
” property.
When overloading is enabled, this is equivalent to
set
settingIPTunnel [ #mtu:=
value ]
outputKey
The key used for tunnel output packets; the property is valid only for certain tunnel modes (GRE, IP6GRE). If empty, no key is used.
Since: 1.2
clearSettingIPTunnelOutputKey :: (MonadIO m, IsSettingIPTunnel o) => o -> m () Source #
Set the value of the “output-key
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#outputKey
constructSettingIPTunnelOutputKey :: (IsSettingIPTunnel o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “output-key
” property. This is rarely needed directly, but it is used by new
.
getSettingIPTunnelOutputKey :: (MonadIO m, IsSettingIPTunnel o) => o -> m Text Source #
Get the value of the “output-key
” property.
When overloading is enabled, this is equivalent to
get
settingIPTunnel #outputKey
setSettingIPTunnelOutputKey :: (MonadIO m, IsSettingIPTunnel o) => o -> Text -> m () Source #
Set the value of the “output-key
” property.
When overloading is enabled, this is equivalent to
set
settingIPTunnel [ #outputKey:=
value ]
parent
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.
Since: 1.2
clearSettingIPTunnelParent :: (MonadIO m, IsSettingIPTunnel o) => o -> m () Source #
Set the value of the “parent
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#parent
constructSettingIPTunnelParent :: (IsSettingIPTunnel o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “parent
” property. This is rarely needed directly, but it is used by new
.
getSettingIPTunnelParent :: (MonadIO m, IsSettingIPTunnel o) => o -> m Text Source #
Get the value of the “parent
” property.
When overloading is enabled, this is equivalent to
get
settingIPTunnel #parent
setSettingIPTunnelParent :: (MonadIO m, IsSettingIPTunnel o) => o -> Text -> m () Source #
Set the value of the “parent
” property.
When overloading is enabled, this is equivalent to
set
settingIPTunnel [ #parent:=
value ]
pathMtuDiscovery
Whether to enable Path MTU Discovery on this tunnel.
Since: 1.2
constructSettingIPTunnelPathMtuDiscovery :: (IsSettingIPTunnel o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “path-mtu-discovery
” property. This is rarely needed directly, but it is used by new
.
getSettingIPTunnelPathMtuDiscovery :: (MonadIO m, IsSettingIPTunnel o) => o -> m Bool Source #
Get the value of the “path-mtu-discovery
” property.
When overloading is enabled, this is equivalent to
get
settingIPTunnel #pathMtuDiscovery
setSettingIPTunnelPathMtuDiscovery :: (MonadIO m, IsSettingIPTunnel o) => o -> Bool -> m () Source #
Set the value of the “path-mtu-discovery
” property.
When overloading is enabled, this is equivalent to
set
settingIPTunnel [ #pathMtuDiscovery:=
value ]
remote
The remote endpoint of the tunnel; the value must contain an IPv4 or IPv6 address.
Since: 1.2
clearSettingIPTunnelRemote :: (MonadIO m, IsSettingIPTunnel o) => o -> m () Source #
Set the value of the “remote
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#remote
constructSettingIPTunnelRemote :: (IsSettingIPTunnel o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “remote
” property. This is rarely needed directly, but it is used by new
.
getSettingIPTunnelRemote :: (MonadIO m, IsSettingIPTunnel o) => o -> m Text Source #
Get the value of the “remote
” property.
When overloading is enabled, this is equivalent to
get
settingIPTunnel #remote
setSettingIPTunnelRemote :: (MonadIO m, IsSettingIPTunnel o) => o -> Text -> m () Source #
Set the value of the “remote
” property.
When overloading is enabled, this is equivalent to
set
settingIPTunnel [ #remote:=
value ]
tos
The type of service (IPv4) or traffic class (IPv6) field to be set on tunneled packets.
Since: 1.2
constructSettingIPTunnelTos :: (IsSettingIPTunnel o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “tos
” property. This is rarely needed directly, but it is used by new
.
getSettingIPTunnelTos :: (MonadIO m, IsSettingIPTunnel o) => o -> m Word32 Source #
Get the value of the “tos
” property.
When overloading is enabled, this is equivalent to
get
settingIPTunnel #tos
setSettingIPTunnelTos :: (MonadIO m, IsSettingIPTunnel o) => o -> Word32 -> m () Source #
Set the value of the “tos
” property.
When overloading is enabled, this is equivalent to
set
settingIPTunnel [ #tos:=
value ]
ttl
The TTL to assign to tunneled packets. 0 is a special value meaning that packets inherit the TTL value.
Since: 1.2
constructSettingIPTunnelTtl :: (IsSettingIPTunnel o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “ttl
” property. This is rarely needed directly, but it is used by new
.
getSettingIPTunnelTtl :: (MonadIO m, IsSettingIPTunnel o) => o -> m Word32 Source #
Get the value of the “ttl
” property.
When overloading is enabled, this is equivalent to
get
settingIPTunnel #ttl
setSettingIPTunnelTtl :: (MonadIO m, IsSettingIPTunnel o) => o -> Word32 -> m () Source #
Set the value of the “ttl
” property.
When overloading is enabled, this is equivalent to
set
settingIPTunnel [ #ttl:=
value ]