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.DeviceMacsec
Description
No description available in the introspection data.
Since: 1.6
Synopsis
- newtype DeviceMacsec = DeviceMacsec (ManagedPtr DeviceMacsec)
- class (GObject o, IsDescendantOf DeviceMacsec o) => IsDeviceMacsec o
- toDeviceMacsec :: (MonadIO m, IsDeviceMacsec o) => o -> m DeviceMacsec
- deviceMacsecGetCipherSuite :: (HasCallStack, MonadIO m, IsDeviceMacsec a) => a -> m Word64
- deviceMacsecGetEncodingSa :: (HasCallStack, MonadIO m, IsDeviceMacsec a) => a -> m Word8
- deviceMacsecGetEncrypt :: (HasCallStack, MonadIO m, IsDeviceMacsec a) => a -> m Bool
- deviceMacsecGetEs :: (HasCallStack, MonadIO m, IsDeviceMacsec a) => a -> m Bool
- deviceMacsecGetIcvLength :: (HasCallStack, MonadIO m, IsDeviceMacsec a) => a -> m Word8
- deviceMacsecGetIncludeSci :: (HasCallStack, MonadIO m, IsDeviceMacsec a) => a -> m Bool
- deviceMacsecGetParent :: (HasCallStack, MonadIO m, IsDeviceMacsec a) => a -> m Device
- deviceMacsecGetProtect :: (HasCallStack, MonadIO m, IsDeviceMacsec a) => a -> m Bool
- deviceMacsecGetReplayProtect :: (HasCallStack, MonadIO m, IsDeviceMacsec a) => a -> m Bool
- deviceMacsecGetScb :: (HasCallStack, MonadIO m, IsDeviceMacsec a) => a -> m Bool
- deviceMacsecGetSci :: (HasCallStack, MonadIO m, IsDeviceMacsec a) => a -> m Word64
- deviceMacsecGetValidation :: (HasCallStack, MonadIO m, IsDeviceMacsec a) => a -> m Text
- deviceMacsecGetWindow :: (HasCallStack, MonadIO m, IsDeviceMacsec a) => a -> m Word32
- getDeviceMacsecCipherSuite :: (MonadIO m, IsDeviceMacsec o) => o -> m Word64
- getDeviceMacsecEncrypt :: (MonadIO m, IsDeviceMacsec o) => o -> m Bool
- getDeviceMacsecEs :: (MonadIO m, IsDeviceMacsec o) => o -> m Bool
- getDeviceMacsecIncludeSci :: (MonadIO m, IsDeviceMacsec o) => o -> m Bool
- getDeviceMacsecParent :: (MonadIO m, IsDeviceMacsec o) => o -> m Device
- getDeviceMacsecProtect :: (MonadIO m, IsDeviceMacsec o) => o -> m Bool
- getDeviceMacsecReplayProtect :: (MonadIO m, IsDeviceMacsec o) => o -> m Bool
- getDeviceMacsecScb :: (MonadIO m, IsDeviceMacsec o) => o -> m Bool
- getDeviceMacsecSci :: (MonadIO m, IsDeviceMacsec o) => o -> m Word64
- getDeviceMacsecValidation :: (MonadIO m, IsDeviceMacsec o) => o -> m Text
- getDeviceMacsecWindow :: (MonadIO m, IsDeviceMacsec o) => o -> m Word32
Exported types
newtype DeviceMacsec Source #
Memory-managed wrapper type.
Constructors
DeviceMacsec (ManagedPtr DeviceMacsec) |
Instances
Eq DeviceMacsec Source # | |
Defined in GI.NM.Objects.DeviceMacsec | |
GObject DeviceMacsec Source # | |
Defined in GI.NM.Objects.DeviceMacsec | |
ManagedPtrNewtype DeviceMacsec Source # | |
Defined in GI.NM.Objects.DeviceMacsec Methods | |
TypedObject DeviceMacsec Source # | |
Defined in GI.NM.Objects.DeviceMacsec | |
HasParentTypes DeviceMacsec Source # | |
Defined in GI.NM.Objects.DeviceMacsec | |
IsGValue (Maybe DeviceMacsec) Source # | Convert |
Defined in GI.NM.Objects.DeviceMacsec Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe DeviceMacsec -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe DeviceMacsec) # | |
type ParentTypes DeviceMacsec Source # | |
Defined in GI.NM.Objects.DeviceMacsec |
class (GObject o, IsDescendantOf DeviceMacsec o) => IsDeviceMacsec o Source #
Type class for types which can be safely cast to DeviceMacsec
, for instance with toDeviceMacsec
.
Instances
(GObject o, IsDescendantOf DeviceMacsec o) => IsDeviceMacsec o Source # | |
Defined in GI.NM.Objects.DeviceMacsec |
toDeviceMacsec :: (MonadIO m, IsDeviceMacsec o) => o -> m DeviceMacsec Source #
Cast to DeviceMacsec
, 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, getCipherSuite, getClient, getConnectivity, getData, getDescription, getDeviceType, getDhcp4Config, getDhcp6Config, getDriver, getDriverVersion, getEncodingSa, getEncrypt, getEs, getFirmwareMissing, getFirmwareVersion, getHwAddress, getIcvLength, getIface, getIncludeSci, getInterfaceFlags, getIp4Config, getIp6Config, getIpIface, getLldpNeighbors, getManaged, getMetered, getMtu, getNmPluginMissing, getParent, getPath, getPhysicalPortId, getPorts, getProduct, getProperty, getProtect, getQdata, getReplayProtect, getScb, getSci, getSettingType, getState, getStateReason, getTypeDescription, getUdi, getValidation, getVendor, getWindow.
Setters
setAutoconnect, setData, setDataFull, setManaged, setProperty.
getCipherSuite
deviceMacsecGetCipherSuite Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceMacsec a) | |
=> a |
|
-> m Word64 | Returns: the set of cryptographic algorithms in use |
Gets the set of cryptographic algorithms in use
Since: 1.6
getEncodingSa
deviceMacsecGetEncodingSa Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceMacsec a) | |
=> a |
|
-> m Word8 | Returns: the current Security Association |
Gets the value of the Association Number (0..3) for the Security Association in use.
Since: 1.6
getEncrypt
deviceMacsecGetEncrypt Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceMacsec a) | |
=> a |
|
-> m Bool | Returns: whether encryption is enabled |
Gets whether encryption of transmitted frames is enabled
Since: 1.6
getEs
Arguments
:: (HasCallStack, MonadIO m, IsDeviceMacsec a) | |
=> a |
|
-> m Bool | Returns: whether the ES (End station) bit is enabled |
Gets whether the ES (End station) bit is enabled in SecTAG for transmitted frames
Since: 1.6
getIcvLength
deviceMacsecGetIcvLength Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceMacsec a) | |
=> a |
|
-> m Word8 | Returns: the length of ICV |
Gets the length of ICV (Integrity Check Value)
Since: 1.6
getIncludeSci
deviceMacsecGetIncludeSci Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceMacsec a) | |
=> a |
|
-> m Bool | Returns: whether the SCI is always included |
Gets whether the SCI is always included in SecTAG for transmitted frames
Since: 1.6
getParent
deviceMacsecGetParent Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceMacsec a) | |
=> a |
|
-> m Device | Returns: the device's parent device |
No description available in the introspection data.
Since: 1.42
getProtect
deviceMacsecGetProtect Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceMacsec a) | |
=> a |
|
-> m Bool | Returns: whether protection is enabled |
Gets whether protection of transmitted frames is enabled
Since: 1.6
getReplayProtect
deviceMacsecGetReplayProtect Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceMacsec a) | |
=> a |
|
-> m Bool | Returns: whether replay protection is enabled |
Gets whether replay protection is enabled
Since: 1.6
getScb
Arguments
:: (HasCallStack, MonadIO m, IsDeviceMacsec a) | |
=> a |
|
-> m Bool | Returns: whether the SCB (Single Copy Broadcast) bit is enabled |
Gets whether the SCB (Single Copy Broadcast) bit is enabled in SecTAG for transmitted frames
Since: 1.6
getSci
Arguments
:: (HasCallStack, MonadIO m, IsDeviceMacsec a) | |
=> a |
|
-> m Word64 | Returns: the SCI |
Gets the Secure Channel Identifier in use
Since: 1.6
getValidation
deviceMacsecGetValidation Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceMacsec a) | |
=> a |
|
-> m Text | Returns: the validation mode |
Gets the validation mode for incoming packets (strict, check, disabled)
Since: 1.6
getWindow
deviceMacsecGetWindow Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceMacsec a) | |
=> a |
|
-> m Word32 | Returns: size of the replay window |
Gets the size of the replay window
Since: 1.6
Properties
cipherSuite
The set of cryptographic algorithms in use.
Since: 1.6
getDeviceMacsecCipherSuite :: (MonadIO m, IsDeviceMacsec o) => o -> m Word64 Source #
Get the value of the “cipher-suite
” property.
When overloading is enabled, this is equivalent to
get
deviceMacsec #cipherSuite
encodingSa
encrypt
Whether encryption of transmitted frames is enabled.
Since: 1.6
getDeviceMacsecEncrypt :: (MonadIO m, IsDeviceMacsec o) => o -> m Bool Source #
Get the value of the “encrypt
” property.
When overloading is enabled, this is equivalent to
get
deviceMacsec #encrypt
es
Whether the ES (End station) bit is enabled in SecTAG for transmitted frames.
Since: 1.6
getDeviceMacsecEs :: (MonadIO m, IsDeviceMacsec o) => o -> m Bool Source #
Get the value of the “es
” property.
When overloading is enabled, this is equivalent to
get
deviceMacsec #es
icvLength
includeSci
Whether the SCI is always included in SecTAG for transmitted frames.
Since: 1.6
getDeviceMacsecIncludeSci :: (MonadIO m, IsDeviceMacsec o) => o -> m Bool Source #
Get the value of the “include-sci
” property.
When overloading is enabled, this is equivalent to
get
deviceMacsec #includeSci
parent
The devices's parent device.
Since: 1.6
getDeviceMacsecParent :: (MonadIO m, IsDeviceMacsec o) => o -> m Device Source #
Get the value of the “parent
” property.
When overloading is enabled, this is equivalent to
get
deviceMacsec #parent
protect
Whether protection of transmitted frames is enabled.
Since: 1.6
getDeviceMacsecProtect :: (MonadIO m, IsDeviceMacsec o) => o -> m Bool Source #
Get the value of the “protect
” property.
When overloading is enabled, this is equivalent to
get
deviceMacsec #protect
replayProtect
Whether replay protection is enabled.
Since: 1.6
getDeviceMacsecReplayProtect :: (MonadIO m, IsDeviceMacsec o) => o -> m Bool Source #
Get the value of the “replay-protect
” property.
When overloading is enabled, this is equivalent to
get
deviceMacsec #replayProtect
scb
Whether the SCB (Single Copy Broadcast) bit is enabled in SecTAG for transmitted frames.
Since: 1.6
getDeviceMacsecScb :: (MonadIO m, IsDeviceMacsec o) => o -> m Bool Source #
Get the value of the “scb
” property.
When overloading is enabled, this is equivalent to
get
deviceMacsec #scb
sci
The Secure Channel Identifier in use.
Since: 1.6
getDeviceMacsecSci :: (MonadIO m, IsDeviceMacsec o) => o -> m Word64 Source #
Get the value of the “sci
” property.
When overloading is enabled, this is equivalent to
get
deviceMacsec #sci
validation
The validation mode for incoming packets (strict, check, disabled).
Since: 1.6
getDeviceMacsecValidation :: (MonadIO m, IsDeviceMacsec o) => o -> m Text Source #
Get the value of the “validation
” property.
When overloading is enabled, this is equivalent to
get
deviceMacsec #validation
window
The size of the replay window.
Since: 1.6
getDeviceMacsecWindow :: (MonadIO m, IsDeviceMacsec o) => o -> m Word32 Source #
Get the value of the “window
” property.
When overloading is enabled, this is equivalent to
get
deviceMacsec #window