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.SettingLink
Description
Link settings
Since: 1.44
Synopsis
- newtype SettingLink = SettingLink (ManagedPtr SettingLink)
- class (GObject o, IsDescendantOf SettingLink o) => IsSettingLink o
- toSettingLink :: (MonadIO m, IsSettingLink o) => o -> m SettingLink
- settingLinkGetGroMaxSize :: (HasCallStack, MonadIO m, IsSettingLink a) => a -> m Int64
- settingLinkGetGsoMaxSegments :: (HasCallStack, MonadIO m, IsSettingLink a) => a -> m Int64
- settingLinkGetGsoMaxSize :: (HasCallStack, MonadIO m, IsSettingLink a) => a -> m Int64
- settingLinkGetTxQueueLength :: (HasCallStack, MonadIO m, IsSettingLink a) => a -> m Int64
- settingLinkNew :: (HasCallStack, MonadIO m) => m SettingLink
- constructSettingLinkGroMaxSize :: (IsSettingLink o, MonadIO m) => Int64 -> m (GValueConstruct o)
- getSettingLinkGroMaxSize :: (MonadIO m, IsSettingLink o) => o -> m Int64
- setSettingLinkGroMaxSize :: (MonadIO m, IsSettingLink o) => o -> Int64 -> m ()
- constructSettingLinkGsoMaxSegments :: (IsSettingLink o, MonadIO m) => Int64 -> m (GValueConstruct o)
- getSettingLinkGsoMaxSegments :: (MonadIO m, IsSettingLink o) => o -> m Int64
- setSettingLinkGsoMaxSegments :: (MonadIO m, IsSettingLink o) => o -> Int64 -> m ()
- constructSettingLinkGsoMaxSize :: (IsSettingLink o, MonadIO m) => Int64 -> m (GValueConstruct o)
- getSettingLinkGsoMaxSize :: (MonadIO m, IsSettingLink o) => o -> m Int64
- setSettingLinkGsoMaxSize :: (MonadIO m, IsSettingLink o) => o -> Int64 -> m ()
- constructSettingLinkTxQueueLength :: (IsSettingLink o, MonadIO m) => Int64 -> m (GValueConstruct o)
- getSettingLinkTxQueueLength :: (MonadIO m, IsSettingLink o) => o -> m Int64
- setSettingLinkTxQueueLength :: (MonadIO m, IsSettingLink o) => o -> Int64 -> m ()
Exported types
newtype SettingLink Source #
Memory-managed wrapper type.
Constructors
SettingLink (ManagedPtr SettingLink) |
Instances
Eq SettingLink Source # | |
Defined in GI.NM.Objects.SettingLink | |
GObject SettingLink Source # | |
Defined in GI.NM.Objects.SettingLink | |
ManagedPtrNewtype SettingLink Source # | |
Defined in GI.NM.Objects.SettingLink Methods | |
TypedObject SettingLink Source # | |
Defined in GI.NM.Objects.SettingLink | |
HasParentTypes SettingLink Source # | |
Defined in GI.NM.Objects.SettingLink | |
IsGValue (Maybe SettingLink) Source # | Convert |
Defined in GI.NM.Objects.SettingLink Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe SettingLink -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe SettingLink) # | |
type ParentTypes SettingLink Source # | |
Defined in GI.NM.Objects.SettingLink |
class (GObject o, IsDescendantOf SettingLink o) => IsSettingLink o Source #
Type class for types which can be safely cast to SettingLink
, for instance with toSettingLink
.
Instances
(GObject o, IsDescendantOf SettingLink o) => IsSettingLink o Source # | |
Defined in GI.NM.Objects.SettingLink |
toSettingLink :: (MonadIO m, IsSettingLink o) => o -> m SettingLink Source #
Cast to SettingLink
, 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, getGroMaxSize, getGsoMaxSegments, getGsoMaxSize, getName, getProperty, getQdata, getSecretFlags, getTxQueueLength.
Setters
getGroMaxSize
settingLinkGetGroMaxSize Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingLink a) | |
=> a |
|
-> m Int64 | Returns: the 'gro-max-size' property value |
Returns the value contained in the SettingLink:groMaxSize property.
Since: 1.44
getGsoMaxSegments
settingLinkGetGsoMaxSegments Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingLink a) | |
=> a |
|
-> m Int64 | Returns: the 'gso-max-segments' property value |
Returns the value contained in the SettingLink:gsoMaxSegments property.
Since: 1.44
getGsoMaxSize
settingLinkGetGsoMaxSize Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingLink a) | |
=> a |
|
-> m Int64 | Returns: the 'gso-max-size' property value |
Returns the value contained in the SettingLink:gsoMaxSize property.
Since: 1.44
getTxQueueLength
settingLinkGetTxQueueLength Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingLink a) | |
=> a |
|
-> m Int64 | Returns: the 'tx-queue-length' property value |
Returns the value contained in the SettingLink:txQueueLength property.
Since: 1.44
new
Arguments
:: (HasCallStack, MonadIO m) | |
=> m SettingLink | Returns: the new empty |
Creates a new SettingLink
object with default values.
Since: 1.44
Properties
groMaxSize
The maximum size of a packet built by the Generic Receive Offload stack for this device. The value must be between 0 and 4294967295. When set to -1, the existing value is preserved.
Since: 1.44
constructSettingLinkGroMaxSize :: (IsSettingLink o, MonadIO m) => Int64 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gro-max-size
” property. This is rarely needed directly, but it is used by new
.
getSettingLinkGroMaxSize :: (MonadIO m, IsSettingLink o) => o -> m Int64 Source #
Get the value of the “gro-max-size
” property.
When overloading is enabled, this is equivalent to
get
settingLink #groMaxSize
setSettingLinkGroMaxSize :: (MonadIO m, IsSettingLink o) => o -> Int64 -> m () Source #
Set the value of the “gro-max-size
” property.
When overloading is enabled, this is equivalent to
set
settingLink [ #groMaxSize:=
value ]
gsoMaxSegments
The maximum segments of a Generic Segment Offload packet the device should accept. The value must be between 0 and 4294967295. When set to -1, the existing value is preserved.
Since: 1.44
constructSettingLinkGsoMaxSegments :: (IsSettingLink o, MonadIO m) => Int64 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gso-max-segments
” property. This is rarely needed directly, but it is used by new
.
getSettingLinkGsoMaxSegments :: (MonadIO m, IsSettingLink o) => o -> m Int64 Source #
Get the value of the “gso-max-segments
” property.
When overloading is enabled, this is equivalent to
get
settingLink #gsoMaxSegments
setSettingLinkGsoMaxSegments :: (MonadIO m, IsSettingLink o) => o -> Int64 -> m () Source #
Set the value of the “gso-max-segments
” property.
When overloading is enabled, this is equivalent to
set
settingLink [ #gsoMaxSegments:=
value ]
gsoMaxSize
The maximum size of a Generic Segment Offload packet the device should accept. The value must be between 0 and 4294967295. When set to -1, the existing value is preserved.
Since: 1.44
constructSettingLinkGsoMaxSize :: (IsSettingLink o, MonadIO m) => Int64 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gso-max-size
” property. This is rarely needed directly, but it is used by new
.
getSettingLinkGsoMaxSize :: (MonadIO m, IsSettingLink o) => o -> m Int64 Source #
Get the value of the “gso-max-size
” property.
When overloading is enabled, this is equivalent to
get
settingLink #gsoMaxSize
setSettingLinkGsoMaxSize :: (MonadIO m, IsSettingLink o) => o -> Int64 -> m () Source #
Set the value of the “gso-max-size
” property.
When overloading is enabled, this is equivalent to
set
settingLink [ #gsoMaxSize:=
value ]
txQueueLength
The size of the transmit queue for the device, in number of packets. The value must be between 0 and 4294967295. When set to -1, the existing value is preserved.
Since: 1.44
constructSettingLinkTxQueueLength :: (IsSettingLink o, MonadIO m) => Int64 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “tx-queue-length
” property. This is rarely needed directly, but it is used by new
.
getSettingLinkTxQueueLength :: (MonadIO m, IsSettingLink o) => o -> m Int64 Source #
Get the value of the “tx-queue-length
” property.
When overloading is enabled, this is equivalent to
get
settingLink #txQueueLength
setSettingLinkTxQueueLength :: (MonadIO m, IsSettingLink o) => o -> Int64 -> m () Source #
Set the value of the “tx-queue-length
” property.
When overloading is enabled, this is equivalent to
set
settingLink [ #txQueueLength:=
value ]