From 9a6dcbf895f9da01768e64b73cec88c16157d91e Mon Sep 17 00:00:00 2001
From: Michael Biebl
+
+NMConnectivityState
+
+
+nm_device_get_connectivity ()
+
+
+
NMDeviceState
@@ -578,12 +586,22 @@
Read
+
+NMConnectivityState
+ip4-connectivity
+Read
+
NMIPConfig *
ip6-config
Read
+
+NMConnectivityState
+ip6-connectivity
+Read
+
GPtrArray *
lldp-neighbors
@@ -783,6 +801,14 @@
NM_DEVICE_LLDP_NEIGHBORS
+
+#define
+NM_DEVICE_IP4_CONNECTIVITY
+
+
+#define
+NM_DEVICE_IP6_CONNECTIVITY
+
@@ -819,6 +845,7 @@
├── NMDeviceVlan
├── NMDeviceVxlan
├── NMDeviceWifi
+ ├── NMDeviceWifiP2P
├── NMDeviceWimax
├── NMDeviceWireGuard
╰── NMDeviceWpan
@@ -1396,6 +1423,43 @@ not activated or not using DHCPv6.
NMDevice
NMConnectivityState +nm_device_get_connectivity (+NMDevice *device, +int addr_family);
The connectivity state of the device for given address family.
+Supported address families are AF_INET for IPv4, AF_INET6
+for IPv6 or AF_UNSPEC for any.
device |
+a NMDevice |
++ |
addr_family |
+network address family |
++ |
Since: 1.16
+NMDeviceState
nm_device_get_state (NMDevice *device);
@@ -2004,9 +2068,9 @@ nm_device_get_applied_connection (
version_id
-(allow-none): returns the current version id of
+
returns the current version id of
the applied connection.
-[out]
+[out][allow-none]
cancellable
@@ -2113,9 +2177,9 @@ nm_device_get_applied_connection_finish
version_id
-(allow-none): the current version id of the applied
+
the current version id of the applied
connection.
-[out]
+[out][allow-none]
error
@@ -2313,7 +2377,7 @@ nm_device_delete_async (GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
-Asynchronously begins deleteing the software device. Hardware devices can't
+
Asynchronously begins deleting the software device. Hardware devices can't
be deleted.
Parameters
@@ -2943,6 +3007,18 @@ nm_lldp_neighbor_get_attr_type (
+
+
+
+
@@ -3059,6 +3135,15 @@ operations like addressing and routing.
+The “ip4-connectivity” property
+ “ip4-connectivity” NMConnectivityState
+The IPv4 connectivity state of the device.
+Flags: Read
+Default value: NM_CONNECTIVITY_UNKNOWN
+Since: 1.16
+
+
+
The “ip6-config” property
“ip6-config” NMIPConfig *
The IPv6 NMIPConfig of the device.
@@ -3066,6 +3151,15 @@ operations like addressing and routing.
+The “ip6-connectivity” property
+ “ip6-connectivity” NMConnectivityState
+The IPv6 connectivity state of the device.
+Flags: Read
+Default value: NM_CONNECTIVITY_UNKNOWN
+Since: 1.16
+
+
+
The “lldp-neighbors” property
“lldp-neighbors” GPtrArray *
The LLDP neighbors.
--
cgit 1.3.0-6-gf8a5