summary refs log tree commit diff
path: root/docs/libnm/html/NMDevice.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/libnm/html/NMDevice.html')
-rw-r--r--docs/libnm/html/NMDevice.html104
1 files changed, 99 insertions, 5 deletions
diff --git a/docs/libnm/html/NMDevice.html b/docs/libnm/html/NMDevice.html
index be147615..6f9f1ae6 100644
--- a/docs/libnm/html/NMDevice.html
+++ b/docs/libnm/html/NMDevice.html
@@ -197,6 +197,14 @@
 </tr>
 <tr>
 <td class="function_type">
+<a class="link" href="libnm-nm-dbus-interface.html#NMConnectivityState" title="enum NMConnectivityState"><span class="returnvalue">NMConnectivityState</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="NMDevice.html#nm-device-get-connectivity" title="nm_device_get_connectivity ()">nm_device_get_connectivity</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
 <a class="link" href="libnm-nm-dbus-interface.html#NMDeviceState" title="enum NMDeviceState"><span class="returnvalue">NMDeviceState</span></a>
 </td>
 <td class="function_name">
@@ -578,12 +586,22 @@
 <td class="property_flags">Read</td>
 </tr>
 <tr>
+<td class="property_type"><a class="link" href="libnm-nm-dbus-interface.html#NMConnectivityState" title="enum NMConnectivityState"><span class="type">NMConnectivityState</span></a></td>
+<td class="property_name"><a class="link" href="NMDevice.html#NMDevice--ip4-connectivity" title="The “ip4-connectivity” property">ip4-connectivity</a></td>
+<td class="property_flags">Read</td>
+</tr>
+<tr>
 <td class="property_type">
 <a class="link" href="NMIPConfig.html" title="NMIPConfig"><span class="type">NMIPConfig</span></a> *</td>
 <td class="property_name"><a class="link" href="NMDevice.html#NMDevice--ip6-config" title="The “ip6-config” property">ip6-config</a></td>
 <td class="property_flags">Read</td>
 </tr>
 <tr>
+<td class="property_type"><a class="link" href="libnm-nm-dbus-interface.html#NMConnectivityState" title="enum NMConnectivityState"><span class="type">NMConnectivityState</span></a></td>
+<td class="property_name"><a class="link" href="NMDevice.html#NMDevice--ip6-connectivity" title="The “ip6-connectivity” property">ip6-connectivity</a></td>
+<td class="property_flags">Read</td>
+</tr>
+<tr>
 <td class="property_type">
 <a href="https://developer.gnome.org/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *</td>
 <td class="property_name"><a class="link" href="NMDevice.html#NMDevice--lldp-neighbors" title="The “lldp-neighbors” property">lldp-neighbors</a></td>
@@ -783,6 +801,14 @@
 <td class="function_name"><a class="link" href="NMDevice.html#NM-DEVICE-LLDP-NEIGHBORS:CAPS" title="NM_DEVICE_LLDP_NEIGHBORS">NM_DEVICE_LLDP_NEIGHBORS</a></td>
 </tr>
 <tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="NMDevice.html#NM-DEVICE-IP4-CONNECTIVITY:CAPS" title="NM_DEVICE_IP4_CONNECTIVITY">NM_DEVICE_IP4_CONNECTIVITY</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="NMDevice.html#NM-DEVICE-IP6-CONNECTIVITY:CAPS" title="NM_DEVICE_IP6_CONNECTIVITY">NM_DEVICE_IP6_CONNECTIVITY</a></td>
+</tr>
+<tr>
 <td class="datatype_keyword"> </td>
 <td class="function_name"><a class="link" href="NMDevice.html#NMDevice-struct" title="NMDevice">NMDevice</a></td>
 </tr>
@@ -819,6 +845,7 @@
             <span class="lineart">├──</span> <a class="link" href="NMDeviceVlan.html" title="NMDeviceVlan">NMDeviceVlan</a>
             <span class="lineart">├──</span> <a class="link" href="NMDeviceVxlan.html" title="NMDeviceVxlan">NMDeviceVxlan</a>
             <span class="lineart">├──</span> <a class="link" href="NMDeviceWifi.html" title="NMDeviceWifi">NMDeviceWifi</a>
+            <span class="lineart">├──</span> <a class="link" href="NMDeviceWifiP2P.html" title="NMDeviceWifiP2P">NMDeviceWifiP2P</a>
             <span class="lineart">├──</span> <a class="link" href="NMDeviceWimax.html" title="NMDeviceWimax">NMDeviceWimax</a>
             <span class="lineart">├──</span> <a class="link" href="NMDeviceWireGuard.html" title="NMDeviceWireGuard">NMDeviceWireGuard</a>
             <span class="lineart">╰──</span> NMDeviceWpan
@@ -1396,6 +1423,43 @@ not activated or not using DHCPv6. </p>
 </div>
 <hr>
 <div class="refsect2">
