about summary refs log tree commit diff
path: root/docs/libnm/html/NMSettingIPConfig.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/libnm/html/NMSettingIPConfig.html')
-rw-r--r--docs/libnm/html/NMSettingIPConfig.html123
1 files changed, 115 insertions, 8 deletions
diff --git a/docs/libnm/html/NMSettingIPConfig.html b/docs/libnm/html/NMSettingIPConfig.html
index 82ea7af2..a10f391d 100644
--- a/docs/libnm/html/NMSettingIPConfig.html
+++ b/docs/libnm/html/NMSettingIPConfig.html
@@ -1177,6 +1177,22 @@ addressing, routing, and name service properties</p>
 <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-clear-dhcp-reject-servers" title="nm_setting_ip_config_clear_dhcp_reject_servers ()">nm_setting_ip_config_clear_dhcp_reject_servers</a> <span class="c_punctuation">()</span>
 </td>
 </tr>
+<tr>
+<td class="function_type">
+<a class="link" href="libnm-nm-dbus-interface.html#NMTernary" title="enum NMTernary"><span class="returnvalue">NMTernary</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-auto-route-ext-gw" title="nm_setting_ip_config_get_auto_route_ext_gw ()">nm_setting_ip_config_get_auto_route_ext_gw</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="libnm-nm-dbus-interface.html#NMTernary" title="enum NMTernary"><span class="returnvalue">NMTernary</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-replace-local-rule" title="nm_setting_ip_config_get_replace_local_rule ()">nm_setting_ip_config_get_replace_local_rule</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
 </tbody>
 </table></div>
 </div>
@@ -1281,6 +1297,10 @@ addressing, routing, and name service properties</p>
 <td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-WINDOW:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_WINDOW">NM_IP_ROUTE_ATTRIBUTE_WINDOW</a></td>
 </tr>
 <tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-WEIGHT:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_WEIGHT">NM_IP_ROUTE_ATTRIBUTE_WEIGHT</a></td>
+</tr>
+<tr>
 <td class="datatype_keyword">enum</td>
 <td class="function_name"><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRuleAsStringFlags" title="enum NMIPRoutingRuleAsStringFlags">NMIPRoutingRuleAsStringFlags</a></td>
 </tr>
@@ -1378,6 +1398,14 @@ addressing, routing, and name service properties</p>
 </tr>
 <tr>
 <td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-AUTO-ROUTE-EXT-GW:CAPS" title="NM_SETTING_IP_CONFIG_AUTO_ROUTE_EXT_GW">NM_SETTING_IP_CONFIG_AUTO_ROUTE_EXT_GW</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-REPLACE-LOCAL-RULE:CAPS" title="NM_SETTING_IP_CONFIG_REPLACE_LOCAL_RULE">NM_SETTING_IP_CONFIG_REPLACE_LOCAL_RULE</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
 <td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-ROUTING-RULES:CAPS" title="NM_SETTING_IP_CONFIG_ROUTING_RULES">NM_SETTING_IP_CONFIG_ROUTING_RULES</a></td>
 </tr>
 <tr>
