diff options
Diffstat (limited to 'docs/libnm/html/NMSettingWired.html')
| -rw-r--r-- | docs/libnm/html/NMSettingWired.html | 387 |
1 files changed, 351 insertions, 36 deletions
diff --git a/docs/libnm/html/NMSettingWired.html b/docs/libnm/html/NMSettingWired.html index 18510898..4efcb874 100644 --- a/docs/libnm/html/NMSettingWired.html +++ b/docs/libnm/html/NMSettingWired.html @@ -57,7 +57,7 @@ </tr> <tr> <td class="function_type"> -<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> +<a href="../glib/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingWired.html#nm-setting-wired-get-speed" title="nm_setting_wired_get_speed ()">nm_setting_wired_get_speed</a> <span class="c_punctuation">()</span> @@ -72,7 +72,7 @@ </tr> <tr> <td class="function_type"> -<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingWired.html#nm-setting-wired-get-auto-negotiate" title="nm_setting_wired_get_auto_negotiate ()">nm_setting_wired_get_auto_negotiate</a> <span class="c_punctuation">()</span> @@ -116,7 +116,7 @@ </tr> <tr> <td class="function_type"> -<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> +<a href="../glib/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingWired.html#nm-setting-wired-get-num-mac-blacklist-items" title="nm_setting_wired_get_num_mac_blacklist_items ()">nm_setting_wired_get_num_mac_blacklist_items</a> <span class="c_punctuation">()</span> @@ -131,7 +131,7 @@ </tr> <tr> <td class="function_type"> -<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingWired.html#nm-setting-wired-add-mac-blacklist-item" title="nm_setting_wired_add_mac_blacklist_item ()">nm_setting_wired_add_mac_blacklist_item</a> <span class="c_punctuation">()</span> @@ -147,7 +147,7 @@ </tr> <tr> <td class="function_type"> -<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingWired.html#nm-setting-wired-remove-mac-blacklist-item-by-value" title="nm_setting_wired_remove_mac_blacklist_item_by_value ()">nm_setting_wired_remove_mac_blacklist_item_by_value</a> <span class="c_punctuation">()</span> @@ -162,8 +162,62 @@ </td> </tr> <tr> +<td class="function_type">const <span class="returnvalue">char</span> *const * +</td> +<td class="function_name"> +<a class="link" href="NMSettingWired.html#nm-setting-wired-get-mac-address-denylist" title="nm_setting_wired_get_mac_address_denylist ()">nm_setting_wired_get_mac_address_denylist</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a href="../glib/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingWired.html#nm-setting-wired-get-num-mac-denylist-items" title="nm_setting_wired_get_num_mac_denylist_items ()">nm_setting_wired_get_num_mac_denylist_items</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type">const <span class="returnvalue">char</span> * +</td> +<td class="function_name"> +<a class="link" href="NMSettingWired.html#nm-setting-wired-get-mac-denylist-item" title="nm_setting_wired_get_mac_denylist_item ()">nm_setting_wired_get_mac_denylist_item</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingWired.html#nm-setting-wired-add-mac-denylist-item" title="nm_setting_wired_add_mac_denylist_item ()">nm_setting_wired_add_mac_denylist_item</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="NMSettingWired.html#nm-setting-wired-remove-mac-denylist-item" title="nm_setting_wired_remove_mac_denylist_item ()">nm_setting_wired_remove_mac_denylist_item</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingWired.html#nm-setting-wired-remove-mac-denylist-item-by-value" title="nm_setting_wired_remove_mac_denylist_item_by_value ()">nm_setting_wired_remove_mac_denylist_item_by_value</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="NMSettingWired.html#nm-setting-wired-clear-mac-denylist-items" title="nm_setting_wired_clear_mac_denylist_items ()">nm_setting_wired_clear_mac_denylist_items</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> <td class="function_type"> -<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> +<a href="../glib/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingWired.html#nm-setting-wired-get-mtu" title="nm_setting_wired_get_mtu ()">nm_setting_wired_get_mtu</a> <span class="c_punctuation">()</span> @@ -185,7 +239,7 @@ </tr> <tr> <td class="function_type"> -<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> +<a href="../glib/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingWired.html#nm-setting-wired-get-num-s390-options" title="nm_setting_wired_get_num_s390_options ()">nm_setting_wired_get_num_s390_options</a> <span class="c_punctuation">()</span> @@ -193,7 +247,7 @@ </tr> <tr> <td class="function_type"> -<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingWired.html#nm-setting-wired-get-s390-option" title="nm_setting_wired_get_s390_option ()">nm_setting_wired_get_s390_option</a> <span class="c_punctuation">()</span> @@ -208,7 +262,7 @@ </tr> <tr> <td class="function_type"> -<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingWired.html#nm-setting-wired-add-s390-option" title="nm_setting_wired_add_s390_option ()">nm_setting_wired_add_s390_option</a> <span class="c_punctuation">()</span> @@ -216,7 +270,7 @@ </tr> <tr> <td class="function_type"> -<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingWired.html#nm-setting-wired-remove-s390-option" title="nm_setting_wired_remove_s390_option ()">nm_setting_wired_remove_s390_option</a> <span class="c_punctuation">()</span> @@ -297,6 +351,10 @@ </tr> <tr> <td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingWired.html#NM-SETTING-WIRED-MAC-ADDRESS-DENYLIST:CAPS" title="NM_SETTING_WIRED_MAC_ADDRESS_DENYLIST">NM_SETTING_WIRED_MAC_ADDRESS_DENYLIST</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="NMSettingWired.html#NM-SETTING-WIRED-MTU:CAPS" title="NM_SETTING_WIRED_MTU">NM_SETTING_WIRED_MTU</a></td> </tr> <tr> @@ -378,7 +436,7 @@ nm_setting_wired_get_port (<em class="parameter"><code><a class="link" href="NMS <hr> <div class="refsect2"> <a name="nm-setting-wired-get-speed"></a><h3>nm_setting_wired_get_speed ()</h3> -<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> +<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> nm_setting_wired_get_speed (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>);</pre> <div class="refsect3"> <a name="nm-setting-wired-get-speed.parameters"></a><h4>Parameters</h4> @@ -428,7 +486,7 @@ nm_setting_wired_get_duplex (<em class="parameter"><code><a class="link" href="N <hr> <div class="refsect2"> <a name="nm-setting-wired-get-auto-negotiate"></a><h3>nm_setting_wired_get_auto_negotiate ()</h3> -<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_wired_get_auto_negotiate (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>);</pre> <div class="refsect3"> <a name="nm-setting-wired-get-auto-negotiate.parameters"></a><h4>Parameters</h4> @@ -561,6 +619,10 @@ nm_setting_wired_get_generate_mac_address_mask <pre class="programlisting">const <span class="returnvalue">char</span> *const * nm_setting_wired_get_mac_address_blacklist (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>);</pre> +<div class="warning"> +<p><code class="literal">nm_setting_wired_get_mac_address_blacklist</code> has been deprecated since version 1.48. and should not be used in newly-written code.</p> +<p>Use <a class="link" href="NMSettingWired.html#nm-setting-wired-get-mac-address-denylist" title="nm_setting_wired_get_mac_address_denylist ()"><code class="function">nm_setting_wired_get_mac_address_denylist()</code></a> instead.</p> +</div> <div class="refsect3"> <a name="nm-setting-wired-get-mac-address-blacklist.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> @@ -584,9 +646,13 @@ nm_setting_wired_get_mac_address_blacklist <hr> <div class="refsect2"> <a name="nm-setting-wired-get-num-mac-blacklist-items"></a><h3>nm_setting_wired_get_num_mac_blacklist_items ()</h3> -<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> +<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> nm_setting_wired_get_num_mac_blacklist_items (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>);</pre> +<div class="warning"> +<p><code class="literal">nm_setting_wired_get_num_mac_blacklist_items</code> has been deprecated since version 1.48. and should not be used in newly-written code.</p> +<p>Use <a class="link" href="NMSettingWired.html#nm-setting-wired-get-num-mac-denylist-items" title="nm_setting_wired_get_num_mac_denylist_items ()"><code class="function">nm_setting_wired_get_num_mac_denylist_items()</code></a> instead.</p> +</div> <div class="refsect3"> <a name="nm-setting-wired-get-num-mac-blacklist-items.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> @@ -613,8 +679,12 @@ nm_setting_wired_get_num_mac_blacklist_items <pre class="programlisting">const <span class="returnvalue">char</span> * nm_setting_wired_get_mac_blacklist_item (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>, - <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> idx</code></em>);</pre> -<p>Since 1.46, access at index "len" is allowed and returns NULL.</p> + <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> idx</code></em>);</pre> +<div class="warning"> +<p><code class="literal">nm_setting_wired_get_mac_blacklist_item</code> has been deprecated since version 1.48. and should not be used in newly-written code.</p> +<p>Use <a class="link" href="NMSettingWired.html#nm-setting-wired-get-mac-denylist-item" title="nm_setting_wired_get_mac_denylist_item ()"><code class="function">nm_setting_wired_get_mac_denylist_item()</code></a> instead.</p> +</div> +<p>Since 1.48, access at index "len" is allowed and returns NULL.</p> <div class="refsect3"> <a name="nm-setting-wired-get-mac-blacklist-item.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> @@ -647,10 +717,14 @@ at index <em class="parameter"><code>idx</code></em> <hr> <div class="refsect2"> <a name="nm-setting-wired-add-mac-blacklist-item"></a><h3>nm_setting_wired_add_mac_blacklist_item ()</h3> -<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_wired_add_mac_blacklist_item (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>, <em class="parameter"><code>const <span class="type">char</span> *mac</code></em>);</pre> +<div class="warning"> +<p><code class="literal">nm_setting_wired_add_mac_blacklist_item</code> has been deprecated since version 1.48. and should not be used in newly-written code.</p> +<p>Use <a class="link" href="NMSettingWired.html#nm-setting-wired-add-mac-denylist-item" title="nm_setting_wired_add_mac_denylist_item ()"><code class="function">nm_setting_wired_add_mac_denylist_item()</code></a> instead.</p> +</div> <p>Adds a new MAC address to the <span class="type">“mac-address-blacklist”</span> property.</p> <div class="refsect3"> <a name="nm-setting-wired-add-mac-blacklist-item.parameters"></a><h4>Parameters</h4> @@ -676,7 +750,7 @@ nm_setting_wired_add_mac_blacklist_item </div> <div class="refsect3"> <a name="nm-setting-wired-add-mac-blacklist-item.returns"></a><h4>Returns</h4> -<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the MAC address was added; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the MAC address +<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the MAC address was added; <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the MAC address is invalid or was already present</p> </div> </div> @@ -686,7 +760,11 @@ is invalid or was already present</p> <pre class="programlisting"><span class="returnvalue">void</span> nm_setting_wired_remove_mac_blacklist_item (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>, - <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> idx</code></em>);</pre> + <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> idx</code></em>);</pre> +<div class="warning"> +<p><code class="literal">nm_setting_wired_remove_mac_blacklist_item</code> has been deprecated since version 1.48. and should not be used in newly-written code.</p> +<p>Use <a class="link" href="NMSettingWired.html#nm-setting-wired-remove-mac-denylist-item" title="nm_setting_wired_remove_mac_denylist_item ()"><code class="function">nm_setting_wired_remove_mac_denylist_item()</code></a> instead.</p> +</div> <p>Removes the MAC address at index <em class="parameter"><code>idx</code></em> from the blacklist.</p> <div class="refsect3"> @@ -715,10 +793,14 @@ nm_setting_wired_remove_mac_blacklist_item <hr> <div class="refsect2"> <a name="nm-setting-wired-remove-mac-blacklist-item-by-value"></a><h3>nm_setting_wired_remove_mac_blacklist_item_by_value ()</h3> -<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_wired_remove_mac_blacklist_item_by_value (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>, <em class="parameter"><code>const <span class="type">char</span> *mac</code></em>);</pre> +<div class="warning"> +<p><code class="literal">nm_setting_wired_remove_mac_blacklist_item_by_value</code> has been deprecated since version 1.48. and should not be used in newly-written code.</p> +<p>Use <a class="link" href="NMSettingWired.html#nm-setting-wired-remove-mac-denylist-item-by-value" title="nm_setting_wired_remove_mac_denylist_item_by_value ()"><code class="function">nm_setting_wired_remove_mac_denylist_item_by_value()</code></a> instead.</p> +</div> <p>Removes the MAC address <em class="parameter"><code>mac</code></em> from the blacklist.</p> <div class="refsect3"> @@ -746,7 +828,7 @@ the blacklist</p></td> </div> <div class="refsect3"> <a name="nm-setting-wired-remove-mac-blacklist-item-by-value.returns"></a><h4>Returns</h4> -<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the MAC address was found and removed; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it was not.</p> +<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the MAC address was found and removed; <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it was not.</p> </div> </div> <hr> @@ -755,6 +837,10 @@ the blacklist</p></td> <pre class="programlisting"><span class="returnvalue">void</span> nm_setting_wired_clear_mac_blacklist_items (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>);</pre> +<div class="warning"> +<p><code class="literal">nm_setting_wired_clear_mac_blacklist_items</code> has been deprecated since version 1.48. and should not be used in newly-written code.</p> +<p>Use <a class="link" href="NMSettingWired.html#nm-setting-wired-clear-mac-denylist-items" title="nm_setting_wired_clear_mac_denylist_items ()"><code class="function">nm_setting_wired_clear_mac_denylist_items()</code></a> instead.</p> +</div> <p>Removes all blacklisted MAC addresses.</p> <div class="refsect3"> <a name="nm-setting-wired-clear-mac-blacklist-items.parameters"></a><h4>Parameters</h4> @@ -774,8 +860,231 @@ nm_setting_wired_clear_mac_blacklist_items </div> <hr> <div class="refsect2"> +<a name="nm-setting-wired-get-mac-address-denylist"></a><h3>nm_setting_wired_get_mac_address_denylist ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> *const * +nm_setting_wired_get_mac_address_denylist + (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>);</pre> +<div class="refsect3"> +<a name="nm-setting-wired-get-mac-address-denylist.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>setting</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-wired-get-mac-address-denylist.returns"></a><h4>Returns</h4> +<p> the <span class="type">“mac-address-denylist”</span> property of the setting</p> +</div> +<p class="since">Since: 1.48</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-wired-get-num-mac-denylist-items"></a><h3>nm_setting_wired_get_num_mac_denylist_items ()</h3> +<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> +nm_setting_wired_get_num_mac_denylist_items + (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>);</pre> +<div class="refsect3"> +<a name="nm-setting-wired-get-num-mac-denylist-items.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>setting</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-wired-get-num-mac-denylist-items.returns"></a><h4>Returns</h4> +<p> the number of denylisted MAC addresses</p> +</div> +<p class="since">Since: 1.48</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-wired-get-mac-denylist-item"></a><h3>nm_setting_wired_get_mac_denylist_item ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * +nm_setting_wired_get_mac_denylist_item + (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>, + <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> idx</code></em>);</pre> +<div class="refsect3"> +<a name="nm-setting-wired-get-mac-denylist-item.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>setting</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>idx</p></td> +<td class="parameter_description"><p>the zero-based index of the MAC address entry</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-wired-get-mac-denylist-item.returns"></a><h4>Returns</h4> +<p> the denylisted MAC address string (hex-digits-and-colons notation) +at index <em class="parameter"><code>idx</code></em> +</p> +</div> +<p class="since">Since: 1.48</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-wired-add-mac-denylist-item"></a><h3>nm_setting_wired_add_mac_denylist_item ()</h3> +<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +nm_setting_wired_add_mac_denylist_item + (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *mac</code></em>);</pre> +<p>Adds a new MAC address to the <span class="type">“mac-address-denylist”</span> property.</p> +<div class="refsect3"> +<a name="nm-setting-wired-add-mac-denylist-item.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>setting</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>mac</p></td> +<td class="parameter_description"><p>the MAC address string (hex-digits-and-colons notation) to denylist</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-wired-add-mac-denylist-item.returns"></a><h4>Returns</h4> +<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the MAC address was added; <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the MAC address +is invalid or was already present</p> +</div> +<p class="since">Since: 1.48</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-wired-remove-mac-denylist-item"></a><h3>nm_setting_wired_remove_mac_denylist_item ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_setting_wired_remove_mac_denylist_item + (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>, + <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> idx</code></em>);</pre> +<p>Removes the MAC address at index <em class="parameter"><code>idx</code></em> + from the denylist.</p> +<div class="refsect3"> +<a name="nm-setting-wired-remove-mac-denylist-item.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>setting</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>idx</p></td> +<td class="parameter_description"><p>index number of the MAC address</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.48</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-wired-remove-mac-denylist-item-by-value"></a><h3>nm_setting_wired_remove_mac_denylist_item_by_value ()</h3> +<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +nm_setting_wired_remove_mac_denylist_item_by_value + (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *mac</code></em>);</pre> +<p>Removes the MAC address <em class="parameter"><code>mac</code></em> + from the denylist.</p> +<div class="refsect3"> +<a name="nm-setting-wired-remove-mac-denylist-item-by-value.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>setting</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>mac</p></td> +<td class="parameter_description"><p>the MAC address string (hex-digits-and-colons notation) to remove from +the denylist</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-wired-remove-mac-denylist-item-by-value.returns"></a><h4>Returns</h4> +<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the MAC address was found and removed; <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it was not.</p> +</div> +<p class="since">Since: 1.48</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-wired-clear-mac-denylist-items"></a><h3>nm_setting_wired_clear_mac_denylist_items ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_setting_wired_clear_mac_denylist_items + (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>);</pre> +<p>Removes all denylisted MAC addresses.</p> +<div class="refsect3"> +<a name="nm-setting-wired-clear-mac-denylist-items.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>setting</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<p class="since">Since: 1.48</p> +</div> +<hr> +<div class="refsect2"> <a name="nm-setting-wired-get-mtu"></a><h3>nm_setting_wired_get_mtu ()</h3> -<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> +<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> nm_setting_wired_get_mtu (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>);</pre> <div class="refsect3"> <a name="nm-setting-wired-get-mtu.parameters"></a><h4>Parameters</h4> @@ -857,7 +1166,7 @@ of 'qeth', 'lcs', or 'ctc'.</p> <hr> <div class="refsect2"> <a name="nm-setting-wired-get-num-s390-options"></a><h3>nm_setting_wired_get_num_s390_options ()</h3> -<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> +<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> nm_setting_wired_get_num_s390_options (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>);</pre> <p>Returns the number of s390-specific options that should be set for this device when it is activated. This can be used to retrieve each s390 @@ -885,9 +1194,9 @@ option individually using <a class="link" href="NMSettingWired.html#nm-setting-w <hr> <div class="refsect2"> <a name="nm-setting-wired-get-s390-option"></a><h3>nm_setting_wired_get_s390_option ()</h3> -<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_wired_get_s390_option (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>, - <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> idx</code></em>, + <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> idx</code></em>, <em class="parameter"><code>const <span class="type">char</span> **out_key</code></em>, <em class="parameter"><code>const <span class="type">char</span> **out_value</code></em>);</pre> <p>Given an index, return the value of the s390 option at that index. indexes @@ -934,8 +1243,8 @@ and should not be modified. </p></td> </div> <div class="refsect3"> <a name="nm-setting-wired-get-s390-option.returns"></a><h4>Returns</h4> -<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success if the index was valid and an option was found, -<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the index was invalid (ie, greater than the number of options +<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success if the index was valid and an option was found, +<a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the index was invalid (ie, greater than the number of options currently held by the setting)</p> </div> </div> @@ -973,14 +1282,14 @@ nm_setting_wired_get_s390_option_by_key </div> <div class="refsect3"> <a name="nm-setting-wired-get-s390-option-by-key.returns"></a><h4>Returns</h4> -<p> the value, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the key/value pair was never added to the +<p> the value, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the key/value pair was never added to the setting; the value is owned by the setting and must not be modified</p> </div> </div> <hr> <div class="refsect2"> <a name="nm-setting-wired-add-s390-option"></a><h3>nm_setting_wired_add_s390_option ()</h3> -<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_wired_add_s390_option (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>, <em class="parameter"><code>const <span class="type">char</span> *key</code></em>, <em class="parameter"><code>const <span class="type">char</span> *value</code></em>);</pre> @@ -1017,13 +1326,13 @@ an invalid key gets silently added but renders the profile as invalid.</p> </div> <div class="refsect3"> <a name="nm-setting-wired-add-s390-option.returns"></a><h4>Returns</h4> -<p> since 1.32 this always returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p> +<p> since 1.32 this always returns <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p> </div> </div> <hr> <div class="refsect2"> <a name="nm-setting-wired-remove-s390-option"></a><h3>nm_setting_wired_remove_s390_option ()</h3> -<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_wired_remove_s390_option (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>, <em class="parameter"><code>const <span class="type">char</span> *key</code></em>);</pre> <p>Remove the s390-specific option referenced by <em class="parameter"><code>key</code></em> @@ -1053,8 +1362,8 @@ list.</p> </div> <div class="refsect3"> <a name="nm-setting-wired-remove-s390-option.returns"></a><h4>Returns</h4> -<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the option was found and removed from the internal option -list, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it was not.</p> +<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the option was found and removed from the internal option +list, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it was not.</p> </div> </div> <hr> @@ -1065,7 +1374,7 @@ nm_setting_wired_get_valid_s390_options (<em class="parameter"><code><a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a> *setting</code></em>);</pre> <p>Returns a list of valid s390 options.</p> <p>The <em class="parameter"><code>setting</code></em> - argument is unused and <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> may be passed instead.</p> + argument is unused and <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> may be passed instead.</p> <div class="refsect3"> <a name="nm-setting-wired-get-valid-s390-options.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> @@ -1077,14 +1386,14 @@ nm_setting_wired_get_valid_s390_options <tbody><tr> <td class="parameter_name"><p>setting</p></td> <td class="parameter_description"><p>the <a class="link" href="NMSettingWired.html" title="NMSettingWired"><span class="type">NMSettingWired</span></a>. This argument is unused -and you may pass <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td> +and you may pass <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="nm-setting-wired-get-valid-s390-options.returns"></a><h4>Returns</h4> -<p>a <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of strings of valid s390 options. </p> +<p>a <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of strings of valid s390 options. </p> <p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p> </div> </div> @@ -1140,7 +1449,7 @@ nm_setting_wired_get_wake_on_lan_password </div> <div class="refsect3"> <a name="nm-setting-wired-get-wake-on-lan-password.returns"></a><h4>Returns</h4> -<p> the Wake-on-LAN setting password, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is no password.</p> +<p> the Wake-on-LAN setting password, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is no password.</p> </div> <p class="since">Since: 1.2</p> </div> @@ -1303,6 +1612,12 @@ incompatible with other flags</p> </div> <hr> <div class="refsect2"> +<a name="NM-SETTING-WIRED-MAC-ADDRESS-DENYLIST:CAPS"></a><h3>NM_SETTING_WIRED_MAC_ADDRESS_DENYLIST</h3> +<pre class="programlisting">#define NM_SETTING_WIRED_MAC_ADDRESS_DENYLIST "mac-address-denylist" +</pre> +</div> +<hr> +<div class="refsect2"> <a name="NM-SETTING-WIRED-MTU:CAPS"></a><h3>NM_SETTING_WIRED_MTU</h3> <pre class="programlisting">#define NM_SETTING_WIRED_MTU "mtu" </pre> |