gi-nm-1.0.1: NM bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.NM.Objects.DeviceIPTunnel

Description

No description available in the introspection data.

Since: 1.2

Synopsis

Exported types

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

Instances details
(GObject o, IsDescendantOf DeviceIPTunnel o) => IsDeviceIPTunnel o Source # 
Instance details

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

getEncapsulationLimit

deviceIPTunnelGetEncapsulationLimit Source #

Arguments

:: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) 
=> a

device: a DeviceIPTunnel

-> 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

device: a DeviceIPTunnel

-> 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

device: a DeviceIPTunnel

-> 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

device: a DeviceIPTunnel

-> 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

device: a DeviceIPTunnel

-> 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

device: a DeviceIPTunnel

-> 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

device: a DeviceIPTunnel

-> 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

device: a DeviceIPTunnel

-> 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

device: a DeviceIPTunnel

-> 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

device: a DeviceIPTunnel

-> 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

device: a DeviceIPTunnel

-> m Text

Returns: the remote endpoint of the tunnel

No description available in the introspection data.

Since: 1.2

getTos

deviceIPTunnelGetTos Source #

Arguments

:: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) 
=> a

device: a DeviceIPTunnel

-> 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

deviceIPTunnelGetTtl Source #

Arguments

:: (HasCallStack, MonadIO m, IsDeviceIPTunnel a) 
=> a

device: a DeviceIPTunnel

-> 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

tos

ttl