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.SettingBridge
Contents
- Exported types
- Methods
- addVlan
- clearVlans
- getAgeingTime
- getForwardDelay
- getGroupAddress
- getGroupForwardMask
- getHelloTime
- getMacAddress
- getMaxAge
- getMulticastHashMax
- getMulticastLastMemberCount
- getMulticastLastMemberInterval
- getMulticastMembershipInterval
- getMulticastQuerier
- getMulticastQuerierInterval
- getMulticastQueryInterval
- getMulticastQueryResponseInterval
- getMulticastQueryUseIfaddr
- getMulticastRouter
- getMulticastSnooping
- getMulticastStartupQueryCount
- getMulticastStartupQueryInterval
- getNumVlans
- getPriority
- getStp
- getVlan
- getVlanDefaultPvid
- getVlanFiltering
- getVlanProtocol
- getVlanStatsEnabled
- new
- removeVlan
- removeVlanByVid
- Properties
- ageingTime
- forwardDelay
- groupAddress
- groupForwardMask
- helloTime
- macAddress
- maxAge
- multicastHashMax
- multicastLastMemberCount
- multicastLastMemberInterval
- multicastMembershipInterval
- multicastQuerier
- multicastQuerierInterval
- multicastQueryInterval
- multicastQueryResponseInterval
- multicastQueryUseIfaddr
- multicastRouter
- multicastSnooping
- multicastStartupQueryCount
- multicastStartupQueryInterval
- priority
- stp
- vlanDefaultPvid
- vlanFiltering
- vlanProtocol
- vlanStatsEnabled
- vlans
Description
Bridging Settings
Synopsis
- newtype SettingBridge = SettingBridge (ManagedPtr SettingBridge)
- class (GObject o, IsDescendantOf SettingBridge o) => IsSettingBridge o
- toSettingBridge :: (MonadIO m, IsSettingBridge o) => o -> m SettingBridge
- settingBridgeAddVlan :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> BridgeVlan -> m ()
- settingBridgeClearVlans :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m ()
- settingBridgeGetAgeingTime :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Word32
- settingBridgeGetForwardDelay :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Word16
- settingBridgeGetGroupAddress :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Text
- settingBridgeGetGroupForwardMask :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Word16
- settingBridgeGetHelloTime :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Word16
- settingBridgeGetMacAddress :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Text
- settingBridgeGetMaxAge :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Word16
- settingBridgeGetMulticastHashMax :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Word32
- settingBridgeGetMulticastLastMemberCount :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Word32
- settingBridgeGetMulticastLastMemberInterval :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Word64
- settingBridgeGetMulticastMembershipInterval :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Word64
- settingBridgeGetMulticastQuerier :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Bool
- settingBridgeGetMulticastQuerierInterval :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Word64
- settingBridgeGetMulticastQueryInterval :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Word64
- settingBridgeGetMulticastQueryResponseInterval :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Word64
- settingBridgeGetMulticastQueryUseIfaddr :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Bool
- settingBridgeGetMulticastRouter :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Text
- settingBridgeGetMulticastSnooping :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Bool
- settingBridgeGetMulticastStartupQueryCount :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Word32
- settingBridgeGetMulticastStartupQueryInterval :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Word64
- settingBridgeGetNumVlans :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Word32
- settingBridgeGetPriority :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Word16
- settingBridgeGetStp :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Bool
- settingBridgeGetVlan :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> Word32 -> m BridgeVlan
- settingBridgeGetVlanDefaultPvid :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Word16
- settingBridgeGetVlanFiltering :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Bool
- settingBridgeGetVlanProtocol :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Text
- settingBridgeGetVlanStatsEnabled :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> m Bool
- settingBridgeNew :: (HasCallStack, MonadIO m) => m SettingBridge
- settingBridgeRemoveVlan :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> Word32 -> m ()
- settingBridgeRemoveVlanByVid :: (HasCallStack, MonadIO m, IsSettingBridge a) => a -> Word16 -> Word16 -> m Bool
- constructSettingBridgeAgeingTime :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingBridgeAgeingTime :: (MonadIO m, IsSettingBridge o) => o -> m Word32
- setSettingBridgeAgeingTime :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m ()
- constructSettingBridgeForwardDelay :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingBridgeForwardDelay :: (MonadIO m, IsSettingBridge o) => o -> m Word32
- setSettingBridgeForwardDelay :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m ()
- clearSettingBridgeGroupAddress :: (MonadIO m, IsSettingBridge o) => o -> m ()
- constructSettingBridgeGroupAddress :: (IsSettingBridge o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingBridgeGroupAddress :: (MonadIO m, IsSettingBridge o) => o -> m Text
- setSettingBridgeGroupAddress :: (MonadIO m, IsSettingBridge o) => o -> Text -> m ()
- constructSettingBridgeGroupForwardMask :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingBridgeGroupForwardMask :: (MonadIO m, IsSettingBridge o) => o -> m Word32
- setSettingBridgeGroupForwardMask :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m ()
- constructSettingBridgeHelloTime :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingBridgeHelloTime :: (MonadIO m, IsSettingBridge o) => o -> m Word32
- setSettingBridgeHelloTime :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m ()
- clearSettingBridgeMacAddress :: (MonadIO m, IsSettingBridge o) => o -> m ()
- constructSettingBridgeMacAddress :: (IsSettingBridge o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingBridgeMacAddress :: (MonadIO m, IsSettingBridge o) => o -> m Text
- setSettingBridgeMacAddress :: (MonadIO m, IsSettingBridge o) => o -> Text -> m ()
- constructSettingBridgeMaxAge :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingBridgeMaxAge :: (MonadIO m, IsSettingBridge o) => o -> m Word32
- setSettingBridgeMaxAge :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m ()
- constructSettingBridgeMulticastHashMax :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingBridgeMulticastHashMax :: (MonadIO m, IsSettingBridge o) => o -> m Word32
- setSettingBridgeMulticastHashMax :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m ()
- constructSettingBridgeMulticastLastMemberCount :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingBridgeMulticastLastMemberCount :: (MonadIO m, IsSettingBridge o) => o -> m Word32
- setSettingBridgeMulticastLastMemberCount :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m ()
- constructSettingBridgeMulticastLastMemberInterval :: (IsSettingBridge o, MonadIO m) => Word64 -> m (GValueConstruct o)
- getSettingBridgeMulticastLastMemberInterval :: (MonadIO m, IsSettingBridge o) => o -> m Word64
- setSettingBridgeMulticastLastMemberInterval :: (MonadIO m, IsSettingBridge o) => o -> Word64 -> m ()
- constructSettingBridgeMulticastMembershipInterval :: (IsSettingBridge o, MonadIO m) => Word64 -> m (GValueConstruct o)
- getSettingBridgeMulticastMembershipInterval :: (MonadIO m, IsSettingBridge o) => o -> m Word64
- setSettingBridgeMulticastMembershipInterval :: (MonadIO m, IsSettingBridge o) => o -> Word64 -> m ()
- constructSettingBridgeMulticastQuerier :: (IsSettingBridge o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingBridgeMulticastQuerier :: (MonadIO m, IsSettingBridge o) => o -> m Bool
- setSettingBridgeMulticastQuerier :: (MonadIO m, IsSettingBridge o) => o -> Bool -> m ()
- constructSettingBridgeMulticastQuerierInterval :: (IsSettingBridge o, MonadIO m) => Word64 -> m (GValueConstruct o)
- getSettingBridgeMulticastQuerierInterval :: (MonadIO m, IsSettingBridge o) => o -> m Word64
- setSettingBridgeMulticastQuerierInterval :: (MonadIO m, IsSettingBridge o) => o -> Word64 -> m ()
- constructSettingBridgeMulticastQueryInterval :: (IsSettingBridge o, MonadIO m) => Word64 -> m (GValueConstruct o)
- getSettingBridgeMulticastQueryInterval :: (MonadIO m, IsSettingBridge o) => o -> m Word64
- setSettingBridgeMulticastQueryInterval :: (MonadIO m, IsSettingBridge o) => o -> Word64 -> m ()
- constructSettingBridgeMulticastQueryResponseInterval :: (IsSettingBridge o, MonadIO m) => Word64 -> m (GValueConstruct o)
- getSettingBridgeMulticastQueryResponseInterval :: (MonadIO m, IsSettingBridge o) => o -> m Word64
- setSettingBridgeMulticastQueryResponseInterval :: (MonadIO m, IsSettingBridge o) => o -> Word64 -> m ()
- constructSettingBridgeMulticastQueryUseIfaddr :: (IsSettingBridge o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingBridgeMulticastQueryUseIfaddr :: (MonadIO m, IsSettingBridge o) => o -> m Bool
- setSettingBridgeMulticastQueryUseIfaddr :: (MonadIO m, IsSettingBridge o) => o -> Bool -> m ()
- clearSettingBridgeMulticastRouter :: (MonadIO m, IsSettingBridge o) => o -> m ()
- constructSettingBridgeMulticastRouter :: (IsSettingBridge o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingBridgeMulticastRouter :: (MonadIO m, IsSettingBridge o) => o -> m Text
- setSettingBridgeMulticastRouter :: (MonadIO m, IsSettingBridge o) => o -> Text -> m ()
- constructSettingBridgeMulticastSnooping :: (IsSettingBridge o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingBridgeMulticastSnooping :: (MonadIO m, IsSettingBridge o) => o -> m Bool
- setSettingBridgeMulticastSnooping :: (MonadIO m, IsSettingBridge o) => o -> Bool -> m ()
- constructSettingBridgeMulticastStartupQueryCount :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingBridgeMulticastStartupQueryCount :: (MonadIO m, IsSettingBridge o) => o -> m Word32
- setSettingBridgeMulticastStartupQueryCount :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m ()
- constructSettingBridgeMulticastStartupQueryInterval :: (IsSettingBridge o, MonadIO m) => Word64 -> m (GValueConstruct o)
- getSettingBridgeMulticastStartupQueryInterval :: (MonadIO m, IsSettingBridge o) => o -> m Word64
- setSettingBridgeMulticastStartupQueryInterval :: (MonadIO m, IsSettingBridge o) => o -> Word64 -> m ()
- constructSettingBridgePriority :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingBridgePriority :: (MonadIO m, IsSettingBridge o) => o -> m Word32
- setSettingBridgePriority :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m ()
- constructSettingBridgeStp :: (IsSettingBridge o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingBridgeStp :: (MonadIO m, IsSettingBridge o) => o -> m Bool
- setSettingBridgeStp :: (MonadIO m, IsSettingBridge o) => o -> Bool -> m ()
- constructSettingBridgeVlanDefaultPvid :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingBridgeVlanDefaultPvid :: (MonadIO m, IsSettingBridge o) => o -> m Word32
- setSettingBridgeVlanDefaultPvid :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m ()
- constructSettingBridgeVlanFiltering :: (IsSettingBridge o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingBridgeVlanFiltering :: (MonadIO m, IsSettingBridge o) => o -> m Bool
- setSettingBridgeVlanFiltering :: (MonadIO m, IsSettingBridge o) => o -> Bool -> m ()
- clearSettingBridgeVlanProtocol :: (MonadIO m, IsSettingBridge o) => o -> m ()
- constructSettingBridgeVlanProtocol :: (IsSettingBridge o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingBridgeVlanProtocol :: (MonadIO m, IsSettingBridge o) => o -> m Text
- setSettingBridgeVlanProtocol :: (MonadIO m, IsSettingBridge o) => o -> Text -> m ()
- constructSettingBridgeVlanStatsEnabled :: (IsSettingBridge o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingBridgeVlanStatsEnabled :: (MonadIO m, IsSettingBridge o) => o -> m Bool
- setSettingBridgeVlanStatsEnabled :: (MonadIO m, IsSettingBridge o) => o -> Bool -> m ()
Exported types
newtype SettingBridge Source #
Memory-managed wrapper type.
Constructors
SettingBridge (ManagedPtr SettingBridge) |
Instances
Eq SettingBridge Source # | |
Defined in GI.NM.Objects.SettingBridge Methods (==) :: SettingBridge -> SettingBridge -> Bool # (/=) :: SettingBridge -> SettingBridge -> Bool # | |
GObject SettingBridge Source # | |
Defined in GI.NM.Objects.SettingBridge | |
ManagedPtrNewtype SettingBridge Source # | |
Defined in GI.NM.Objects.SettingBridge Methods | |
TypedObject SettingBridge Source # | |
Defined in GI.NM.Objects.SettingBridge | |
HasParentTypes SettingBridge Source # | |
Defined in GI.NM.Objects.SettingBridge | |
IsGValue (Maybe SettingBridge) Source # | Convert |
Defined in GI.NM.Objects.SettingBridge Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe SettingBridge -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe SettingBridge) # | |
type ParentTypes SettingBridge Source # | |
Defined in GI.NM.Objects.SettingBridge |
class (GObject o, IsDescendantOf SettingBridge o) => IsSettingBridge o Source #
Type class for types which can be safely cast to SettingBridge
, for instance with toSettingBridge
.
Instances
(GObject o, IsDescendantOf SettingBridge o) => IsSettingBridge o Source # | |
Defined in GI.NM.Objects.SettingBridge |
toSettingBridge :: (MonadIO m, IsSettingBridge o) => o -> m SettingBridge Source #
Cast to SettingBridge
, 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
addVlan, bindProperty, bindPropertyFull, clearVlans, compare, diff, duplicate, enumerateValues, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, optionClearByName, optionGet, optionGetAllNames, optionGetBoolean, optionGetUint32, optionSet, optionSetBoolean, optionSetUint32, ref, refSink, removeVlan, removeVlanByVid, runDispose, stealData, stealQdata, thawNotify, toString, unref, verify, verifySecrets, watchClosure.
Getters
getAgeingTime, getData, getDbusPropertyType, getForwardDelay, getGroupAddress, getGroupForwardMask, getHelloTime, getMacAddress, getMaxAge, getMulticastHashMax, getMulticastLastMemberCount, getMulticastLastMemberInterval, getMulticastMembershipInterval, getMulticastQuerier, getMulticastQuerierInterval, getMulticastQueryInterval, getMulticastQueryResponseInterval, getMulticastQueryUseIfaddr, getMulticastRouter, getMulticastSnooping, getMulticastStartupQueryCount, getMulticastStartupQueryInterval, getName, getNumVlans, getPriority, getProperty, getQdata, getSecretFlags, getStp, getVlan, getVlanDefaultPvid, getVlanFiltering, getVlanProtocol, getVlanStatsEnabled.
Setters
addVlan
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> BridgeVlan |
|
-> m () |
Appends a new vlan and associated information to the setting. The given vlan gets sealed and a reference to it is added.
Since: 1.18
clearVlans
settingBridgeClearVlans Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m () |
Removes all configured VLANs.
Since: 1.18
getAgeingTime
settingBridgeGetAgeingTime Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Word32 | Returns: the SettingBridge:ageingTime property of the setting |
No description available in the introspection data.
getForwardDelay
settingBridgeGetForwardDelay Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Word16 | Returns: the SettingBridge:forwardDelay property of the setting |
No description available in the introspection data.
getGroupAddress
settingBridgeGetGroupAddress Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Text | Returns: the SettingBridge:groupAddress property of the setting |
No description available in the introspection data.
Since: 1.24
getGroupForwardMask
settingBridgeGetGroupForwardMask Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Word16 | Returns: the SettingBridge:groupForwardMask property of the setting |
No description available in the introspection data.
Since: 1.10
getHelloTime
settingBridgeGetHelloTime Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Word16 | Returns: the SettingBridge:helloTime property of the setting |
No description available in the introspection data.
getMacAddress
settingBridgeGetMacAddress Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Text | Returns: the SettingBridge:macAddress property of the setting |
No description available in the introspection data.
getMaxAge
settingBridgeGetMaxAge Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Word16 | Returns: the SettingBridge:maxAge property of the setting |
No description available in the introspection data.
getMulticastHashMax
settingBridgeGetMulticastHashMax Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Word32 | Returns: the SettingBridge:multicastHashMax property of the setting |
No description available in the introspection data.
Since: 1.26
getMulticastLastMemberCount
settingBridgeGetMulticastLastMemberCount Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Word32 | Returns: the SettingBridge:multicastLastMemberCount property of the setting |
No description available in the introspection data.
Since: 1.26
getMulticastLastMemberInterval
settingBridgeGetMulticastLastMemberInterval Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Word64 | Returns: the SettingBridge:multicastLastMemberInterval property of the setting |
No description available in the introspection data.
Since: 1.26
getMulticastMembershipInterval
settingBridgeGetMulticastMembershipInterval Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Word64 | Returns: the SettingBridge:multicastMembershipInterval property of the setting |
No description available in the introspection data.
Since: 1.26
getMulticastQuerier
settingBridgeGetMulticastQuerier Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Bool | Returns: the SettingBridge:multicastQuerier property of the setting |
No description available in the introspection data.
Since: 1.24
getMulticastQuerierInterval
settingBridgeGetMulticastQuerierInterval Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Word64 | Returns: the SettingBridge:multicastQuerierInterval property of the setting |
No description available in the introspection data.
Since: 1.26
getMulticastQueryInterval
settingBridgeGetMulticastQueryInterval Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Word64 | Returns: the SettingBridge:multicastQueryInterval property of the setting |
No description available in the introspection data.
Since: 1.26
getMulticastQueryResponseInterval
settingBridgeGetMulticastQueryResponseInterval Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Word64 | Returns: the SettingBridge:multicastQueryResponseInterval property of the setting |
No description available in the introspection data.
Since: 1.26
getMulticastQueryUseIfaddr
settingBridgeGetMulticastQueryUseIfaddr Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Bool | Returns: the SettingBridge:multicastQueryUseIfaddr property of the setting |
No description available in the introspection data.
Since: 1.24
getMulticastRouter
settingBridgeGetMulticastRouter Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Text | Returns: the SettingBridge:multicastRouter property of the setting |
No description available in the introspection data.
Since: 1.24
getMulticastSnooping
settingBridgeGetMulticastSnooping Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Bool | Returns: the SettingBridge:multicastSnooping property of the setting |
No description available in the introspection data.
Since: 1.2
getMulticastStartupQueryCount
settingBridgeGetMulticastStartupQueryCount Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Word32 | Returns: the SettingBridge:multicastQueryResponseInterval property of the setting |
No description available in the introspection data.
Since: 1.26
getMulticastStartupQueryInterval
settingBridgeGetMulticastStartupQueryInterval Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Word64 | Returns: the SettingBridge:multicastStartupQueryInterval property of the setting |
No description available in the introspection data.
Since: 1.26
getNumVlans
settingBridgeGetNumVlans Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Word32 | Returns: the number of VLANs |
No description available in the introspection data.
Since: 1.18
getPriority
settingBridgeGetPriority Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Word16 | Returns: the SettingBridge:priority property of the setting |
No description available in the introspection data.
getStp
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Bool | Returns: the SettingBridge:stp property of the setting |
No description available in the introspection data.
getVlan
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> Word32 |
|
-> m BridgeVlan | Returns: the VLAN at index |
No description available in the introspection data.
Since: 1.18
getVlanDefaultPvid
settingBridgeGetVlanDefaultPvid Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Word16 | Returns: the SettingBridge:vlanDefaultPvid property of the setting |
No description available in the introspection data.
Since: 1.18
getVlanFiltering
settingBridgeGetVlanFiltering Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Bool | Returns: the SettingBridge:vlanFiltering property of the setting |
No description available in the introspection data.
Since: 1.18
getVlanProtocol
settingBridgeGetVlanProtocol Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Text | Returns: the SettingBridge:vlanProtocol property of the setting |
No description available in the introspection data.
Since: 1.24
getVlanStatsEnabled
settingBridgeGetVlanStatsEnabled Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> m Bool | Returns: the SettingBridge:vlanStatsEnabled property of the setting |
No description available in the introspection data.
Since: 1.24
new
Arguments
:: (HasCallStack, MonadIO m) | |
=> m SettingBridge | Returns: the new empty |
Creates a new SettingBridge
object with default values.
removeVlan
settingBridgeRemoveVlan Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> Word32 |
|
-> m () |
Removes the vlan at index idx
.
Since: 1.18
removeVlanByVid
settingBridgeRemoveVlanByVid Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingBridge a) | |
=> a |
|
-> Word16 |
|
-> Word16 |
|
-> m Bool | Returns: |
Remove the VLAN with range vidStart
to vidEnd
.
If vidEnd
is zero, it is assumed to be equal to vidStart
and so the single-id VLAN with id vidStart
is removed.
Since: 1.18
Properties
ageingTime
The Ethernet MAC address aging time, in seconds.
constructSettingBridgeAgeingTime :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “ageing-time
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeAgeingTime :: (MonadIO m, IsSettingBridge o) => o -> m Word32 Source #
Get the value of the “ageing-time
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #ageingTime
setSettingBridgeAgeingTime :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m () Source #
Set the value of the “ageing-time
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #ageingTime:=
value ]
forwardDelay
The Spanning Tree Protocol (STP) forwarding delay, in seconds.
constructSettingBridgeForwardDelay :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “forward-delay
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeForwardDelay :: (MonadIO m, IsSettingBridge o) => o -> m Word32 Source #
Get the value of the “forward-delay
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #forwardDelay
setSettingBridgeForwardDelay :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m () Source #
Set the value of the “forward-delay
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #forwardDelay:=
value ]
groupAddress
If specified, The MAC address of the multicast group this bridge uses for STP.
The address must be a link-local address in standard Ethernet MAC address format, ie an address of the form 01:80:C2:00:00:0X, with X in [0, 4..F]. If not specified the default value is 01:80:C2:00:00:00.
Since: 1.24
clearSettingBridgeGroupAddress :: (MonadIO m, IsSettingBridge o) => o -> m () Source #
Set the value of the “group-address
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#groupAddress
constructSettingBridgeGroupAddress :: (IsSettingBridge o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “group-address
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeGroupAddress :: (MonadIO m, IsSettingBridge o) => o -> m Text Source #
Get the value of the “group-address
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #groupAddress
setSettingBridgeGroupAddress :: (MonadIO m, IsSettingBridge o) => o -> Text -> m () Source #
Set the value of the “group-address
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #groupAddress:=
value ]
groupForwardMask
A mask of group addresses to forward. Usually, group addresses in the range from 01:80:C2:00:00:00 to 01:80:C2:00:00:0F are not forwarded according to standards. This property is a mask of 16 bits, each corresponding to a group address in that range that must be forwarded. The mask can't have bits 0, 1 or 2 set because they are used for STP, MAC pause frames and LACP.
Since: 1.10
constructSettingBridgeGroupForwardMask :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “group-forward-mask
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeGroupForwardMask :: (MonadIO m, IsSettingBridge o) => o -> m Word32 Source #
Get the value of the “group-forward-mask
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #groupForwardMask
setSettingBridgeGroupForwardMask :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m () Source #
Set the value of the “group-forward-mask
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #groupForwardMask:=
value ]
helloTime
The Spanning Tree Protocol (STP) hello time, in seconds.
constructSettingBridgeHelloTime :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “hello-time
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeHelloTime :: (MonadIO m, IsSettingBridge o) => o -> m Word32 Source #
Get the value of the “hello-time
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #helloTime
setSettingBridgeHelloTime :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m () Source #
Set the value of the “hello-time
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #helloTime:=
value ]
macAddress
If specified, the MAC address of bridge. When creating a new bridge, this MAC address will be set.
If this field is left unspecified, the "ethernet.cloned-mac-address" is referred instead to generate the initial MAC address. Note that setting "ethernet.cloned-mac-address" anyway overwrites the MAC address of the bridge later while activating the bridge.
clearSettingBridgeMacAddress :: (MonadIO m, IsSettingBridge o) => o -> m () Source #
Set the value of the “mac-address
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#macAddress
constructSettingBridgeMacAddress :: (IsSettingBridge o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “mac-address
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeMacAddress :: (MonadIO m, IsSettingBridge o) => o -> m Text Source #
Get the value of the “mac-address
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #macAddress
setSettingBridgeMacAddress :: (MonadIO m, IsSettingBridge o) => o -> Text -> m () Source #
Set the value of the “mac-address
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #macAddress:=
value ]
maxAge
The Spanning Tree Protocol (STP) maximum message age, in seconds.
constructSettingBridgeMaxAge :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “max-age
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeMaxAge :: (MonadIO m, IsSettingBridge o) => o -> m Word32 Source #
Get the value of the “max-age
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #maxAge
setSettingBridgeMaxAge :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m () Source #
Set the value of the “max-age
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #maxAge:=
value ]
multicastHashMax
Set maximum size of multicast hash table (value must be a power of 2).
constructSettingBridgeMulticastHashMax :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “multicast-hash-max
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeMulticastHashMax :: (MonadIO m, IsSettingBridge o) => o -> m Word32 Source #
Get the value of the “multicast-hash-max
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #multicastHashMax
setSettingBridgeMulticastHashMax :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m () Source #
Set the value of the “multicast-hash-max
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #multicastHashMax:=
value ]
multicastLastMemberCount
Set the number of queries the bridge will send before stopping forwarding a multicast group after a "leave" message has been received.
constructSettingBridgeMulticastLastMemberCount :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “multicast-last-member-count
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeMulticastLastMemberCount :: (MonadIO m, IsSettingBridge o) => o -> m Word32 Source #
Get the value of the “multicast-last-member-count
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #multicastLastMemberCount
setSettingBridgeMulticastLastMemberCount :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m () Source #
Set the value of the “multicast-last-member-count
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #multicastLastMemberCount:=
value ]
multicastLastMemberInterval
Set interval (in deciseconds) between queries to find remaining members of a group, after a "leave" message is received.
constructSettingBridgeMulticastLastMemberInterval :: (IsSettingBridge o, MonadIO m) => Word64 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “multicast-last-member-interval
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeMulticastLastMemberInterval :: (MonadIO m, IsSettingBridge o) => o -> m Word64 Source #
Get the value of the “multicast-last-member-interval
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #multicastLastMemberInterval
setSettingBridgeMulticastLastMemberInterval :: (MonadIO m, IsSettingBridge o) => o -> Word64 -> m () Source #
Set the value of the “multicast-last-member-interval
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #multicastLastMemberInterval:=
value ]
multicastMembershipInterval
Set delay (in deciseconds) after which the bridge will leave a group, if no membership reports for this group are received.
constructSettingBridgeMulticastMembershipInterval :: (IsSettingBridge o, MonadIO m) => Word64 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “multicast-membership-interval
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeMulticastMembershipInterval :: (MonadIO m, IsSettingBridge o) => o -> m Word64 Source #
Get the value of the “multicast-membership-interval
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #multicastMembershipInterval
setSettingBridgeMulticastMembershipInterval :: (MonadIO m, IsSettingBridge o) => o -> Word64 -> m () Source #
Set the value of the “multicast-membership-interval
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #multicastMembershipInterval:=
value ]
multicastQuerier
Enable or disable sending of multicast queries by the bridge. If not specified the option is disabled.
constructSettingBridgeMulticastQuerier :: (IsSettingBridge o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “multicast-querier
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeMulticastQuerier :: (MonadIO m, IsSettingBridge o) => o -> m Bool Source #
Get the value of the “multicast-querier
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #multicastQuerier
setSettingBridgeMulticastQuerier :: (MonadIO m, IsSettingBridge o) => o -> Bool -> m () Source #
Set the value of the “multicast-querier
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #multicastQuerier:=
value ]
multicastQuerierInterval
If no queries are seen after this delay (in deciseconds) has passed, the bridge will start to send its own queries.
constructSettingBridgeMulticastQuerierInterval :: (IsSettingBridge o, MonadIO m) => Word64 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “multicast-querier-interval
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeMulticastQuerierInterval :: (MonadIO m, IsSettingBridge o) => o -> m Word64 Source #
Get the value of the “multicast-querier-interval
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #multicastQuerierInterval
setSettingBridgeMulticastQuerierInterval :: (MonadIO m, IsSettingBridge o) => o -> Word64 -> m () Source #
Set the value of the “multicast-querier-interval
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #multicastQuerierInterval:=
value ]
multicastQueryInterval
Interval (in deciseconds) between queries sent by the bridge after the end of the startup phase.
constructSettingBridgeMulticastQueryInterval :: (IsSettingBridge o, MonadIO m) => Word64 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “multicast-query-interval
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeMulticastQueryInterval :: (MonadIO m, IsSettingBridge o) => o -> m Word64 Source #
Get the value of the “multicast-query-interval
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #multicastQueryInterval
setSettingBridgeMulticastQueryInterval :: (MonadIO m, IsSettingBridge o) => o -> Word64 -> m () Source #
Set the value of the “multicast-query-interval
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #multicastQueryInterval:=
value ]
multicastQueryResponseInterval
Set the Max Response Time/Max Response Delay (in deciseconds) for IGMP/MLD queries sent by the bridge.
constructSettingBridgeMulticastQueryResponseInterval :: (IsSettingBridge o, MonadIO m) => Word64 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “multicast-query-response-interval
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeMulticastQueryResponseInterval :: (MonadIO m, IsSettingBridge o) => o -> m Word64 Source #
Get the value of the “multicast-query-response-interval
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #multicastQueryResponseInterval
setSettingBridgeMulticastQueryResponseInterval :: (MonadIO m, IsSettingBridge o) => o -> Word64 -> m () Source #
Set the value of the “multicast-query-response-interval
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #multicastQueryResponseInterval:=
value ]
multicastQueryUseIfaddr
If enabled the bridge's own IP address is used as the source address for IGMP queries otherwise the default of 0.0.0.0 is used.
constructSettingBridgeMulticastQueryUseIfaddr :: (IsSettingBridge o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “multicast-query-use-ifaddr
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeMulticastQueryUseIfaddr :: (MonadIO m, IsSettingBridge o) => o -> m Bool Source #
Get the value of the “multicast-query-use-ifaddr
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #multicastQueryUseIfaddr
setSettingBridgeMulticastQueryUseIfaddr :: (MonadIO m, IsSettingBridge o) => o -> Bool -> m () Source #
Set the value of the “multicast-query-use-ifaddr
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #multicastQueryUseIfaddr:=
value ]
multicastRouter
Sets bridge's multicast router. Multicast-snooping must be enabled for this option to work.
Supported values are: 'auto', 'disabled', 'enabled' to which kernel assigns the numbers 1, 0, and 2, respectively. If not specified the default value is 'auto' (1).
clearSettingBridgeMulticastRouter :: (MonadIO m, IsSettingBridge o) => o -> m () Source #
Set the value of the “multicast-router
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#multicastRouter
constructSettingBridgeMulticastRouter :: (IsSettingBridge o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “multicast-router
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeMulticastRouter :: (MonadIO m, IsSettingBridge o) => o -> m Text Source #
Get the value of the “multicast-router
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #multicastRouter
setSettingBridgeMulticastRouter :: (MonadIO m, IsSettingBridge o) => o -> Text -> m () Source #
Set the value of the “multicast-router
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #multicastRouter:=
value ]
multicastSnooping
Controls whether IGMP snooping is enabled for this bridge. Note that if snooping was automatically disabled due to hash collisions, the system may refuse to enable the feature until the collisions are resolved.
Since: 1.2
constructSettingBridgeMulticastSnooping :: (IsSettingBridge o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “multicast-snooping
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeMulticastSnooping :: (MonadIO m, IsSettingBridge o) => o -> m Bool Source #
Get the value of the “multicast-snooping
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #multicastSnooping
setSettingBridgeMulticastSnooping :: (MonadIO m, IsSettingBridge o) => o -> Bool -> m () Source #
Set the value of the “multicast-snooping
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #multicastSnooping:=
value ]
multicastStartupQueryCount
Set the number of IGMP queries to send during startup phase.
constructSettingBridgeMulticastStartupQueryCount :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “multicast-startup-query-count
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeMulticastStartupQueryCount :: (MonadIO m, IsSettingBridge o) => o -> m Word32 Source #
Get the value of the “multicast-startup-query-count
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #multicastStartupQueryCount
setSettingBridgeMulticastStartupQueryCount :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m () Source #
Set the value of the “multicast-startup-query-count
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #multicastStartupQueryCount:=
value ]
multicastStartupQueryInterval
Sets the time (in deciseconds) between queries sent out at startup to determine membership information.
constructSettingBridgeMulticastStartupQueryInterval :: (IsSettingBridge o, MonadIO m) => Word64 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “multicast-startup-query-interval
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeMulticastStartupQueryInterval :: (MonadIO m, IsSettingBridge o) => o -> m Word64 Source #
Get the value of the “multicast-startup-query-interval
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #multicastStartupQueryInterval
setSettingBridgeMulticastStartupQueryInterval :: (MonadIO m, IsSettingBridge o) => o -> Word64 -> m () Source #
Set the value of the “multicast-startup-query-interval
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #multicastStartupQueryInterval:=
value ]
priority
Sets the Spanning Tree Protocol (STP) priority for this bridge. Lower values are "better"; the lowest priority bridge will be elected the root bridge.
constructSettingBridgePriority :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “priority
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgePriority :: (MonadIO m, IsSettingBridge o) => o -> m Word32 Source #
Get the value of the “priority
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #priority
setSettingBridgePriority :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m () Source #
Set the value of the “priority
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #priority:=
value ]
stp
Controls whether Spanning Tree Protocol (STP) is enabled for this bridge.
constructSettingBridgeStp :: (IsSettingBridge o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “stp
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeStp :: (MonadIO m, IsSettingBridge o) => o -> m Bool Source #
Get the value of the “stp
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #stp
setSettingBridgeStp :: (MonadIO m, IsSettingBridge o) => o -> Bool -> m () Source #
Set the value of the “stp
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #stp:=
value ]
vlanDefaultPvid
The default PVID for the ports of the bridge, that is the VLAN id assigned to incoming untagged frames.
Since: 1.18
constructSettingBridgeVlanDefaultPvid :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “vlan-default-pvid
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeVlanDefaultPvid :: (MonadIO m, IsSettingBridge o) => o -> m Word32 Source #
Get the value of the “vlan-default-pvid
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #vlanDefaultPvid
setSettingBridgeVlanDefaultPvid :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m () Source #
Set the value of the “vlan-default-pvid
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #vlanDefaultPvid:=
value ]
vlanFiltering
Control whether VLAN filtering is enabled on the bridge.
Since: 1.18
constructSettingBridgeVlanFiltering :: (IsSettingBridge o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “vlan-filtering
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeVlanFiltering :: (MonadIO m, IsSettingBridge o) => o -> m Bool Source #
Get the value of the “vlan-filtering
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #vlanFiltering
setSettingBridgeVlanFiltering :: (MonadIO m, IsSettingBridge o) => o -> Bool -> m () Source #
Set the value of the “vlan-filtering
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #vlanFiltering:=
value ]
vlanProtocol
If specified, the protocol used for VLAN filtering.
Supported values are: '802.1Q', '802.1ad'. If not specified the default value is '802.1Q'.
Since: 1.24
clearSettingBridgeVlanProtocol :: (MonadIO m, IsSettingBridge o) => o -> m () Source #
Set the value of the “vlan-protocol
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#vlanProtocol
constructSettingBridgeVlanProtocol :: (IsSettingBridge o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “vlan-protocol
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeVlanProtocol :: (MonadIO m, IsSettingBridge o) => o -> m Text Source #
Get the value of the “vlan-protocol
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #vlanProtocol
setSettingBridgeVlanProtocol :: (MonadIO m, IsSettingBridge o) => o -> Text -> m () Source #
Set the value of the “vlan-protocol
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #vlanProtocol:=
value ]
vlanStatsEnabled
Controls whether per-VLAN stats accounting is enabled.
constructSettingBridgeVlanStatsEnabled :: (IsSettingBridge o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “vlan-stats-enabled
” property. This is rarely needed directly, but it is used by new
.
getSettingBridgeVlanStatsEnabled :: (MonadIO m, IsSettingBridge o) => o -> m Bool Source #
Get the value of the “vlan-stats-enabled
” property.
When overloading is enabled, this is equivalent to
get
settingBridge #vlanStatsEnabled
setSettingBridgeVlanStatsEnabled :: (MonadIO m, IsSettingBridge o) => o -> Bool -> m () Source #
Set the value of the “vlan-stats-enabled
” property.
When overloading is enabled, this is equivalent to
set
settingBridge [ #vlanStatsEnabled:=
value ]