diff options
| author | Michael Biebl <biebl@debian.org> | 2019-04-21 21:09:51 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2019-04-21 21:09:51 +0200 |
| commit | 85563b7fc7ec2cd21e38debb9b28db342e2e8e7c (patch) | |
| tree | cce7b0b02d28fae2df9fdf2c1804cacd1500f2d7 /docs/libnm/html/NMSettingIPConfig.html | |
| parent | 9a6dcbf895f9da01768e64b73cec88c16157d91e (diff) | |
New upstream version 1.18.0 upstream/1.18.0
Diffstat (limited to 'docs/libnm/html/NMSettingIPConfig.html')
| -rw-r--r-- | docs/libnm/html/NMSettingIPConfig.html | 1883 |
1 files changed, 1881 insertions, 2 deletions
diff --git a/docs/libnm/html/NMSettingIPConfig.html b/docs/libnm/html/NMSettingIPConfig.html index 873cdb84..18c74120 100644 --- a/docs/libnm/html/NMSettingIPConfig.html +++ b/docs/libnm/html/NMSettingIPConfig.html @@ -367,6 +367,338 @@ </td> </tr> <tr> +<td class="function_type"> +<a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="returnvalue">NMIPRoutingRule</span></a> * +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-new" title="nm_ip_routing_rule_new ()">nm_ip_routing_rule_new</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="returnvalue">NMIPRoutingRule</span></a> * +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-new-clone" title="nm_ip_routing_rule_new_clone ()">nm_ip_routing_rule_new_clone</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="returnvalue">NMIPRoutingRule</span></a> * +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-ref" title="nm_ip_routing_rule_ref ()">nm_ip_routing_rule_ref</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="NMSettingIPConfig.html#nm-ip-routing-rule-unref" title="nm_ip_routing_rule_unref ()">nm_ip_routing_rule_unref</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#gboolean"><span class="returnvalue">gboolean</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-is-sealed" title="nm_ip_routing_rule_is_sealed ()">nm_ip_routing_rule_is_sealed</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="NMSettingIPConfig.html#nm-ip-routing-rule-seal" title="nm_ip_routing_rule_seal ()">nm_ip_routing_rule_seal</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">int</span> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-get-addr-family" title="nm_ip_routing_rule_get_addr_family ()">nm_ip_routing_rule_get_addr_family</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#gboolean"><span class="returnvalue">gboolean</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-get-invert" title="nm_ip_routing_rule_get_invert ()">nm_ip_routing_rule_get_invert</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="NMSettingIPConfig.html#nm-ip-routing-rule-set-invert" title="nm_ip_routing_rule_set_invert ()">nm_ip_routing_rule_set_invert</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#gint64"><span class="returnvalue">gint64</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-get-priority" title="nm_ip_routing_rule_get_priority ()">nm_ip_routing_rule_get_priority</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="NMSettingIPConfig.html#nm-ip-routing-rule-set-priority" title="nm_ip_routing_rule_set_priority ()">nm_ip_routing_rule_set_priority</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#guint8"><span class="returnvalue">guint8</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-get-tos" title="nm_ip_routing_rule_get_tos ()">nm_ip_routing_rule_get_tos</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="NMSettingIPConfig.html#nm-ip-routing-rule-set-tos" title="nm_ip_routing_rule_set_tos ()">nm_ip_routing_rule_set_tos</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#guint8"><span class="returnvalue">guint8</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-get-ipproto" title="nm_ip_routing_rule_get_ipproto ()">nm_ip_routing_rule_get_ipproto</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="NMSettingIPConfig.html#nm-ip-routing-rule-set-ipproto" title="nm_ip_routing_rule_set_ipproto ()">nm_ip_routing_rule_set_ipproto</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#guint16"><span class="returnvalue">guint16</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-get-source-port-start" title="nm_ip_routing_rule_get_source_port_start ()">nm_ip_routing_rule_get_source_port_start</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#guint16"><span class="returnvalue">guint16</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-get-source-port-end" title="nm_ip_routing_rule_get_source_port_end ()">nm_ip_routing_rule_get_source_port_end</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="NMSettingIPConfig.html#nm-ip-routing-rule-set-source-port" title="nm_ip_routing_rule_set_source_port ()">nm_ip_routing_rule_set_source_port</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#guint16"><span class="returnvalue">guint16</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-get-destination-port-start" title="nm_ip_routing_rule_get_destination_port_start ()">nm_ip_routing_rule_get_destination_port_start</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#guint16"><span class="returnvalue">guint16</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-get-destination-port-end" title="nm_ip_routing_rule_get_destination_port_end ()">nm_ip_routing_rule_get_destination_port_end</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="NMSettingIPConfig.html#nm-ip-routing-rule-set-destination-port" title="nm_ip_routing_rule_set_destination_port ()">nm_ip_routing_rule_set_destination_port</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> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-get-fwmark" title="nm_ip_routing_rule_get_fwmark ()">nm_ip_routing_rule_get_fwmark</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> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-get-fwmask" title="nm_ip_routing_rule_get_fwmask ()">nm_ip_routing_rule_get_fwmask</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="NMSettingIPConfig.html#nm-ip-routing-rule-set-fwmark" title="nm_ip_routing_rule_set_fwmark ()">nm_ip_routing_rule_set_fwmark</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#guint8"><span class="returnvalue">guint8</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-get-from-len" title="nm_ip_routing_rule_get_from_len ()">nm_ip_routing_rule_get_from_len</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="NMSettingIPConfig.html#nm-ip-routing-rule-get-from" title="nm_ip_routing_rule_get_from ()">nm_ip_routing_rule_get_from</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="NMSettingIPConfig.html#nm-ip-routing-rule-set-from" title="nm_ip_routing_rule_set_from ()">nm_ip_routing_rule_set_from</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#guint8"><span class="returnvalue">guint8</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-get-to-len" title="nm_ip_routing_rule_get_to_len ()">nm_ip_routing_rule_get_to_len</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="NMSettingIPConfig.html#nm-ip-routing-rule-get-to" title="nm_ip_routing_rule_get_to ()">nm_ip_routing_rule_get_to</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="NMSettingIPConfig.html#nm-ip-routing-rule-set-to" title="nm_ip_routing_rule_set_to ()">nm_ip_routing_rule_set_to</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="NMSettingIPConfig.html#nm-ip-routing-rule-get-iifname" title="nm_ip_routing_rule_get_iifname ()">nm_ip_routing_rule_get_iifname</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="NMSettingIPConfig.html#nm-ip-routing-rule-set-iifname" title="nm_ip_routing_rule_set_iifname ()">nm_ip_routing_rule_set_iifname</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="NMSettingIPConfig.html#nm-ip-routing-rule-get-oifname" title="nm_ip_routing_rule_get_oifname ()">nm_ip_routing_rule_get_oifname</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="NMSettingIPConfig.html#nm-ip-routing-rule-set-oifname" title="nm_ip_routing_rule_set_oifname ()">nm_ip_routing_rule_set_oifname</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#guint8"><span class="returnvalue">guint8</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-get-action" title="nm_ip_routing_rule_get_action ()">nm_ip_routing_rule_get_action</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="NMSettingIPConfig.html#nm-ip-routing-rule-set-action" title="nm_ip_routing_rule_set_action ()">nm_ip_routing_rule_set_action</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> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-get-table" title="nm_ip_routing_rule_get_table ()">nm_ip_routing_rule_get_table</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="NMSettingIPConfig.html#nm-ip-routing-rule-set-table" title="nm_ip_routing_rule_set_table ()">nm_ip_routing_rule_set_table</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">int</span> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-cmp" title="nm_ip_routing_rule_cmp ()">nm_ip_routing_rule_cmp</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#gboolean"><span class="returnvalue">gboolean</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-validate" title="nm_ip_routing_rule_validate ()">nm_ip_routing_rule_validate</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="returnvalue">NMIPRoutingRule</span></a> * +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-from-string" title="nm_ip_routing_rule_from_string ()">nm_ip_routing_rule_from_string</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">char</span> * +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-to-string" title="nm_ip_routing_rule_to_string ()">nm_ip_routing_rule_to_string</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> <td class="function_type">const <span class="returnvalue">char</span> * </td> <td class="function_name"> @@ -659,6 +991,46 @@ </tr> <tr> <td class="function_type"> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-num-routing-rules" title="nm_setting_ip_config_get_num_routing_rules ()">nm_setting_ip_config_get_num_routing_rules</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="returnvalue">NMIPRoutingRule</span></a> * +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-routing-rule" title="nm_setting_ip_config_get_routing_rule ()">nm_setting_ip_config_get_routing_rule</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="NMSettingIPConfig.html#nm-setting-ip-config-add-routing-rule" title="nm_setting_ip_config_add_routing_rule ()">nm_setting_ip_config_add_routing_rule</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="NMSettingIPConfig.html#nm-setting-ip-config-remove-routing-rule" title="nm_setting_ip_config_remove_routing_rule ()">nm_setting_ip_config_remove_routing_rule</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="NMSettingIPConfig.html#nm-setting-ip-config-clear-routing-rules" title="nm_setting_ip_config_clear_routing_rules ()">nm_setting_ip_config_clear_routing_rules</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#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> @@ -830,7 +1202,7 @@ </tbody> </table></div> </div> -<a name="NMIPAddress"></a><a name="NMIPRoute"></a><div class="refsect1"> +<a name="NMIPAddress"></a><a name="NMIPRoute"></a><a name="NMIPRoutingRule"></a><div class="refsect1"> <a name="NMSettingIPConfig.other"></a><h2>Types and Values</h2> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> @@ -903,6 +1275,10 @@ <td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-LOCK-MTU:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_LOCK_MTU">NM_IP_ROUTE_ATTRIBUTE_LOCK_MTU</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> +<tr> <td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-DAD-TIMEOUT-MAX:CAPS" title="NM_SETTING_IP_CONFIG_DAD_TIMEOUT_MAX">NM_SETTING_IP_CONFIG_DAD_TIMEOUT_MAX</a></td> </tr> @@ -980,6 +1356,10 @@ </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> +<td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-DNS-OPTION-DEBUG:CAPS" title="NM_SETTING_DNS_OPTION_DEBUG">NM_SETTING_DNS_OPTION_DEBUG</a></td> </tr> <tr> @@ -1049,7 +1429,10 @@ <a name="NMSettingIPConfig.object-hierarchy"></a><h2>Object Hierarchy</h2> <pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a> <span class="lineart">├──</span> NMIPAddress - <span class="lineart">╰──</span> NMIPRoute + <span class="lineart">├──</span> NMIPRoute + <span class="lineart">╰──</span> NMIPRoutingRule + <a href="/usr/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GFlags</a> + <span class="lineart">╰──</span> NMIPRoutingRuleAsStringFlags <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a> <span class="lineart">╰──</span> <a class="link" href="NMSetting.html" title="NMSetting">NMSetting</a> <span class="lineart">╰──</span> NMSettingIPConfig @@ -2456,6 +2839,1289 @@ and the value is of the correct type and well-formed.</p> </div> <hr> <div class="refsect2"> +<a name="nm-ip-routing-rule-new"></a><h3>nm_ip_routing_rule_new ()</h3> +<pre class="programlisting"><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="returnvalue">NMIPRoutingRule</span></a> * +nm_ip_routing_rule_new (<em class="parameter"><code><span class="type">int</span> addr_family</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-new.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>addr_family</p></td> +<td class="parameter_description"><p>the address family of the routing rule. Must be either +<code class="literal">AF_INET</code> (2) or <code class="literal">AF_INET6</code> (10).</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-new.returns"></a><h4>Returns</h4> +<p>a newly created rule instance with the +provided address family. The instance is unsealed. </p> +<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<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> +<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"> +<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>rule</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> to clone.</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-new-clone.returns"></a><h4>Returns</h4> +<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> +<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<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> +<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"> +<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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance. </p></td> +<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<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> +<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-unref"></a><h3>nm_ip_routing_rule_unref ()</h3> +<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> +<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"> +<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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance. </p></td> +<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> +</tr></tbody> +</table></div> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-is-sealed"></a><h3>nm_ip_routing_rule_is_sealed ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +nm_ip_routing_rule_is_sealed (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-is-sealed.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-is-sealed.returns"></a><h4>Returns</h4> +<p> whether <em class="parameter"><code>self</code></em> +is sealed. Once sealed, an instance +cannot be modified nor unsealed.</p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-seal"></a><h3>nm_ip_routing_rule_seal ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_routing_rule_seal (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre> +<p>Seals the routing rule. Afterwards, the instance can no longer be +modfied, and it is a bug to call any of the accessors that would +modify the rule. If <em class="parameter"><code>self</code></em> + was already sealed, this has no effect.</p> +<div class="refsect3"> +<a name="nm-ip-routing-rule-seal.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-get-addr-family"></a><h3>nm_ip_routing_rule_get_addr_family ()</h3> +<pre class="programlisting"><span class="returnvalue">int</span> +nm_ip_routing_rule_get_addr_family (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-addr-family.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-addr-family.returns"></a><h4>Returns</h4> +<p> the address family of the rule. Either <code class="literal">AF_INET</code> or <code class="literal">AF_INET6</code>.</p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-get-invert"></a><h3>nm_ip_routing_rule_get_invert ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +nm_ip_routing_rule_get_invert (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-invert.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-invert.returns"></a><h4>Returns</h4> +<p> the "invert" setting of the rule.</p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-set-invert"></a><h3>nm_ip_routing_rule_set_invert ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_routing_rule_set_invert (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> invert</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-set-invert.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>invert</p></td> +<td class="parameter_description"><p>the new value to set</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-get-priority"></a><h3>nm_ip_routing_rule_get_priority ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a> +nm_ip_routing_rule_get_priority (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-priority.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-priority.returns"></a><h4>Returns</h4> +<p> the priority. A valid priority is in the range from +0 to <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#G-MAXUINT32:CAPS"><code class="literal">G_MAXUINT32</code></a>. If unset, -1 is returned.</p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-set-priority"></a><h3>nm_ip_routing_rule_set_priority ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_routing_rule_set_priority (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> priority</code></em>);</pre> +<p>A valid priority ranges from 0 to <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#G-MAXUINT32:CAPS"><code class="literal">G_MAXUINT32</code></a>. "-1" is also allowed +to reset the priority. It is a bug calling this function with any +other value.</p> +<div class="refsect3"> +<a name="nm-ip-routing-rule-set-priority.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>priority</p></td> +<td class="parameter_description"><p>the priority to set</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-get-tos"></a><h3>nm_ip_routing_rule_get_tos ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> +nm_ip_routing_rule_get_tos (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-tos.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-tos.returns"></a><h4>Returns</h4> +<p> the tos of the rule.</p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-set-tos"></a><h3>nm_ip_routing_rule_set_tos ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_routing_rule_set_tos (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> tos</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-set-tos.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>tos</p></td> +<td class="parameter_description"><p>the tos to set</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-get-ipproto"></a><h3>nm_ip_routing_rule_get_ipproto ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> +nm_ip_routing_rule_get_ipproto (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-ipproto.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-ipproto.returns"></a><h4>Returns</h4> +<p> the ipproto of the rule.</p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-set-ipproto"></a><h3>nm_ip_routing_rule_set_ipproto ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_routing_rule_set_ipproto (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> ipproto</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-set-ipproto.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>ipproto</p></td> +<td class="parameter_description"><p>the ipproto to set</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-get-source-port-start"></a><h3>nm_ip_routing_rule_get_source_port_start ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> +nm_ip_routing_rule_get_source_port_start + (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-source-port-start.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-source-port-start.returns"></a><h4>Returns</h4> +<p> the source port start setting.</p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-get-source-port-end"></a><h3>nm_ip_routing_rule_get_source_port_end ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> +nm_ip_routing_rule_get_source_port_end + (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-source-port-end.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-source-port-end.returns"></a><h4>Returns</h4> +<p> the source port end setting.</p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-set-source-port"></a><h3>nm_ip_routing_rule_set_source_port ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_routing_rule_set_source_port (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> start</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> end</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-set-source-port.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>start</p></td> +<td class="parameter_description"><p>the start port to set.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>end</p></td> +<td class="parameter_description"><p>the end port to set.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-get-destination-port-start"></a><h3>nm_ip_routing_rule_get_destination_port_start ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> +nm_ip_routing_rule_get_destination_port_start + (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-destination-port-start.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-destination-port-start.returns"></a><h4>Returns</h4> +<p> the destination port start setting.</p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-get-destination-port-end"></a><h3>nm_ip_routing_rule_get_destination_port_end ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> +nm_ip_routing_rule_get_destination_port_end + (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-destination-port-end.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-destination-port-end.returns"></a><h4>Returns</h4> +<p> the destination port end setting.</p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-set-destination-port"></a><h3>nm_ip_routing_rule_set_destination_port ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_routing_rule_set_destination_port + (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> start</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> end</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-set-destination-port.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>start</p></td> +<td class="parameter_description"><p>the start port to set.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>end</p></td> +<td class="parameter_description"><p>the end port to set.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-get-fwmark"></a><h3>nm_ip_routing_rule_get_fwmark ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> +nm_ip_routing_rule_get_fwmark (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-fwmark.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-fwmark.returns"></a><h4>Returns</h4> +<p> the fwmark setting.</p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-get-fwmask"></a><h3>nm_ip_routing_rule_get_fwmask ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> +nm_ip_routing_rule_get_fwmask (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-fwmask.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-fwmask.returns"></a><h4>Returns</h4> +<p> the fwmask setting.</p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-set-fwmark"></a><h3>nm_ip_routing_rule_set_fwmark ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_routing_rule_set_fwmark (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</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> fwmark</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> fwmask</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-set-fwmark.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>fwmark</p></td> +<td class="parameter_description"><p>the fwmark</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>fwmask</p></td> +<td class="parameter_description"><p>the fwmask</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-get-from-len"></a><h3>nm_ip_routing_rule_get_from_len ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> +nm_ip_routing_rule_get_from_len (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-from-len.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-from-len.returns"></a><h4>Returns</h4> +<p> the set prefix length for the from/src parameter.</p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-get-from"></a><h3>nm_ip_routing_rule_get_from ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * +nm_ip_routing_rule_get_from (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-from.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-from.returns"></a><h4>Returns</h4> +<p>the set from/src parameter or +<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, if no value is set. </p> +<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-set-from"></a><h3>nm_ip_routing_rule_set_from ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_routing_rule_set_from (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *from</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> len</code></em>);</pre> +<p>Setting invalid values is accepted, but will later fail +during <a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-validate" title="nm_ip_routing_rule_validate ()"><code class="function">nm_ip_routing_rule_validate()</code></a>.</p> +<div class="refsect3"> +<a name="nm-ip-routing-rule-set-from.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>from</p></td> +<td class="parameter_description"><p>the from/src address to set. +The address family must match. </p></td> +<td class="parameter_annotations"><span class="annotation">[<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>len</p></td> +<td class="parameter_description"><p>the corresponding prefix length of the address.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-get-to-len"></a><h3>nm_ip_routing_rule_get_to_len ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> +nm_ip_routing_rule_get_to_len (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-to-len.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-to-len.returns"></a><h4>Returns</h4> +<p> the set prefix length for the to/dst parameter.</p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-get-to"></a><h3>nm_ip_routing_rule_get_to ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * +nm_ip_routing_rule_get_to (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-to.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-to.returns"></a><h4>Returns</h4> +<p>the set to/dst parameter or +<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, if no value is set. </p> +<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-set-to"></a><h3>nm_ip_routing_rule_set_to ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_routing_rule_set_to (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *to</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> len</code></em>);</pre> +<p>Setting invalid values is accepted, but will later fail +during <a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-validate" title="nm_ip_routing_rule_validate ()"><code class="function">nm_ip_routing_rule_validate()</code></a>.</p> +<div class="refsect3"> +<a name="nm-ip-routing-rule-set-to.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>to</p></td> +<td class="parameter_description"><p>the to/dst address to set. +The address family must match. </p></td> +<td class="parameter_annotations"><span class="annotation">[<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>len</p></td> +<td class="parameter_description"><p>the corresponding prefix length of the address. +If <em class="parameter"><code>to</code></em> +is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, this valid is ignored.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-get-iifname"></a><h3>nm_ip_routing_rule_get_iifname ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * +nm_ip_routing_rule_get_iifname (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-iifname.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance.</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-iifname.returns"></a><h4>Returns</h4> +<p>the set iifname or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if unset. </p> +<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-set-iifname"></a><h3>nm_ip_routing_rule_set_iifname ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_routing_rule_set_iifname (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *iifname</code></em>);</pre> +<p>The name supports C backslash escaping for non-UTF-8 characters. +Note that <a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-from-string" title="nm_ip_routing_rule_from_string ()"><code class="function">nm_ip_routing_rule_from_string()</code></a> too uses backslash +escaping when tokenizing the words by whitespace. So, in string +representation you'd get double backslashs.</p> +<div class="refsect3"> +<a name="nm-ip-routing-rule-set-iifname.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>iifname</p></td> +<td class="parameter_description"><p>the iifname to set or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset. </p></td> +<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-get-oifname"></a><h3>nm_ip_routing_rule_get_oifname ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * +nm_ip_routing_rule_get_oifname (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-oifname.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance.</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-oifname.returns"></a><h4>Returns</h4> +<p>the set oifname or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if unset. </p> +<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-set-oifname"></a><h3>nm_ip_routing_rule_set_oifname ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_routing_rule_set_oifname (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *oifname</code></em>);</pre> +<p>The name supports C backslash escaping for non-UTF-8 characters. +Note that <a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-from-string" title="nm_ip_routing_rule_from_string ()"><code class="function">nm_ip_routing_rule_from_string()</code></a> too uses backslash +escaping when tokenizing the words by whitespace. So, in string +representation you'd get double backslashs.</p> +<div class="refsect3"> +<a name="nm-ip-routing-rule-set-oifname.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>oifname</p></td> +<td class="parameter_description"><p>the oifname to set or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset. </p></td> +<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-get-action"></a><h3>nm_ip_routing_rule_get_action ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> +nm_ip_routing_rule_get_action (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-action.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-action.returns"></a><h4>Returns</h4> +<p> the set action.</p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-set-action"></a><h3>nm_ip_routing_rule_set_action ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_routing_rule_set_action (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> action</code></em>);</pre> +<p>Note that currently only certain actions are allowed. <a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-validate" title="nm_ip_routing_rule_validate ()"><code class="function">nm_ip_routing_rule_validate()</code></a> +will reject unsupported actions as invalid.</p> +<div class="refsect3"> +<a name="nm-ip-routing-rule-set-action.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>action</p></td> +<td class="parameter_description"><p>the action to set</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-get-table"></a><h3>nm_ip_routing_rule_get_table ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> +nm_ip_routing_rule_get_table (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-table.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-table.returns"></a><h4>Returns</h4> +<p> the set table.</p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-set-table"></a><h3>nm_ip_routing_rule_set_table ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_routing_rule_set_table (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</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> table</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-set-table.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>table</p></td> +<td class="parameter_description"><p>the table to set</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-cmp"></a><h3>nm_ip_routing_rule_cmp ()</h3> +<pre class="programlisting"><span class="returnvalue">int</span> +nm_ip_routing_rule_cmp (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *rule</code></em>, + <em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *other</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-cmp.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>rule</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance to compare. </p></td> +<td class="parameter_annotations"><span class="annotation">[<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>other</p></td> +<td class="parameter_description"><p>the other <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance to compare. </p></td> +<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-cmp.returns"></a><h4>Returns</h4> +<p> zero, a positive, or a negative integer to indicate +equality or how the arguments compare.</p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-validate"></a><h3>nm_ip_routing_rule_validate ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +nm_ip_routing_rule_validate (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-validate.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance to validate</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>error</p></td> +<td class="parameter_description"><p>the error result if validation fails. </p></td> +<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-validate.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 rule validates.</p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-from-string"></a><h3>nm_ip_routing_rule_from_string ()</h3> +<pre class="programlisting"><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="returnvalue">NMIPRoutingRule</span></a> * +nm_ip_routing_rule_from_string (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>, + <em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRuleAsStringFlags" title="enum NMIPRoutingRuleAsStringFlags"><span class="type">NMIPRoutingRuleAsStringFlags</span></a> to_string_flags</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *extra_args</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-from-string.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>str</p></td> +<td class="parameter_description"><p>the string representation to convert to an <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>to_string_flags</p></td> +<td class="parameter_description"><p><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRuleAsStringFlags" title="enum NMIPRoutingRuleAsStringFlags"><span class="type">NMIPRoutingRuleAsStringFlags</span></a> for controlling the +string conversion.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>extra_args</p></td> +<td class="parameter_description"><p>extra arguments for controlling the string +conversion. Currently not extra arguments are supported. </p></td> +<td class="parameter_annotations"><span class="annotation">[<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> +<td class="parameter_description"><p>the error reason. </p></td> +<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-from-string.returns"></a><h4>Returns</h4> +<p>the new <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. </p> +<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-to-string"></a><h3>nm_ip_routing_rule_to_string ()</h3> +<pre class="programlisting"><span class="returnvalue">char</span> * +nm_ip_routing_rule_to_string (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *self</code></em>, + <em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRuleAsStringFlags" title="enum NMIPRoutingRuleAsStringFlags"><span class="type">NMIPRoutingRuleAsStringFlags</span></a> to_string_flags</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *extra_args</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-to-string.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>self</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> instance to convert to string.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>to_string_flags</p></td> +<td class="parameter_description"><p><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRuleAsStringFlags" title="enum NMIPRoutingRuleAsStringFlags"><span class="type">NMIPRoutingRuleAsStringFlags</span></a> for controlling the +string conversion.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>extra_args</p></td> +<td class="parameter_description"><p>extra arguments for controlling the string +conversion. Currently not extra arguments are supported. </p></td> +<td class="parameter_annotations"><span class="annotation">[<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> +<td class="parameter_description"><p>the error reason. </p></td> +<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-routing-rule-to-string.returns"></a><h4>Returns</h4> +<p>the string representation or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. </p> +<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> <a name="nm-setting-ip-config-get-method"></a><h3>nm_setting_ip_config_get_method ()</h3> <pre class="programlisting">const <span class="returnvalue">char</span> * nm_setting_ip_config_get_method (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> @@ -3605,6 +5271,161 @@ property.</p> </div> <hr> <div class="refsect2"> +<a name="nm-setting-ip-config-get-num-routing-rules"></a><h3>nm_setting_ip_config_get_num_routing_rules ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> +nm_setting_ip_config_get_num_routing_rules + (<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-num-routing-rules.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-num-routing-rules.returns"></a><h4>Returns</h4> +<p> the number of configured routing rules</p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-routing-rule"></a><h3>nm_setting_ip_config_get_routing_rule ()</h3> +<pre class="programlisting"><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="returnvalue">NMIPRoutingRule</span></a> * +nm_setting_ip_config_get_routing_rule (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-routing-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> +<tr> +<td class="parameter_name"><p>idx</p></td> +<td class="parameter_description"><p>index number of the routing_rule to return</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-routing-rule.returns"></a><h4>Returns</h4> +<p>the routing rule at index <em class="parameter"><code>idx</code></em> +. </p> +<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-add-routing-rule"></a><h3>nm_setting_ip_config_add_routing_rule ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_setting_ip_config_add_routing_rule (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>, + <em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> *routing_rule</code></em>);</pre> +<p>Appends a new routing-rule and associated information to the setting. The +given routing rules gets sealed and the reference count is incremented. +The function does not check whether an identical rule already exists +and always appends the rule to the end of the list.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-add-routing-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> +<tr> +<td class="parameter_name"><p>routing_rule</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> to add. The address family +of the added rule must be compatible with the setting.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-remove-routing-rule"></a><h3>nm_setting_ip_config_remove_routing_rule ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_setting_ip_config_remove_routing_rule + (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> +<p>Removes the routing_rule at index <em class="parameter"><code>idx</code></em> +.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-remove-routing-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> +<tr> +<td class="parameter_name"><p>idx</p></td> +<td class="parameter_description"><p>index number of the routing_rule</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-clear-routing-rules"></a><h3>nm_setting_ip_config_clear_routing_rules ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_setting_ip_config_clear_routing_rules + (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> +<p>Removes all configured routing rules.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-clear-routing-rules.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> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> <a name="nm-setting-ip-config-get-ignore-auto-routes"></a><h3>nm_setting_ip_config_get_ignore_auto_routes ()</h3> <pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_ip_config_get_ignore_auto_routes @@ -3931,6 +5752,58 @@ the particular kind of device.</p> </div> <hr> <div class="refsect2"> +<a name="NMIPRoutingRuleAsStringFlags"></a><h3>enum NMIPRoutingRuleAsStringFlags</h3> +<div class="refsect3"> +<a name="NMIPRoutingRuleAsStringFlags.members"></a><h4>Members</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="300px" class="enum_members_name"> +<col class="enum_members_description"> +<col width="200px" class="enum_members_annotations"> +</colgroup> +<tbody> +<tr> +<td class="enum_member_name"><p><a name="NM-IP-ROUTING-RULE-AS-STRING-FLAGS-NONE:CAPS"></a>NM_IP_ROUTING_RULE_AS_STRING_FLAGS_NONE</p></td> +<td class="enum_member_description"> +<p>no flags selected.</p> +</td> +<td class="enum_member_annotations"> </td> +</tr> +<tr> +<td class="enum_member_name"><p><a name="NM-IP-ROUTING-RULE-AS-STRING-FLAGS-AF-INET:CAPS"></a>NM_IP_ROUTING_RULE_AS_STRING_FLAGS_AF_INET</p></td> +<td class="enum_member_description"> +<p>whether to allow parsing + IPv4 addresses.</p> +</td> +<td class="enum_member_annotations"> </td> +</tr> +<tr> +<td class="enum_member_name"><p><a name="NM-IP-ROUTING-RULE-AS-STRING-FLAGS-AF-INET6:CAPS"></a>NM_IP_ROUTING_RULE_AS_STRING_FLAGS_AF_INET6</p></td> +<td class="enum_member_description"> +<p>whether to allow parsing + IPv6 addresses. If both <em class="parameter"><code>NM_IP_ROUTING_RULE_AS_STRING_FLAGS_AF_INET</code></em> + and + <em class="parameter"><code>NM_IP_ROUTING_RULE_AS_STRING_FLAGS_AF_INET6</code></em> + are unset, it's the same + as setting them both.</p> +</td> +<td class="enum_member_annotations"> </td> +</tr> +<tr> +<td class="enum_member_name"><p><a name="NM-IP-ROUTING-RULE-AS-STRING-FLAGS-VALIDATE:CAPS"></a>NM_IP_ROUTING_RULE_AS_STRING_FLAGS_VALIDATE</p></td> +<td class="enum_member_description"> +<p>if set, ensure that the + rule verfies or fail.</p> +</td> +<td class="enum_member_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.18</p> +</div> +<hr> +<div class="refsect2"> <a name="NM-SETTING-IP-CONFIG-DAD-TIMEOUT-MAX:CAPS"></a><h3>NM_SETTING_IP_CONFIG_DAD_TIMEOUT_MAX</h3> <pre class="programlisting">#define NM_SETTING_IP_CONFIG_DAD_TIMEOUT_MAX 30000 </pre> @@ -4045,6 +5918,12 @@ the particular kind of device.</p> </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> +</div> +<hr> +<div class="refsect2"> <a name="NM-SETTING-DNS-OPTION-DEBUG:CAPS"></a><h3>NM_SETTING_DNS_OPTION_DEBUG</h3> <pre class="programlisting">#define NM_SETTING_DNS_OPTION_DEBUG "debug" </pre> |