+<a name="nm-device-get-connectivity"></a><h3>nm_device_get_connectivity ()</h3>
+<pre class="programlisting"><a class="link" href="libnm-nm-dbus-interface.html#NMConnectivityState" title="enum NMConnectivityState"><span class="returnvalue">NMConnectivityState</span></a>
+nm_device_get_connectivity (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>,
+                            <em class="parameter"><code><span class="type">int</span> addr_family</code></em>);</pre>
+<p>The connectivity state of the device for given address family.
+Supported address families are <code class="literal">AF_INET</code> for IPv4, <code class="literal">AF_INET6</code>
+for IPv6 or <code class="literal">AF_UNSPEC</code> for any.</p>
+<div class="refsect3">
+<a name="nm-device-get-connectivity.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>device</p></td>
+<td class="parameter_description"><p>a <a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>addr_family</p></td>
+<td class="parameter_description"><p>network address family</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="nm-device-get-connectivity.returns"></a><h4>Returns</h4>
+<p> the current connectivity state</p>
+</div>
+<p class="since">Since: 1.16</p>
+</div>
+<hr>
+<div class="refsect2">
 <a name="nm-device-get-state"></a><h3>nm_device_get_state ()</h3>
 <pre class="programlisting"><a class="link" href="libnm-nm-dbus-interface.html#NMDeviceState" title="enum NMDeviceState"><span class="returnvalue">NMDeviceState</span></a>
 nm_device_get_state (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre>
@@ -2004,9 +2068,9 @@ nm_device_get_applied_connection (<em class="parameter"><code><a class="link" hr
 </tr>
 <tr>
 <td class="parameter_name"><p>version_id</p></td>
-<td class="parameter_description"><p>(allow-none): returns the current version id of
+<td class="parameter_description"><p>returns the current version id of
 the applied connection. </p></td>
-<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
 </tr>
 <tr>
 <td class="parameter_name"><p>cancellable</p></td>
@@ -2113,9 +2177,9 @@ nm_device_get_applied_connection_finish
 </tr>
 <tr>
 <td class="parameter_name"><p>version_id</p></td>
-<td class="parameter_description"><p>(allow-none): the current version id of the applied
+<td class="parameter_description"><p>the current version id of the applied
 connection. </p></td>
-<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
 </tr>
 <tr>
 <td class="parameter_name"><p>error</p></td>
@@ -2313,7 +2377,7 @@ nm_device_delete_async (<em class="parameter"><code><a class="link" href="NMDevi
                         <em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                         <em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
                         <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
-<p>Asynchronously begins deleteing the software device. Hardware devices can't
+<p>Asynchronously begins deleting the software device. Hardware devices can't
 be deleted.</p>
 <div class="refsect3">
 <a name="nm-device-delete-async.parameters"></a><h4>Parameters</h4>
@@ -2943,6 +3007,18 @@ nm_lldp_neighbor_get_attr_type (<em class="parameter"><code><a class="link" href
 </div>
 <hr>
 <div class="refsect2">
+<a name="NM-DEVICE-IP4-CONNECTIVITY:CAPS"></a><h3>NM_DEVICE_IP4_CONNECTIVITY</h3>
+<pre class="programlisting">#define NM_DEVICE_IP4_CONNECTIVITY "ip4-connectivity"
+</pre>
+</div>
+<hr>
+<div class="refsect2">
+<a name="NM-DEVICE-IP6-CONNECTIVITY:CAPS"></a><h3>NM_DEVICE_IP6_CONNECTIVITY</h3>
+<pre class="programlisting">#define NM_DEVICE_IP6_CONNECTIVITY "ip6-connectivity"
+</pre>
+</div>
+<hr>
+<div class="refsect2">
 <a name="NMDevice-struct"></a><h3>NMDevice</h3>
 <pre class="programlisting">typedef struct _NMDevice NMDevice;</pre>
 </div>
@@ -3059,6 +3135,15 @@ operations like addressing and routing.</p>
 </div>
 <hr>
 <div class="refsect2">
+<a name="NMDevice--ip4-connectivity"></a><h3>The <code class="literal">“ip4-connectivity”</code> property</h3>
+<pre class="programlisting">  “ip4-connectivity”         <a class="link" href="libnm-nm-dbus-interface.html#NMConnectivityState" title="enum NMConnectivityState"><span class="type">NMConnectivityState</span></a></pre>
+<p>The IPv4 connectivity state of the device.</p>
+<p>Flags: Read</p>
+<p>Default value: NM_CONNECTIVITY_UNKNOWN</p>
+<p class="since">Since: 1.16</p>
+</div>
+<hr>
+<div class="refsect2">
 <a name="NMDevice--ip6-config"></a><h3>The <code class="literal">“ip6-config”</code> property</h3>
 <pre class="programlisting">  “ip6-config”               <a class="link" href="NMIPConfig.html" title="NMIPConfig"><span class="type">NMIPConfig</span></a> *</pre>
 <p>The IPv6 <a class="link" href="NMIPConfig.html" title="NMIPConfig"><span class="type">NMIPConfig</span></a> of the device.</p>
@@ -3066,6 +3151,15 @@ operations like addressing and routing.</p>
 </div>
 <hr>
 <div class="refsect2">
+<a name="NMDevice--ip6-connectivity"></a><h3>The <code class="literal">“ip6-connectivity”</code> property</h3>
+<pre class="programlisting">  “ip6-connectivity”         <a class="link" href="libnm-nm-dbus-interface.html#NMConnectivityState" title="enum NMConnectivityState"><span class="type">NMConnectivityState</span></a></pre>
+<p>The IPv6 connectivity state of the device.</p>
+<p>Flags: Read</p>
+<p>Default value: NM_CONNECTIVITY_UNKNOWN</p>
+<p class="since">Since: 1.16</p>
+</div>
+<hr>
+<div class="refsect2">
 <a name="NMDevice--lldp-neighbors"></a><h3>The <code class="literal">“lldp-neighbors”</code> property</h3>
 <pre class="programlisting">  “lldp-neighbors”           <a href="https://developer.gnome.org/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *</pre>
 <p>The LLDP neighbors.</p>