@@ -2403,7 +2431,7 @@ nm_ip_route_set_dest (<em class="parameter"><code><a class="link" href="NMSettin
 <p><em class="parameter"><code>dest</code></em>
  must be a valid address of <em class="parameter"><code>route</code></em>
 's family. If you aren't sure you
-have a valid address, use <code class="function">nm_utils_ipaddr_is_valid()</code> to check it.</p>
+have a valid address, use <code class="function">nm_inet_is_valid()</code> to check it.</p>
 <div class="refsect3">
 <a name="nm-ip-route-set-dest.parameters"></a><h4>Parameters</h4>
 <div class="informaltable"><table class="informaltable" width="100%" border="0">
@@ -2953,6 +2981,7 @@ provided address family. The instance is unsealed. </p>
 <a name="nm-ip-routing-rule-new-clone"></a><h3>nm_ip_routing_rule_new_clone ()</h3>
 <pre class="programlisting"><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="returnvalue">NMIPRoutingRule</span></a> *
 nm_ip_routing_rule_new_clone (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *rule</code></em>);</pre>
+<p>Since 1.42, ref-counting of <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> is thread-safe.</p>
 <div class="refsect3">
 <a name="nm-ip-routing-rule-new-clone.parameters"></a><h4>Parameters</h4>
 <div class="informaltable"><table class="informaltable" width="100%" border="0">
@@ -2973,7 +3002,7 @@ nm_ip_routing_rule_new_clone (<em class="parameter"><code>const <a class="link"
 <p>a newly created rule instance with
 the same settings as <em class="parameter"><code>rule</code></em>
 . Note that the instance will
-always be unsealred. </p>
+always be unsealed. </p>
 <p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p>
 </div>
 <p class="since">Since: 1.18</p>
@@ -2983,8 +3012,7 @@ always be unsealred. </p>
 <a name="nm-ip-routing-rule-ref"></a><h3>nm_ip_routing_rule_ref ()</h3>
 <pre class="programlisting"><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="returnvalue">NMIPRoutingRule</span></a> *
 nm_ip_routing_rule_ref (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre>
-<p>Increases the reference count of the instance.
-This is not thread-safe.</p>
+<p>Increases the reference count of the instance.</p>
 <div class="refsect3">
 <a name="nm-ip-routing-rule-ref.parameters"></a><h4>Parameters</h4>
 <div class="informaltable"><table class="informaltable" width="100%" border="0">
@@ -3004,7 +3032,8 @@ This is not thread-safe.</p>
 <a name="nm-ip-routing-rule-ref.returns"></a><h4>Returns</h4>
 <p>the <em class="parameter"><code>self</code></em>
 argument with incremented
-reference count. </p>
+reference count.</p>
+<p>Since 1.42, ref-counting of <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> is thread-safe. </p>
 <p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p>
 </div>
 <p class="since">Since: 1.18</p>
@@ -3015,8 +3044,8 @@ reference count. </p>
 <pre class="programlisting"><span class="returnvalue">void</span>
 nm_ip_routing_rule_unref (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre>
 <p>Decreases the reference count of the instance and destroys
-the instance if the reference count reaches zero.
-This is not thread-safe.</p>
+the instance if the reference count reaches zero.</p>
+<p>Since 1.42, ref-counting of <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> is thread-safe.</p>
 <div class="refsect3">
 <a name="nm-ip-routing-rule-unref.parameters"></a><h4>Parameters</h4>
 <div class="informaltable"><table class="informaltable" width="100%" border="0">
@@ -4464,6 +4493,10 @@ nm_setting_ip_config_add_dns (<em class="parameter"><code><a class="link" href="
 <a name="nm-setting-ip-config-add-dns.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 DNS server was added; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the server was already
 known</p>
+<p>Before 1.42, setting <em class="parameter"><code>dns</code></em>
+to an invalid string was treated as user-error.
+Now, also invalid DNS values can be set, but will be rejected later during
+<a class="link" href="NMConnection.html#nm-connection-verify" title="nm_connection_verify ()"><code class="function">nm_connection_verify()</code></a>.</p>
 </div>
 </div>
 <hr>
@@ -4531,6 +4564,8 @@ nm_setting_ip_config_remove_dns_by_value
 <div class="refsect3">
 <a name="nm-setting-ip-config-remove-dns-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 DNS server 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>Before 1.42, setting <em class="parameter"><code>dns</code></em>
+to an invalid string was treated as user-error.</p>
 </div>
 </div>
 <hr>
@@ -5896,7 +5931,7 @@ property.</p>
 <a name="nm-setting-ip-config-get-dhcp-iaid.returns"></a><h4>Returns</h4>
 <p> the configured DHCP IAID (Identity Association Identifier)</p>
 </div>
-<p class="since">Since: 1.42, 1.40.4</p>
+<p class="since">Since: 1.42</p>
 </div>
 <hr>
 <div class="refsect2">
@@ -6053,6 +6088,60 @@ nm_setting_ip_config_clear_dhcp_reject_servers
 </div>
 <p class="since">Since: 1.28</p>
 </div>
+<hr>
+<div class="refsect2">
+<a name="nm-setting-ip-config-get-auto-route-ext-gw"></a><h3>nm_setting_ip_config_get_auto_route_ext_gw ()</h3>
+<pre class="programlisting"><a class="link" href="libnm-nm-dbus-interface.html#NMTernary" title="enum NMTernary"><span class="returnvalue">NMTernary</span></a>
+nm_setting_ip_config_get_auto_route_ext_gw
+                               (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre>
+<div class="refsect3">
+<a name="nm-setting-ip-config-get-auto-route-ext-gw.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="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="nm-setting-ip-config-get-auto-route-ext-gw.returns"></a><h4>Returns</h4>
+<p> the <span class="type">“auto-route-ext-gw”</span> property of the setting</p>
+</div>
+<p class="since">Since: 1.42</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="nm-setting-ip-config-get-replace-local-rule"></a><h3>nm_setting_ip_config_get_replace_local_rule ()</h3>
+<pre class="programlisting"><a class="link" href="libnm-nm-dbus-interface.html#NMTernary" title="enum NMTernary"><span class="returnvalue">NMTernary</span></a>
+nm_setting_ip_config_get_replace_local_rule
+                               (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre>
+<div class="refsect3">
+<a name="nm-setting-ip-config-get-replace-local-rule.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="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="nm-setting-ip-config-get-replace-local-rule.returns"></a><h4>Returns</h4>
+<p> the <span class="type">“replace-local-rule”</span> property of the setting</p>
+</div>
+<p class="since">Since: 1.44, 1.42.2</p>
+</div>
 </div>
 <div class="refsect1">
 <a name="NMSettingIPConfig.other_details"></a><h2>Types and Values</h2>
@@ -6225,6 +6314,12 @@ the return value merely indicates equality (zero) or inequality.</p>
 </div>
 <hr>
 <div class="refsect2">
+<a name="NM-IP-ROUTE-ATTRIBUTE-WEIGHT:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_WEIGHT</h3>
+<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_WEIGHT        "weight"
+</pre>
+</div>
+<hr>
+<div class="refsect2">
 <a name="NMIPRoutingRuleAsStringFlags"></a><h3>enum NMIPRoutingRuleAsStringFlags</h3>
 <div class="refsect3">
 <a name="NMIPRoutingRuleAsStringFlags.members"></a><h4>Members</h4>
@@ -6415,6 +6510,18 @@ rule verfies or fail.</p>
 </div>
 <hr>
 <div class="refsect2">
+<a name="NM-SETTING-IP-CONFIG-AUTO-ROUTE-EXT-GW:CAPS"></a><h3>NM_SETTING_IP_CONFIG_AUTO_ROUTE_EXT_GW</h3>
+<pre class="programlisting">#define NM_SETTING_IP_CONFIG_AUTO_ROUTE_EXT_GW   "auto-route-ext-gw"
+</pre>
+</div>
+<hr>
+<div class="refsect2">
+<a name="NM-SETTING-IP-CONFIG-REPLACE-LOCAL-RULE:CAPS"></a><h3>NM_SETTING_IP_CONFIG_REPLACE_LOCAL_RULE</h3>
+<pre class="programlisting">#define NM_SETTING_IP_CONFIG_REPLACE_LOCAL_RULE  "replace-local-rule"
+</pre>
+</div>
+<hr>
+<div class="refsect2">
 <a name="NM-SETTING-IP-CONFIG-ROUTING-RULES:CAPS"></a><h3>NM_SETTING_IP_CONFIG_ROUTING_RULES</h3>
 <pre class="programlisting">#define NM_SETTING_IP_CONFIG_ROUTING_RULES "routing-rules"
 </pre>