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.DeviceIPTunnel
Description
No description available in the introspection data.
Since: 1.2
Synopsis
- newtype DeviceIPTunnel = DeviceIPTunnel (ManagedPtr DeviceIPTunnel)
- class (GObject o, IsDescendantOf DeviceIPTunnel o) => IsDeviceIPTunnel o
- toDeviceIPTunnel :: (MonadIO m, IsDeviceIPTunnel o) => o -> m DeviceIPTunnel
- deviceIPTunnelGetEncapsulationLimit :: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) => a -> m Word8
- deviceIPTunnelGetFlags :: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) => a -> m [IPTunnelFlags]
- deviceIPTunnelGetFlowLabel :: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) => a -> m Word32
- deviceIPTunnelGetFwmark :: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) => a -> m Word32
- deviceIPTunnelGetInputKey :: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) => a -> m Text
- deviceIPTunnelGetLocal :: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) => a -> m Text
- deviceIPTunnelGetMode :: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) => a -> m IPTunnelMode
- deviceIPTunnelGetOutputKey :: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) => a -> m Text
- deviceIPTunnelGetParent :: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) => a -> m Device
- deviceIPTunnelGetPathMtuDiscovery :: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) => a -> m Bool
- deviceIPTunnelGetRemote :: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) => a -> m Text
- deviceIPTunnelGetTos :: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) => a -> m Word8
- deviceIPTunnelGetTtl :: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) => a -> m Word8
- getDeviceIPTunnelFlags :: (MonadIO m, IsDeviceIPTunnel o) => o -> m Word32
- getDeviceIPTunnelFlowLabel :: (MonadIO m, IsDeviceIPTunnel o) => o -> m Word32
- getDeviceIPTunnelFwmark :: (MonadIO m, IsDeviceIPTunnel o) => o -> m Word32
- getDeviceIPTunnelInputKey :: (MonadIO m, IsDeviceIPTunnel o) => o -> m Text
- getDeviceIPTunnelLocal :: (MonadIO m, IsDeviceIPTunnel o) => o -> m Text
- getDeviceIPTunnelMode :: (MonadIO m, IsDeviceIPTunnel o) => o -> m Word32
- getDeviceIPTunnelOutputKey :: (MonadIO m, IsDeviceIPTunnel o) => o -> m Text
- getDeviceIPTunnelParent :: (MonadIO m, IsDeviceIPTunnel o) => o -> m Device
- getDeviceIPTunnelPathMtuDiscovery :: (MonadIO m, IsDeviceIPTunnel o) => o -> m Bool
- getDeviceIPTunnelRemote :: (MonadIO m, IsDeviceIPTunnel o) => o -> m Text
Exported types
newtype DeviceIPTunnel Source #
Memory-managed wrapper type.
Constructors
DeviceIPTunnel (ManagedPtr DeviceIPTunnel) |
Instances
Eq DeviceIPTunnel Source # | |
Defined in GI.NM.Objects.DeviceIPTunnel Methods (==) :: DeviceIPTunnel -> DeviceIPTunnel -> Bool # (/=) :: DeviceIPTunnel -> DeviceIPTunnel -> Bool # | |
GObject DeviceIPTunnel Source # | |
Defined in GI.NM.Objects.DeviceIPTunnel | |
ManagedPtrNewtype DeviceIPTunnel Source # | |
Defined in GI.NM.Objects.DeviceIPTunnel Methods toManagedPtr :: DeviceIPTunnel -> ManagedPtr DeviceIPTunnel # | |
TypedObject DeviceIPTunnel Source # | |
Defined in GI.NM.Objects.DeviceIPTunnel | |
HasParentTypes DeviceIPTunnel Source # | |
Defined in GI.NM.Objects.DeviceIPTunnel | |
IsGValue (Maybe DeviceIPTunnel) Source # | Convert |
Defined in GI.NM.Objects.DeviceIPTunnel Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe DeviceIPTunnel -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe DeviceIPTunnel) # | |
type ParentTypes DeviceIPTunnel Source # | |
Defined in GI.NM.Objects.DeviceIPTunnel |
class (GObject o, IsDescendantOf DeviceIPTunnel o) => IsDeviceIPTunnel o Source #
Type class for types which can be safely cast to DeviceIPTunnel
, for instance with toDeviceIPTunnel
.
Instances
(GObject o, IsDescendantOf DeviceIPTunnel o) => IsDeviceIPTunnel o Source # | |
Defined in GI.NM.Objects.DeviceIPTunnel |
toDeviceIPTunnel :: (MonadIO m, IsDeviceIPTunnel o) => o -> m DeviceIPTunnel Source #
Cast to DeviceIPTunnel
, 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, connectionCompatible, connectionValid, delete, deleteAsync, deleteFinish, disconnect, disconnectAsync, disconnectFinish, filterConnections, forceFloating, freezeNotify, getv, isFloating, isReal, isSoftware, notify, notifyByPspec, reapply, reapplyAsync, reapplyFinish, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getActiveConnection, getAppliedConnection, getAppliedConnectionAsync, getAppliedConnectionFinish, getAutoconnect, getAvailableConnections, getCapabilities, getClient, getConnectivity, getData, getDescription, getDeviceType, getDhcp4Config, getDhcp6Config, getDriver, getDriverVersion, getEncapsulationLimit, getFirmwareMissing, getFirmwareVersion, getFlags, getFlowLabel, getFwmark, getHwAddress, getIface, getInputKey, getInterfaceFlags, getIp4Config, getIp6Config, getIpIface, getLldpNeighbors, getLocal, getManaged, getMetered, getMode, getMtu, getNmPluginMissing, getOutputKey, getParent, getPath, getPathMtuDiscovery, getPhysicalPortId, getPorts, getProduct, getProperty, getQdata, getRemote, getSettingType, getState, getStateReason, getTos, getTtl, getTypeDescription, getUdi, getVendor.
Setters
setAutoconnect, setData, setDataFull, setManaged, setProperty.
getEncapsulationLimit
deviceIPTunnelGetEncapsulationLimit Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) | |
=> a |
|
-> m Word8 | Returns: the maximum permitted encapsulation level |
No description available in the introspection data.
Since: 1.2
getFlags
deviceIPTunnelGetFlags Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) | |
=> a |
|
-> m [IPTunnelFlags] | Returns: the tunnel flags |
No description available in the introspection data.
Since: 1.12
getFlowLabel
deviceIPTunnelGetFlowLabel Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) | |
=> a |
|
-> m Word32 | Returns: the flow label assigned to tunnel packets |
No description available in the introspection data.
Since: 1.2
getFwmark
deviceIPTunnelGetFwmark Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) | |
=> a |
|
-> m Word32 | Returns: the fwmark assigned to tunnel packets. This property applies only to VTI tunnels. |
No description available in the introspection data.
Since: 1.46
getInputKey
deviceIPTunnelGetInputKey Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) | |
=> a |
|
-> m Text | Returns: the key used for incoming packets |
No description available in the introspection data.
Since: 1.2
getLocal
deviceIPTunnelGetLocal Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) | |
=> a |
|
-> m Text | Returns: the local endpoint of the tunnel |
No description available in the introspection data.
Since: 1.2
getMode
deviceIPTunnelGetMode Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) | |
=> a |
|
-> m IPTunnelMode | Returns: the tunneling mode |
No description available in the introspection data.
Since: 1.2
getOutputKey
deviceIPTunnelGetOutputKey Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) | |
=> a |
|
-> m Text | Returns: the key used for outgoing packets |
No description available in the introspection data.
Since: 1.2
getParent
deviceIPTunnelGetParent Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) | |
=> a |
|
-> m Device | Returns: the device's parent device |
No description available in the introspection data.
Since: 1.2
getPathMtuDiscovery
deviceIPTunnelGetPathMtuDiscovery Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) | |
=> a |
|
-> m Bool | Returns: whether path MTU discovery is enabled |
No description available in the introspection data.
Since: 1.2
getRemote
deviceIPTunnelGetRemote Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) | |
=> a |
|
-> m Text | Returns: the remote endpoint of the tunnel |
No description available in the introspection data.
Since: 1.2
getTos
Arguments
:: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) | |
=> a |
|
-> m Word8 | Returns: type of service (IPv4) or traffic class (IPv6) assigned to tunneled packets. |
No description available in the introspection data.
Since: 1.2
getTtl
Arguments
:: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) | |
=> a |
|
-> m Word8 | Returns: the TTL assigned to tunneled packets |
No description available in the introspection data.
Since: 1.2
Properties
encapsulationLimit
flags
Tunnel flags.
Since: 1.12
getDeviceIPTunnelFlags :: (MonadIO m, IsDeviceIPTunnel o) => o -> m Word32 Source #
Get the value of the “flags
” property.
When overloading is enabled, this is equivalent to
get
deviceIPTunnel #flags
flowLabel
The flow label to assign to tunnel packets. This property applies only to IPv6 tunnels.
Since: 1.2
getDeviceIPTunnelFlowLabel :: (MonadIO m, IsDeviceIPTunnel o) => o -> m Word32 Source #
Get the value of the “flow-label
” property.
When overloading is enabled, this is equivalent to
get
deviceIPTunnel #flowLabel
fwmark
The fwmark value to assign to tunnel packets. This property applies only to VTI tunnels.
Since: 1.46
getDeviceIPTunnelFwmark :: (MonadIO m, IsDeviceIPTunnel o) => o -> m Word32 Source #
Get the value of the “fwmark
” property.
When overloading is enabled, this is equivalent to
get
deviceIPTunnel #fwmark
inputKey
The key used for tunneled input packets, if applicable.
Since: 1.2
getDeviceIPTunnelInputKey :: (MonadIO m, IsDeviceIPTunnel o) => o -> m Text Source #
Get the value of the “input-key
” property.
When overloading is enabled, this is equivalent to
get
deviceIPTunnel #inputKey
local
The local endpoint of the tunnel.
Since: 1.2
getDeviceIPTunnelLocal :: (MonadIO m, IsDeviceIPTunnel o) => o -> m Text Source #
Get the value of the “local
” property.
When overloading is enabled, this is equivalent to
get
deviceIPTunnel #local
mode
The tunneling mode of the device.
Since: 1.2
getDeviceIPTunnelMode :: (MonadIO m, IsDeviceIPTunnel o) => o -> m Word32 Source #
Get the value of the “mode
” property.
When overloading is enabled, this is equivalent to
get
deviceIPTunnel #mode
outputKey
The key used for tunneled output packets, if applicable.
Since: 1.2
getDeviceIPTunnelOutputKey :: (MonadIO m, IsDeviceIPTunnel o) => o -> m Text Source #
Get the value of the “output-key
” property.
When overloading is enabled, this is equivalent to
get
deviceIPTunnel #outputKey
parent
The devices's parent device.
Since: 1.2
getDeviceIPTunnelParent :: (MonadIO m, IsDeviceIPTunnel o) => o -> m Device Source #
Get the value of the “parent
” property.
When overloading is enabled, this is equivalent to
get
deviceIPTunnel #parent
pathMtuDiscovery
Whether path MTU discovery is enabled on this tunnel.
Since: 1.2
getDeviceIPTunnelPathMtuDiscovery :: (MonadIO m, IsDeviceIPTunnel o) => o -> m Bool Source #
Get the value of the “path-mtu-discovery
” property.
When overloading is enabled, this is equivalent to
get
deviceIPTunnel #pathMtuDiscovery
remote
The remote endpoint of the tunnel.
Since: 1.2
getDeviceIPTunnelRemote :: (MonadIO m, IsDeviceIPTunnel o) => o -> m Text Source #
Get the value of the “remote
” property.
When overloading is enabled, this is equivalent to
get
deviceIPTunnel #remote