Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Since: 1.2
Synopsis
- newtype DeviceMacvlan = DeviceMacvlan (ManagedPtr DeviceMacvlan)
- class (GObject o, IsDescendantOf DeviceMacvlan o) => IsDeviceMacvlan o
- toDeviceMacvlan :: (MonadIO m, IsDeviceMacvlan o) => o -> m DeviceMacvlan
- deviceMacvlanGetMode :: (HasCallStack, MonadIO m, IsDeviceMacvlan a) => a -> m Text
- deviceMacvlanGetNoPromisc :: (HasCallStack, MonadIO m, IsDeviceMacvlan a) => a -> m Bool
- deviceMacvlanGetParent :: (HasCallStack, MonadIO m, IsDeviceMacvlan a) => a -> m Device
- deviceMacvlanGetTap :: (HasCallStack, MonadIO m, IsDeviceMacvlan a) => a -> m Bool
- getDeviceMacvlanMode :: (MonadIO m, IsDeviceMacvlan o) => o -> m Text
- getDeviceMacvlanNoPromisc :: (MonadIO m, IsDeviceMacvlan o) => o -> m Bool
- getDeviceMacvlanParent :: (MonadIO m, IsDeviceMacvlan o) => o -> m Device
- getDeviceMacvlanTap :: (MonadIO m, IsDeviceMacvlan o) => o -> m Bool
Exported types
newtype DeviceMacvlan Source #
Memory-managed wrapper type.
Instances
Eq DeviceMacvlan Source # | |
Defined in GI.NM.Objects.DeviceMacvlan (==) :: DeviceMacvlan -> DeviceMacvlan -> Bool # (/=) :: DeviceMacvlan -> DeviceMacvlan -> Bool # | |
GObject DeviceMacvlan Source # | |
Defined in GI.NM.Objects.DeviceMacvlan | |
ManagedPtrNewtype DeviceMacvlan Source # | |
Defined in GI.NM.Objects.DeviceMacvlan | |
TypedObject DeviceMacvlan Source # | |
Defined in GI.NM.Objects.DeviceMacvlan | |
HasParentTypes DeviceMacvlan Source # | |
Defined in GI.NM.Objects.DeviceMacvlan | |
IsGValue (Maybe DeviceMacvlan) Source # | Convert |
Defined in GI.NM.Objects.DeviceMacvlan gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe DeviceMacvlan -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe DeviceMacvlan) # | |
type ParentTypes DeviceMacvlan Source # | |
Defined in GI.NM.Objects.DeviceMacvlan |
class (GObject o, IsDescendantOf DeviceMacvlan o) => IsDeviceMacvlan o Source #
Type class for types which can be safely cast to DeviceMacvlan
, for instance with toDeviceMacvlan
.
Instances
(GObject o, IsDescendantOf DeviceMacvlan o) => IsDeviceMacvlan o Source # | |
Defined in GI.NM.Objects.DeviceMacvlan |
toDeviceMacvlan :: (MonadIO m, IsDeviceMacvlan o) => o -> m DeviceMacvlan Source #
Cast to DeviceMacvlan
, 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, getClient, getConnectivity, getData, getDescription, getDeviceType, getDhcp4Config, getDhcp6Config, getDriver, getDriverVersion, getFirmwareMissing, getFirmwareVersion, getHwAddress, getIface, getInterfaceFlags, getIp4Config, getIp6Config, getIpIface, getLldpNeighbors, getManaged, getMetered, getMode, getMtu, getNmPluginMissing, getNoPromisc, getParent, getPath, getPhysicalPortId, getPorts, getProduct, getProperty, getQdata, getSettingType, getState, getStateReason, getTap, getTypeDescription, getUdi, getVendor.
Setters
setAutoconnect, setData, setDataFull, setManaged, setProperty.
getMode
:: (HasCallStack, MonadIO m, IsDeviceMacvlan a) | |
=> a |
|
-> m Text | Returns: the MACVLAN mode. This is the internal string used by the device, and must not be modified. |
Gets the MACVLAN mode of the device.
Since: 1.2
getNoPromisc
deviceMacvlanGetNoPromisc Source #
:: (HasCallStack, MonadIO m, IsDeviceMacvlan a) | |
=> a |
|
-> m Bool | Returns: the no-promiscuous flag of the device. |
Gets the no-promiscuous flag of the device.
Since: 1.2
getParent
deviceMacvlanGetParent Source #
:: (HasCallStack, MonadIO m, IsDeviceMacvlan a) | |
=> a |
|
-> m Device | Returns: the device's parent device |
No description available in the introspection data.
Since: 1.2
getTap
:: (HasCallStack, MonadIO m, IsDeviceMacvlan a) | |
=> a |
|
-> m Bool | Returns: |
Gets the device type (MACVLAN or MACVTAP).
Since: 1.2
Properties
mode
The MACVLAN mode.
Since: 1.2
getDeviceMacvlanMode :: (MonadIO m, IsDeviceMacvlan o) => o -> m Text Source #
Get the value of the “mode
” property.
When overloading is enabled, this is equivalent to
get
deviceMacvlan #mode
noPromisc
Whether the device has the no-promiscuos flag.
Since: 1.2
getDeviceMacvlanNoPromisc :: (MonadIO m, IsDeviceMacvlan o) => o -> m Bool Source #
Get the value of the “no-promisc
” property.
When overloading is enabled, this is equivalent to
get
deviceMacvlan #noPromisc
parent
The devices's parent device.
Since: 1.2
getDeviceMacvlanParent :: (MonadIO m, IsDeviceMacvlan o) => o -> m Device Source #
Get the value of the “parent
” property.
When overloading is enabled, this is equivalent to
get
deviceMacvlan #parent
tap
Whether the device is a MACVTAP.
Since: 1.2
getDeviceMacvlanTap :: (MonadIO m, IsDeviceMacvlan o) => o -> m Bool Source #
Get the value of the “tap
” property.
When overloading is enabled, this is equivalent to
get
deviceMacvlan #tap