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

Description

Loopback Link Settings

Since: 1.42

Synopsis

Exported types

class (GObject o, IsDescendantOf SettingLoopback o) => IsSettingLoopback o Source #

Type class for types which can be safely cast to SettingLoopback, for instance with toSettingLoopback.

Instances

Instances details
(GObject o, IsDescendantOf SettingLoopback o) => IsSettingLoopback o Source # 
Instance details

Defined in GI.NM.Objects.SettingLoopback

toSettingLoopback :: (MonadIO m, IsSettingLoopback o) => o -> m SettingLoopback Source #

Cast to SettingLoopback, for types for which this is known to be safe. For general casts, use castTo.

Methods

getMtu

settingLoopbackGetMtu Source #

Arguments

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

setting: the SettingLoopback

-> m Word32

Returns: the SettingLoopback:mtu property of the setting

No description available in the introspection data.

Since: 1.42

new

settingLoopbackNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m SettingLoopback

Returns: the new empty SettingLoopback object

Creates a new SettingLoopback object with default values.

Since: 1.42

Properties

mtu

If non-zero, only transmit packets of the specified size or smaller, breaking larger packets up into multiple Ethernet frames.

Since: 1.42

constructSettingLoopbackMtu :: (IsSettingLoopback 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.

getSettingLoopbackMtu :: (MonadIO m, IsSettingLoopback o) => o -> m Word32 Source #

Get the value of the “mtu” property. When overloading is enabled, this is equivalent to

get settingLoopback #mtu

setSettingLoopbackMtu :: (MonadIO m, IsSettingLoopback o) => o -> Word32 -> m () Source #

Set the value of the “mtu” property. When overloading is enabled, this is equivalent to

set settingLoopback [ #mtu := value ]