From 90e8691111889a7b5f3c812f5a41f15a8a058913 Mon Sep 17 00:00:00 2001
From: Michael Biebl
NMDevice implements
- GInitable and GAsyncInitable. the current MAC of the device, or the current MAC of the device, or Whether the NMDevice is managed by NetworkManager. Enables or disables management of NMDevice by NetworkManager. managed Whether the NMDevice can be autoconnected. Enables or disables automatic activation of the NMDevice. autoconnect Indicates that firmware required for the device's operation is likely
to be missing. Indicates that the NetworkManager plugin for the device is not installed. Since: 1.2 the IPv4 NMIPConfig, or the IPv4 NMIPConfig, or [transfer none]
-gboolean
+gboolean
nm_device_get_managed ()
@@ -133,7 +133,7 @@
-gboolean
+gboolean
nm_device_get_autoconnect ()
@@ -149,7 +149,7 @@
-gboolean
+gboolean
nm_device_get_firmware_missing ()
@@ -157,7 +157,7 @@
-gboolean
+gboolean
nm_device_get_nm_plugin_missing ()
@@ -220,7 +220,7 @@
-
const GPtrArray *
+ const GPtrArray *
nm_device_get_available_connections ()
@@ -235,7 +235,7 @@
-guint32
+guint32
nm_device_get_mtu ()
@@ -243,7 +243,7 @@
-gboolean
+gboolean
nm_device_is_real ()
@@ -251,7 +251,7 @@
-gboolean
+gboolean
nm_device_is_software ()
@@ -288,7 +288,7 @@
-GPtrArray *
+GPtrArray *
nm_device_get_lldp_neighbors ()
@@ -304,7 +304,7 @@
-gboolean
+gboolean
nm_device_reapply ()
@@ -320,7 +320,7 @@
-gboolean
+gboolean
nm_device_reapply_finish ()
@@ -352,7 +352,7 @@
-gboolean
+gboolean
nm_device_disconnect ()
@@ -368,7 +368,7 @@
-gboolean
+gboolean
nm_device_disconnect_finish ()
@@ -376,7 +376,7 @@
-gboolean
+gboolean
nm_device_delete ()
@@ -392,7 +392,7 @@
-gboolean
+gboolean
nm_device_delete_finish ()
@@ -400,7 +400,7 @@
-GPtrArray *
+GPtrArray *
nm_device_filter_connections ()
@@ -408,7 +408,7 @@
-gboolean
+gboolean
nm_device_connection_valid ()
@@ -416,7 +416,7 @@
-gboolean
+gboolean
nm_device_connection_compatible ()
@@ -424,7 +424,7 @@
-GType
+GType
nm_device_get_setting_type ()
@@ -464,7 +464,7 @@
-gboolean
+gboolean
nm_lldp_neighbor_get_attr_string_value ()
@@ -472,14 +472,14 @@
-gboolean
+gboolean
nm_lldp_neighbor_get_attr_uint_value ()
-
const GVariantType *
+ const GVariantType *
nm_lldp_neighbor_get_attr_type ()
@@ -504,13 +504,13 @@
Read
-
gboolean
+gboolean
autoconnect
Read / Write
@@ -538,36 +538,36 @@
-GPtrArray *
+GPtrArray *
available-connections
Read
-gchar *
+gchar *
driver
Read
-gchar *
+gchar *
driver-version
Read
-
gboolean
+gboolean
firmware-missing
Read
-gchar *
+gchar *
firmware-version
Read
-gchar *
+gchar *
interface
Read
@@ -585,44 +585,44 @@
-gchar *
+gchar *
ip-interface
Read
-GPtrArray *
+GPtrArray *
lldp-neighbors
Read
-
gboolean
+gboolean
managed
Read
-
guint
+guint
metered
Read
-
guint
+guint
mtu
Read
-
gboolean
+gboolean
nm-plugin-missing
Read
-gchar *
+gchar *
physical-port-id
Read
-gchar *
+gchar *
product
Read
-
@@ -632,19 +632,19 @@
gboolean
+gboolean
real
Read
Read
-
guint
+guint
state-reason
Read
-gchar *
+gchar *
udi
Read
@@ -662,7 +662,7 @@
-gchar *
+gchar *
vendor
Read
@@ -791,9 +791,9 @@
void
state-changed
-Run First
+Run First
Object Hierarchy
- GBoxed
+
GBoxed
╰── NMLldpNeighbor
- GObject
+ GObject
╰── NMObject
╰── NMDevice
├── NMDeviceAdsl
@@ -809,6 +809,10 @@
├── NMDeviceMacvlan
├── NMDeviceModem
├── NMDeviceOlpcMesh
+ ├── NMDeviceOvsBridge
+ ├── NMDeviceOvsInterface
+ ├── NMDeviceOvsPort
+ ├── NMDevicePpp
├── NMDeviceTeam
├── NMDeviceTun
├── NMDeviceVlan
@@ -821,7 +825,7 @@
Implemented Interfaces
Description
@@ -1070,7 +1074,7 @@ nm_device_get_hw_address (
Returns
-NULL.
+NULL.
This is the internal string used by the device, and must not be modified.
nm_device_get_managed ()
-gboolean
+
gboolean
nm_device_get_managed (
NMDevice *device);
Returns
-TRUE if the device is managed by NetworkManagerTRUE if the device is managed by NetworkManager
@@ -1131,7 +1135,7 @@ nm_device_get_managed (nm_device_set_managed ()
void
nm_device_set_managed (
+ NMDevice *device,
- gboolean managed);gboolean managed);Parameters
@@ -1149,7 +1153,7 @@ nm_device_set_managed (
+TRUE to make the device managed by NetworkManager.TRUE to make the device managed by NetworkManager.
@@ -1160,7 +1164,7 @@ nm_device_set_managed (
nm_device_get_autoconnect ()
-gboolean
+
gboolean
nm_device_get_autoconnect (
NMDevice *device);
Returns
-TRUE if the device is allowed to be autoconnectedTRUE if the device is allowed to be autoconnected
@@ -1188,7 +1192,7 @@ nm_device_get_autoconnect (nm_device_set_autoconnect ()
void
nm_device_set_autoconnect (
+ NMDevice *device,
- gboolean autoconnect);gboolean autoconnect);
Parameters
@@ -1206,7 +1210,7 @@ nm_device_set_autoconnect (
+TRUE to enable autoconnectingTRUE to enable autoconnecting
@@ -1216,7 +1220,7 @@ nm_device_set_autoconnect (
nm_device_get_firmware_missing ()
-gboolean
+
gboolean
nm_device_get_firmware_missing (
NMDevice *device);Returns
-TRUE if firmware required for the device's operation is likely
+TRUE if firmware required for the device's operation is likely
to be missing.
nm_device_get_nm_plugin_missing ()
-gboolean
+
gboolean
nm_device_get_nm_plugin_missing (
NMDevice *device);
Returns
-NULL if the device is not
+NULL if the device is not
activated.
the IPv4 NMDhcpConfig, or NULL if the device is
+
the IPv4 NMDhcpConfig, or NULL if the device is
not activated or not using DHCP.
[transfer none]
the IPv6 NMIPConfig or NULL if the device is not activated.
the IPv6 NMIPConfig or NULL if the device is not activated.
[transfer none]
the IPv6 NMDhcpConfig, or NULL if the device is
+
the IPv6 NMDhcpConfig, or NULL if the device is
not activated or not using DHCPv6.
[transfer none]
Returns
- the NMActiveConnection or NULL if the device is
+
the NMActiveConnection or NULL if the device is
not part of an active connection.
[transfer none]
@@ -1470,7 +1474,7 @@ not part of an active connection.
nm_device_get_available_connections ()
-const GPtrArray *
+const GPtrArray *
nm_device_get_available_connections (NMDevice *device);
Gets the NMRemoteConnections currently known to the daemon that could
be activated on device
@@ -1492,7 +1496,7 @@ be activated on device
Returns
- the GPtrArray
+
the GPtrArray
containing NMRemoteConnections. This is the internal copy used by
the connection, and must not be modified.
[element-type NMRemoteConnection]
@@ -1503,7 +1507,7 @@ the connection, and must not be modified.
nm_device_get_physical_port_id ()
const char *
nm_device_get_physical_port_id (NMDevice *device);
-Gets the physical port ID of the NMDevice. If non-NULL, this is
+
Gets the physical port ID of the NMDevice. If non-NULL, this is
an opaque string that can be used to recognize when
seemingly-unrelated NMDevices are actually just different virtual
ports on a single physical port. (Eg, NPAR / SR-IOV.)
@@ -1524,7 +1528,7 @@ ports on a single physical port. (Eg, NPAR / SR-IOV.)
Returns
- the physical port ID of the device, or NULL if the port
+
the physical port ID of the device, or NULL if the port
ID is unknown. This is the internal string used by the device and
must not be modified.
@@ -1532,7 +1536,7 @@ must not be modified.
nm_device_get_mtu ()
-guint32
+guint32
nm_device_get_mtu (NMDevice *device);
Gets the MTU of the NMDevice.
@@ -1558,7 +1562,7 @@ nm_device_get_mtu (
nm_device_is_real ()
-gboolean
+gboolean
nm_device_is_real (NMDevice *device);
Parameters
@@ -1577,7 +1581,7 @@ nm_device_is_real (
Returns
- TRUE if the device exists, or FALSE if it is a placeholder device
+
TRUE if the device exists, or FALSE if it is a placeholder device
that could be automatically created by NetworkManager if one of its
“available-connections” was activated.
@@ -1586,7 +1590,7 @@ that could be automatically created by NetworkManager if one of its
nm_device_is_software ()
-gboolean
+gboolean
nm_device_is_software (NMDevice *device);
Whether the device is a software device.
@@ -1636,7 +1640,7 @@ nm_device_get_product (g_strcompress(), however the result may not be valid UTF-8.
+can be reverted with g_strcompress(), however the result may not be valid UTF-8.
@@ -1665,7 +1669,7 @@ nm_device_get_vendor (g_strcompress(), however the result may not be valid UTF-8.
+can be reverted with g_strcompress(), however the result may not be valid UTF-8.
@@ -1727,7 +1731,7 @@ nm_device_get_metered (
nm_device_get_lldp_neighbors ()
-GPtrArray *
+GPtrArray *
nm_device_get_lldp_neighbors (NMDevice *device);
Gets the list of neighbors discovered through LLDP.
@@ -1747,7 +1751,7 @@ nm_device_get_lldp_neighbors (
Returns
- the GPtrArray
+
the GPtrArray
containing NMLldpNeighbors. This is the internal copy used by the
device and must not be modified. The library never modifies the returned
array and thus it is safe for callers to reference and keep using it.
@@ -1796,13 +1800,13 @@ devices in devices
nm_device_reapply ()
-gboolean
+gboolean
nm_device_reapply (NMDevice *device,
NMConnection *connection,
- guint64 version_id,
- guint32 flags,
- GCancellable *cancellable,
- GError **error);
+ guint64 version_id,
+ guint32 flags,
+ GCancellable *cancellable,
+ GError **error);
Attempts to update device with changes to the currently active connection
made since it was last applied.
@@ -1821,7 +1825,7 @@ made since it was last applied.
connection
-the NMConnection to replace the applied settings with or NULL to reuse existing
+the NMConnection to replace the applied settings with or NULL to reuse existing
@@ -1838,12 +1842,12 @@ catch concurrent accesses.
cancellable
-a GCancellable, or NULL
+a GCancellable, or NULL
error
-location for a GError, or NULL
+
@@ -1851,7 +1855,7 @@ catch concurrent accesses.
Returns
- TRUE on success, FALSE on error, in which case error
+
TRUE on success, FALSE on error, in which case error
will be set.
Since: 1.2
@@ -1862,11 +1866,11 @@ will be set.
void
nm_device_reapply_async (NMDevice *device,
NMConnection *connection,
- guint64 version_id,
- guint32 flags,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
+ guint64 version_id,
+ guint32 flags,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
Asynchronously begins an attempt to update device with changes to the
currently active connection made since it was last applied.
@@ -1885,7 +1889,7 @@ currently active connection made since it was last applied.
connection
-the NMConnection to replace the applied settings with or NULL to reuse existing
+the NMConnection to replace the applied settings with or NULL to reuse existing
@@ -1902,7 +1906,7 @@ catch concurrent accesses.
cancellable
-a GCancellable, or NULL
+a GCancellable, or NULL
@@ -1924,10 +1928,10 @@ catch concurrent accesses.
nm_device_reapply_finish ()
-gboolean
+gboolean
nm_device_reapply_finish (NMDevice *device,
- GAsyncResult *result,
- GError **error);
+ GAsyncResult *result,
+ GError **error);
Gets the result of a call to nm_device_reapply_async().
Parameters
@@ -1945,12 +1949,12 @@ nm_device_reapply_finish (result
-the result passed to the GAsyncReadyCallback
+the result passed to the GAsyncReadyCallback
error
-location for a GError, or NULL
+
@@ -1958,7 +1962,7 @@ nm_device_reapply_finish (
Returns
- TRUE on success, FALSE on error, in which case error
+
TRUE on success, FALSE on error, in which case error
will be set.
Since: 1.2
@@ -1968,10 +1972,10 @@ will be set.
nm_device_get_applied_connection ()
NMConnection *
nm_device_get_applied_connection (NMDevice *device,
- guint32 flags,
- guint64 *version_id,
- GCancellable *cancellable,
- GError **error);
+ guint32 flags,
+ guint64 *version_id,
+ GCancellable *cancellable,
+ GError **error);
Fetch the currently applied connection on the device.
Parameters
@@ -2000,12 +2004,12 @@ the applied connection.
cancellable
-a GCancellable, or NULL
+a GCancellable, or NULL
error
-location for a GError, or NULL
+
@@ -2014,7 +2018,7 @@ the applied connection.
Returns
a NMConnection with the currently applied settings
-or NULL on error.
+or NULL on error.
The connection is as received from D-Bus and might not validate according
to nm_connection_verify().
[transfer full]
@@ -2027,11 +2031,11 @@ to void
nm_device_get_applied_connection_async
(NMDevice *device,
- guint32 flags,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-Asynchronously begins an get the a currently applied connection.
+ guint32 flags,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+Asynchronously begins and gets the currently applied connection.
Parameters
-Flags: Run First
+Flags: Run First
--
cgit 1.3.0-6-gf8a5