diff options
| author | Michael Biebl <biebl@debian.org> | 2023-02-23 17:11:22 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2023-02-23 17:11:22 +0100 |
| commit | b22a7b55d0bc5a7999dccaeacdde745f5ace9d66 (patch) | |
| tree | 597d2716cfa4b904c98717b874371e0e7b5e0c71 /docs/libnm/html/NMSettingIPConfig.html | |
| parent | 1372848511cb896b80b51ed1a3e9606bd9816631 (diff) | |
New upstream version 1.42.2 upstream/1.42.2
Diffstat (limited to 'docs/libnm/html/NMSettingIPConfig.html')
| -rw-r--r-- | docs/libnm/html/NMSettingIPConfig.html | 6709 |
1 files changed, 6709 insertions, 0 deletions
diff --git a/docs/libnm/html/NMSettingIPConfig.html b/docs/libnm/html/NMSettingIPConfig.html new file mode 100644 index 00000000..a10f391d --- /dev/null +++ b/docs/libnm/html/NMSettingIPConfig.html @@ -0,0 +1,6709 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>NMSettingIPConfig: libnm Reference Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> +<link rel="home" href="index.html" title="libnm Reference Manual"> +<link rel="up" href="ch03.html" title="Connection and Setting API Reference"> +<link rel="prev" href="NMSettingInfiniband.html" title="NMSettingInfiniband"> +<link rel="next" href="NMSettingIPTunnel.html" title="NMSettingIPTunnel"> +<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> +<td width="100%" align="left" class="shortcuts"> +<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> + <a href="#NMSettingIPConfig.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> + <a href="#NMSettingIPConfig.object-hierarchy" class="shortcut">Object Hierarchy</a></span> +</td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> +<td><a accesskey="u" href="ch03.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> +<td><a accesskey="p" href="NMSettingInfiniband.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> +<td><a accesskey="n" href="NMSettingIPTunnel.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> +</tr></table> +<div class="refentry"> +<a name="NMSettingIPConfig"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="NMSettingIPConfig.top_of_page"></a>NMSettingIPConfig</span></h2> +<p>NMSettingIPConfig — Abstract base class for IPv4 and IPv6 +addressing, routing, and name service properties</p> +</td> +<td class="gallery_image" valign="top" align="right"></td> +</tr></table></div> +<div class="refsect1"> +<a name="NMSettingIPConfig.functions"></a><h2>Functions</h2> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="functions_proto_type"> +<col class="functions_proto_name"> +</colgroup> +<tbody> +<tr> +<td class="function_type"> +<a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="returnvalue">NMIPAddress</span></a> * +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-address-new" title="nm_ip_address_new ()">nm_ip_address_new</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="returnvalue">NMIPAddress</span></a> * +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-address-new-binary" title="nm_ip_address_new_binary ()">nm_ip_address_new_binary</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-address-ref" title="nm_ip_address_ref ()">nm_ip_address_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-address-unref" title="nm_ip_address_unref ()">nm_ip_address_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-address-equal" title="nm_ip_address_equal ()">nm_ip_address_equal</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-address-cmp-full" title="nm_ip_address_cmp_full ()">nm_ip_address_cmp_full</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="returnvalue">NMIPAddress</span></a> * +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-address-dup" title="nm_ip_address_dup ()">nm_ip_address_dup</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-address-get-family" title="nm_ip_address_get_family ()">nm_ip_address_get_family</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-address-get-address" title="nm_ip_address_get_address ()">nm_ip_address_get_address</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-address-set-address" title="nm_ip_address_set_address ()">nm_ip_address_set_address</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-address-get-address-binary" title="nm_ip_address_get_address_binary ()">nm_ip_address_get_address_binary</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-address-set-address-binary" title="nm_ip_address_set_address_binary ()">nm_ip_address_set_address_binary</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#guint"><span class="returnvalue">guint</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-address-get-prefix" title="nm_ip_address_get_prefix ()">nm_ip_address_get_prefix</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-address-set-prefix" title="nm_ip_address_set_prefix ()">nm_ip_address_set_prefix</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-address-get-attribute-names" title="nm_ip_address_get_attribute_names ()">nm_ip_address_get_attribute_names</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a href="https://developer.gnome.org/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-address-get-attribute" title="nm_ip_address_get_attribute ()">nm_ip_address_get_attribute</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-address-set-attribute" title="nm_ip_address_set_attribute ()">nm_ip_address_set_attribute</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="returnvalue">NMIPRoute</span></a> * +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-route-new" title="nm_ip_route_new ()">nm_ip_route_new</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="returnvalue">NMIPRoute</span></a> * +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-route-new-binary" title="nm_ip_route_new_binary ()">nm_ip_route_new_binary</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-route-ref" title="nm_ip_route_ref ()">nm_ip_route_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-route-unref" title="nm_ip_route_unref ()">nm_ip_route_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-route-equal" title="nm_ip_route_equal ()">nm_ip_route_equal</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-route-equal-full" title="nm_ip_route_equal_full ()">nm_ip_route_equal_full</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="returnvalue">NMIPRoute</span></a> * +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-route-dup" title="nm_ip_route_dup ()">nm_ip_route_dup</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-route-get-family" title="nm_ip_route_get_family ()">nm_ip_route_get_family</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-route-get-dest" title="nm_ip_route_get_dest ()">nm_ip_route_get_dest</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-route-set-dest" title="nm_ip_route_set_dest ()">nm_ip_route_set_dest</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-route-get-dest-binary" title="nm_ip_route_get_dest_binary ()">nm_ip_route_get_dest_binary</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-route-set-dest-binary" title="nm_ip_route_set_dest_binary ()">nm_ip_route_set_dest_binary</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#guint"><span class="returnvalue">guint</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-route-get-prefix" title="nm_ip_route_get_prefix ()">nm_ip_route_get_prefix</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-route-set-prefix" title="nm_ip_route_set_prefix ()">nm_ip_route_set_prefix</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-route-get-next-hop" title="nm_ip_route_get_next_hop ()">nm_ip_route_get_next_hop</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-route-set-next-hop" title="nm_ip_route_set_next_hop ()">nm_ip_route_set_next_hop</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-route-get-next-hop-binary" title="nm_ip_route_get_next_hop_binary ()">nm_ip_route_get_next_hop_binary</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-route-set-next-hop-binary" title="nm_ip_route_set_next_hop_binary ()">nm_ip_route_set_next_hop_binary</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-route-get-metric" title="nm_ip_route_get_metric ()">nm_ip_route_get_metric</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-route-set-metric" title="nm_ip_route_set_metric ()">nm_ip_route_set_metric</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-route-get-attribute-names" title="nm_ip_route_get_attribute_names ()">nm_ip_route_get_attribute_names</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a href="https://developer.gnome.org/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-route-get-attribute" title="nm_ip_route_get_attribute ()">nm_ip_route_get_attribute</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-route-set-attribute" title="nm_ip_route_set_attribute ()">nm_ip_route_set_attribute</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type">const <a class="link" href="libnm-nm-utils.html#NMVariantAttributeSpec" title="NMVariantAttributeSpec"><span class="returnvalue">NMVariantAttributeSpec</span></a> *const * +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-route-get-variant-attribute-spec" title="nm_ip_route_get_variant_attribute_spec ()">nm_ip_route_get_variant_attribute_spec</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-route-attribute-validate" title="nm_ip_route_attribute_validate ()">nm_ip_route_attribute_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-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"> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-routing-rule-get-suppress-prefixlength" title="nm_ip_routing_rule_get_suppress_prefixlength ()">nm_ip_routing_rule_get_suppress_prefixlength</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-suppress-prefixlength" title="nm_ip_routing_rule_set_suppress_prefixlength ()">nm_ip_routing_rule_set_suppress_prefixlength</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-uid-range" title="nm_ip_routing_rule_get_uid_range ()">nm_ip_routing_rule_get_uid_range</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-uid-range" title="nm_ip_routing_rule_set_uid_range ()">nm_ip_routing_rule_set_uid_range</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"> +<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-method" title="nm_setting_ip_config_get_method ()">nm_setting_ip_config_get_method</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#guint"><span class="returnvalue">guint</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-num-dns" title="nm_setting_ip_config_get_num_dns ()">nm_setting_ip_config_get_num_dns</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-setting-ip-config-get-dns" title="nm_setting_ip_config_get_dns ()">nm_setting_ip_config_get_dns</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-setting-ip-config-add-dns" title="nm_setting_ip_config_add_dns ()">nm_setting_ip_config_add_dns</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-dns" title="nm_setting_ip_config_remove_dns ()">nm_setting_ip_config_remove_dns</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-setting-ip-config-remove-dns-by-value" title="nm_setting_ip_config_remove_dns_by_value ()">nm_setting_ip_config_remove_dns_by_value</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-clear-dns" title="nm_setting_ip_config_clear_dns ()">nm_setting_ip_config_clear_dns</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#guint"><span class="returnvalue">guint</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-num-dns-searches" title="nm_setting_ip_config_get_num_dns_searches ()">nm_setting_ip_config_get_num_dns_searches</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-setting-ip-config-get-dns-search" title="nm_setting_ip_config_get_dns_search ()">nm_setting_ip_config_get_dns_search</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-setting-ip-config-add-dns-search" title="nm_setting_ip_config_add_dns_search ()">nm_setting_ip_config_add_dns_search</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-dns-search" title="nm_setting_ip_config_remove_dns_search ()">nm_setting_ip_config_remove_dns_search</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-setting-ip-config-remove-dns-search-by-value" title="nm_setting_ip_config_remove_dns_search_by_value ()">nm_setting_ip_config_remove_dns_search_by_value</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-clear-dns-searches" title="nm_setting_ip_config_clear_dns_searches ()">nm_setting_ip_config_clear_dns_searches</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#guint"><span class="returnvalue">guint</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-num-dns-options" title="nm_setting_ip_config_get_num_dns_options ()">nm_setting_ip_config_get_num_dns_options</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-setting-ip-config-has-dns-options" title="nm_setting_ip_config_has_dns_options ()">nm_setting_ip_config_has_dns_options</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-setting-ip-config-get-dns-option" title="nm_setting_ip_config_get_dns_option ()">nm_setting_ip_config_get_dns_option</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-setting-ip-config-add-dns-option" title="nm_setting_ip_config_add_dns_option ()">nm_setting_ip_config_add_dns_option</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-dns-option" title="nm_setting_ip_config_remove_dns_option ()">nm_setting_ip_config_remove_dns_option</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-setting-ip-config-remove-dns-option-by-value" title="nm_setting_ip_config_remove_dns_option_by_value ()">nm_setting_ip_config_remove_dns_option_by_value</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-clear-dns-options" title="nm_setting_ip_config_clear_dns_options ()">nm_setting_ip_config_clear_dns_options</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-setting-ip-config-get-dns-priority" title="nm_setting_ip_config_get_dns_priority ()">nm_setting_ip_config_get_dns_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#guint"><span class="returnvalue">guint</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-num-addresses" title="nm_setting_ip_config_get_num_addresses ()">nm_setting_ip_config_get_num_addresses</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="returnvalue">NMIPAddress</span></a> * +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-address" title="nm_setting_ip_config_get_address ()">nm_setting_ip_config_get_address</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-setting-ip-config-add-address" title="nm_setting_ip_config_add_address ()">nm_setting_ip_config_add_address</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-address" title="nm_setting_ip_config_remove_address ()">nm_setting_ip_config_remove_address</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-setting-ip-config-remove-address-by-value" title="nm_setting_ip_config_remove_address_by_value ()">nm_setting_ip_config_remove_address_by_value</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-clear-addresses" title="nm_setting_ip_config_clear_addresses ()">nm_setting_ip_config_clear_addresses</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-setting-ip-config-get-gateway" title="nm_setting_ip_config_get_gateway ()">nm_setting_ip_config_get_gateway</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#guint"><span class="returnvalue">guint</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-num-routes" title="nm_setting_ip_config_get_num_routes ()">nm_setting_ip_config_get_num_routes</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="returnvalue">NMIPRoute</span></a> * +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-route" title="nm_setting_ip_config_get_route ()">nm_setting_ip_config_get_route</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-setting-ip-config-add-route" title="nm_setting_ip_config_add_route ()">nm_setting_ip_config_add_route</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-route" title="nm_setting_ip_config_remove_route ()">nm_setting_ip_config_remove_route</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-setting-ip-config-remove-route-by-value" title="nm_setting_ip_config_remove_route_by_value ()">nm_setting_ip_config_remove_route_by_value</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-clear-routes" title="nm_setting_ip_config_clear_routes ()">nm_setting_ip_config_clear_routes</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-setting-ip-config-get-route-metric" title="nm_setting_ip_config_get_route_metric ()">nm_setting_ip_config_get_route_metric</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-setting-ip-config-get-route-table" title="nm_setting_ip_config_get_route_table ()">nm_setting_ip_config_get_route_table</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#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"> +<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-ignore-auto-routes" title="nm_setting_ip_config_get_ignore_auto_routes ()">nm_setting_ip_config_get_ignore_auto_routes</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-setting-ip-config-get-ignore-auto-dns" title="nm_setting_ip_config_get_ignore_auto_dns ()">nm_setting_ip_config_get_ignore_auto_dns</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-setting-ip-config-get-dhcp-hostname" title="nm_setting_ip_config_get_dhcp_hostname ()">nm_setting_ip_config_get_dhcp_hostname</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-setting-ip-config-get-dhcp-send-hostname" title="nm_setting_ip_config_get_dhcp_send_hostname ()">nm_setting_ip_config_get_dhcp_send_hostname</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-setting-ip-config-get-never-default" title="nm_setting_ip_config_get_never_default ()">nm_setting_ip_config_get_never_default</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-setting-ip-config-get-may-fail" title="nm_setting_ip_config_get_may_fail ()">nm_setting_ip_config_get_may_fail</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-setting-ip-config-get-dad-timeout" title="nm_setting_ip_config_get_dad_timeout ()">nm_setting_ip_config_get_dad_timeout</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-setting-ip-config-get-dhcp-timeout" title="nm_setting_ip_config_get_dhcp_timeout ()">nm_setting_ip_config_get_dhcp_timeout</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-setting-ip-config-get-required-timeout" title="nm_setting_ip_config_get_required_timeout ()">nm_setting_ip_config_get_required_timeout</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-setting-ip-config-get-dhcp-iaid" title="nm_setting_ip_config_get_dhcp_iaid ()">nm_setting_ip_config_get_dhcp_iaid</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="NMSettingIPConfig.html#NMDhcpHostnameFlags" title="enum NMDhcpHostnameFlags"><span class="returnvalue">NMDhcpHostnameFlags</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-dhcp-hostname-flags" title="nm_setting_ip_config_get_dhcp_hostname_flags ()">nm_setting_ip_config_get_dhcp_hostname_flags</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type">const <span class="returnvalue">char</span> *const * +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-dhcp-reject-servers" title="nm_setting_ip_config_get_dhcp_reject_servers ()">nm_setting_ip_config_get_dhcp_reject_servers</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-dhcp-reject-server" title="nm_setting_ip_config_add_dhcp_reject_server ()">nm_setting_ip_config_add_dhcp_reject_server</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-dhcp-reject-server" title="nm_setting_ip_config_remove_dhcp_reject_server ()">nm_setting_ip_config_remove_dhcp_reject_server</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-dhcp-reject-servers" title="nm_setting_ip_config_clear_dhcp_reject_servers ()">nm_setting_ip_config_clear_dhcp_reject_servers</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="libnm-nm-dbus-interface.html#NMTernary" title="enum NMTernary"><span class="returnvalue">NMTernary</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-auto-route-ext-gw" title="nm_setting_ip_config_get_auto_route_ext_gw ()">nm_setting_ip_config_get_auto_route_ext_gw</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="libnm-nm-dbus-interface.html#NMTernary" title="enum NMTernary"><span class="returnvalue">NMTernary</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-replace-local-rule" title="nm_setting_ip_config_get_replace_local_rule ()">nm_setting_ip_config_get_replace_local_rule</a> <span class="c_punctuation">()</span> +</td> +</tr> +</tbody> +</table></div> +</div> +<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> +<col width="150px" class="other_proto_type"> +<col class="other_proto_name"> +</colgroup> +<tbody> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ADDRESS-ATTRIBUTE-LABEL:CAPS" title="NM_IP_ADDRESS_ATTRIBUTE_LABEL">NM_IP_ADDRESS_ATTRIBUTE_LABEL</a></td> +</tr> +<tr> +<td class="datatype_keyword">enum</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NMIPAddressCmpFlags" title="enum NMIPAddressCmpFlags">NMIPAddressCmpFlags</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-ADVMSS:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_ADVMSS">NM_IP_ROUTE_ATTRIBUTE_ADVMSS</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-CWND:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_CWND">NM_IP_ROUTE_ATTRIBUTE_CWND</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-FROM:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_FROM">NM_IP_ROUTE_ATTRIBUTE_FROM</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-INITCWND:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_INITCWND">NM_IP_ROUTE_ATTRIBUTE_INITCWND</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-INITRWND:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_INITRWND">NM_IP_ROUTE_ATTRIBUTE_INITRWND</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-LOCK-ADVMSS:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_LOCK_ADVMSS">NM_IP_ROUTE_ATTRIBUTE_LOCK_ADVMSS</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-LOCK-CWND:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_LOCK_CWND">NM_IP_ROUTE_ATTRIBUTE_LOCK_CWND</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-LOCK-INITCWND:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_LOCK_INITCWND">NM_IP_ROUTE_ATTRIBUTE_LOCK_INITCWND</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-LOCK-INITRWND:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_LOCK_INITRWND">NM_IP_ROUTE_ATTRIBUTE_LOCK_INITRWND</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<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="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-LOCK-WINDOW:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_LOCK_WINDOW">NM_IP_ROUTE_ATTRIBUTE_LOCK_WINDOW</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-MTU:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_MTU">NM_IP_ROUTE_ATTRIBUTE_MTU</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-ONLINK:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_ONLINK">NM_IP_ROUTE_ATTRIBUTE_ONLINK</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-QUICKACK:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_QUICKACK">NM_IP_ROUTE_ATTRIBUTE_QUICKACK</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-RTO-MIN:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_RTO_MIN">NM_IP_ROUTE_ATTRIBUTE_RTO_MIN</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-SCOPE:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_SCOPE">NM_IP_ROUTE_ATTRIBUTE_SCOPE</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-SRC:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_SRC">NM_IP_ROUTE_ATTRIBUTE_SRC</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-TABLE:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_TABLE">NM_IP_ROUTE_ATTRIBUTE_TABLE</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-TOS:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_TOS">NM_IP_ROUTE_ATTRIBUTE_TOS</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-TYPE:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_TYPE">NM_IP_ROUTE_ATTRIBUTE_TYPE</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-WINDOW:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_WINDOW">NM_IP_ROUTE_ATTRIBUTE_WINDOW</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-WEIGHT:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_WEIGHT">NM_IP_ROUTE_ATTRIBUTE_WEIGHT</a></td> +</tr> +<tr> +<td class="datatype_keyword">enum</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NMIPRoutingRuleAsStringFlags" title="enum NMIPRoutingRuleAsStringFlags">NMIPRoutingRuleAsStringFlags</a></td> +</tr> +<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> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-METHOD:CAPS" title="NM_SETTING_IP_CONFIG_METHOD">NM_SETTING_IP_CONFIG_METHOD</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-DNS:CAPS" title="NM_SETTING_IP_CONFIG_DNS">NM_SETTING_IP_CONFIG_DNS</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-DNS-SEARCH:CAPS" title="NM_SETTING_IP_CONFIG_DNS_SEARCH">NM_SETTING_IP_CONFIG_DNS_SEARCH</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-DNS-OPTIONS:CAPS" title="NM_SETTING_IP_CONFIG_DNS_OPTIONS">NM_SETTING_IP_CONFIG_DNS_OPTIONS</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-DNS-PRIORITY:CAPS" title="NM_SETTING_IP_CONFIG_DNS_PRIORITY">NM_SETTING_IP_CONFIG_DNS_PRIORITY</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-ADDRESSES:CAPS" title="NM_SETTING_IP_CONFIG_ADDRESSES">NM_SETTING_IP_CONFIG_ADDRESSES</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-GATEWAY:CAPS" title="NM_SETTING_IP_CONFIG_GATEWAY">NM_SETTING_IP_CONFIG_GATEWAY</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-ROUTES:CAPS" title="NM_SETTING_IP_CONFIG_ROUTES">NM_SETTING_IP_CONFIG_ROUTES</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-ROUTE-METRIC:CAPS" title="NM_SETTING_IP_CONFIG_ROUTE_METRIC">NM_SETTING_IP_CONFIG_ROUTE_METRIC</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-ROUTE-TABLE:CAPS" title="NM_SETTING_IP_CONFIG_ROUTE_TABLE">NM_SETTING_IP_CONFIG_ROUTE_TABLE</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-IGNORE-AUTO-ROUTES:CAPS" title="NM_SETTING_IP_CONFIG_IGNORE_AUTO_ROUTES">NM_SETTING_IP_CONFIG_IGNORE_AUTO_ROUTES</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-IGNORE-AUTO-DNS:CAPS" title="NM_SETTING_IP_CONFIG_IGNORE_AUTO_DNS">NM_SETTING_IP_CONFIG_IGNORE_AUTO_DNS</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-DHCP-HOSTNAME:CAPS" title="NM_SETTING_IP_CONFIG_DHCP_HOSTNAME">NM_SETTING_IP_CONFIG_DHCP_HOSTNAME</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-DHCP-SEND-HOSTNAME:CAPS" title="NM_SETTING_IP_CONFIG_DHCP_SEND_HOSTNAME">NM_SETTING_IP_CONFIG_DHCP_SEND_HOSTNAME</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-DHCP-HOSTNAME-FLAGS:CAPS" title="NM_SETTING_IP_CONFIG_DHCP_HOSTNAME_FLAGS">NM_SETTING_IP_CONFIG_DHCP_HOSTNAME_FLAGS</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-NEVER-DEFAULT:CAPS" title="NM_SETTING_IP_CONFIG_NEVER_DEFAULT">NM_SETTING_IP_CONFIG_NEVER_DEFAULT</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-MAY-FAIL:CAPS" title="NM_SETTING_IP_CONFIG_MAY_FAIL">NM_SETTING_IP_CONFIG_MAY_FAIL</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:CAPS" title="NM_SETTING_IP_CONFIG_DAD_TIMEOUT">NM_SETTING_IP_CONFIG_DAD_TIMEOUT</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-DHCP-TIMEOUT:CAPS" title="NM_SETTING_IP_CONFIG_DHCP_TIMEOUT">NM_SETTING_IP_CONFIG_DHCP_TIMEOUT</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-REQUIRED-TIMEOUT:CAPS" title="NM_SETTING_IP_CONFIG_REQUIRED_TIMEOUT">NM_SETTING_IP_CONFIG_REQUIRED_TIMEOUT</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-DHCP-IAID:CAPS" title="NM_SETTING_IP_CONFIG_DHCP_IAID">NM_SETTING_IP_CONFIG_DHCP_IAID</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-DHCP-REJECT-SERVERS:CAPS" title="NM_SETTING_IP_CONFIG_DHCP_REJECT_SERVERS">NM_SETTING_IP_CONFIG_DHCP_REJECT_SERVERS</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-AUTO-ROUTE-EXT-GW:CAPS" title="NM_SETTING_IP_CONFIG_AUTO_ROUTE_EXT_GW">NM_SETTING_IP_CONFIG_AUTO_ROUTE_EXT_GW</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-REPLACE-LOCAL-RULE:CAPS" title="NM_SETTING_IP_CONFIG_REPLACE_LOCAL_RULE">NM_SETTING_IP_CONFIG_REPLACE_LOCAL_RULE</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-ROUTING-RULES:CAPS" title="NM_SETTING_IP_CONFIG_ROUTING_RULES">NM_SETTING_IP_CONFIG_ROUTING_RULES</a></td> +</tr> +<tr> +<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> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-DNS-OPTION-NDOTS:CAPS" title="NM_SETTING_DNS_OPTION_NDOTS">NM_SETTING_DNS_OPTION_NDOTS</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-DNS-OPTION-TIMEOUT:CAPS" title="NM_SETTING_DNS_OPTION_TIMEOUT">NM_SETTING_DNS_OPTION_TIMEOUT</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-DNS-OPTION-ATTEMPTS:CAPS" title="NM_SETTING_DNS_OPTION_ATTEMPTS">NM_SETTING_DNS_OPTION_ATTEMPTS</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-DNS-OPTION-ROTATE:CAPS" title="NM_SETTING_DNS_OPTION_ROTATE">NM_SETTING_DNS_OPTION_ROTATE</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-DNS-OPTION-NO-CHECK-NAMES:CAPS" title="NM_SETTING_DNS_OPTION_NO_CHECK_NAMES">NM_SETTING_DNS_OPTION_NO_CHECK_NAMES</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-DNS-OPTION-INET6:CAPS" title="NM_SETTING_DNS_OPTION_INET6">NM_SETTING_DNS_OPTION_INET6</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-DNS-OPTION-IP6-BYTESTRING:CAPS" title="NM_SETTING_DNS_OPTION_IP6_BYTESTRING">NM_SETTING_DNS_OPTION_IP6_BYTESTRING</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-DNS-OPTION-IP6-DOTINT:CAPS" title="NM_SETTING_DNS_OPTION_IP6_DOTINT">NM_SETTING_DNS_OPTION_IP6_DOTINT</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-DNS-OPTION-NO-IP6-DOTINT:CAPS" title="NM_SETTING_DNS_OPTION_NO_IP6_DOTINT">NM_SETTING_DNS_OPTION_NO_IP6_DOTINT</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-DNS-OPTION-EDNS0:CAPS" title="NM_SETTING_DNS_OPTION_EDNS0">NM_SETTING_DNS_OPTION_EDNS0</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-DNS-OPTION-SINGLE-REQUEST:CAPS" title="NM_SETTING_DNS_OPTION_SINGLE_REQUEST">NM_SETTING_DNS_OPTION_SINGLE_REQUEST</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-DNS-OPTION-SINGLE-REQUEST-REOPEN:CAPS" title="NM_SETTING_DNS_OPTION_SINGLE_REQUEST_REOPEN">NM_SETTING_DNS_OPTION_SINGLE_REQUEST_REOPEN</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-DNS-OPTION-NO-TLD-QUERY:CAPS" title="NM_SETTING_DNS_OPTION_NO_TLD_QUERY">NM_SETTING_DNS_OPTION_NO_TLD_QUERY</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-DNS-OPTION-USE-VC:CAPS" title="NM_SETTING_DNS_OPTION_USE_VC">NM_SETTING_DNS_OPTION_USE_VC</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-DNS-OPTION-NO-RELOAD:CAPS" title="NM_SETTING_DNS_OPTION_NO_RELOAD">NM_SETTING_DNS_OPTION_NO_RELOAD</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-DNS-OPTION-TRUST-AD:CAPS" title="NM_SETTING_DNS_OPTION_TRUST_AD">NM_SETTING_DNS_OPTION_TRUST_AD</a></td> +</tr> +<tr> +<td class="datatype_keyword">enum</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NMDhcpHostnameFlags" title="enum NMDhcpHostnameFlags">NMDhcpHostnameFlags</a></td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect1"> +<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> NMIPRoutingRule + <a href="/usr/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GFlags</a> + <span class="lineart">├──</span> NMDhcpHostnameFlags + <span class="lineart">├──</span> NMIPAddressCmpFlags + <span class="lineart">╰──</span> NMIPRoutingRuleAsStringFlags +</pre> +</div> +<div class="refsect1"> +<a name="NMSettingIPConfig.includes"></a><h2>Includes</h2> +<pre class="synopsis">#include <nm-setting-ip-config.h> +</pre> +</div> +<div class="refsect1"> +<a name="NMSettingIPConfig.description"></a><h2>Description</h2> +<p><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> is the abstract base class of +<a class="link" href="NMSettingIP4Config.html" title="NMSettingIP4Config"><span class="type">NMSettingIP4Config</span></a> and <a class="link" href="NMSettingIP6Config.html" title="NMSettingIP6Config"><span class="type">NMSettingIP6Config</span></a>, providing properties +related to IP addressing, routing, and Domain Name Service.</p> +</div> +<div class="refsect1"> +<a name="NMSettingIPConfig.functions_details"></a><h2>Functions</h2> +<div class="refsect2"> +<a name="nm-ip-address-new"></a><h3>nm_ip_address_new ()</h3> +<pre class="programlisting"><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="returnvalue">NMIPAddress</span></a> * +nm_ip_address_new (<em class="parameter"><code><span class="type">int</span> family</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *addr</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> prefix</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> +<p>Creates a new <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> object.</p> +<div class="refsect3"> +<a name="nm-ip-address-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>family</p></td> +<td class="parameter_description"><p>the IP address family (<code class="literal">AF_INET</code> or +<code class="literal">AF_INET6</code>)</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>addr</p></td> +<td class="parameter_description"><p>the IP address</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>prefix</p></td> +<td class="parameter_description"><p>the address prefix length</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>error</p></td> +<td class="parameter_description"><p>location to store error, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-address-new.returns"></a><h4>Returns</h4> +<p>the new <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> object, 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="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-address-new-binary"></a><h3>nm_ip_address_new_binary ()</h3> +<pre class="programlisting"><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="returnvalue">NMIPAddress</span></a> * +nm_ip_address_new_binary (<em class="parameter"><code><span class="type">int</span> family</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> addr</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> prefix</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> +<p>Creates a new <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> object. <em class="parameter"><code>addr</code></em> + must point to a buffer of the +correct size for <em class="parameter"><code>family</code></em> +.</p> +<div class="refsect3"> +<a name="nm-ip-address-new-binary.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>family</p></td> +<td class="parameter_description"><p>the IP address family (<code class="literal">AF_INET</code> or +<code class="literal">AF_INET6</code>)</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>addr</p></td> +<td class="parameter_description"><p>the IP address</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>prefix</p></td> +<td class="parameter_description"><p>the address prefix length</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>error</p></td> +<td class="parameter_description"><p>location to store error, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-address-new-binary.returns"></a><h4>Returns</h4> +<p>the new <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> object, 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="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-address-ref"></a><h3>nm_ip_address_ref ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_address_ref (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *address</code></em>);</pre> +<p>Increases the reference count of the object.</p> +<div class="refsect3"> +<a name="nm-ip-address-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>address</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-address-unref"></a><h3>nm_ip_address_unref ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_address_unref (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *address</code></em>);</pre> +<p>Decreases the reference count of the object. If the reference count +reaches zero, the object will be destroyed.</p> +<div class="refsect3"> +<a name="nm-ip-address-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>address</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-address-equal"></a><h3>nm_ip_address_equal ()</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_address_equal (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *address</code></em>, + <em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *other</code></em>);</pre> +<p>Determines if two <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> objects contain the same address and prefix +(attributes are not compared).</p> +<div class="refsect3"> +<a name="nm-ip-address-equal.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>address</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>other</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> to compare <em class="parameter"><code>address</code></em> +to.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-address-equal.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 objects contain the same values, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if they do not.</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-address-cmp-full"></a><h3>nm_ip_address_cmp_full ()</h3> +<pre class="programlisting"><span class="returnvalue">int</span> +nm_ip_address_cmp_full (<em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *a</code></em>, + <em class="parameter"><code>const <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *b</code></em>, + <em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddressCmpFlags" title="enum NMIPAddressCmpFlags"><span class="type">NMIPAddressCmpFlags</span></a> cmp_flags</code></em>);</pre> +<p>Note that with <em class="parameter"><code>cmp_flags</code></em> + <a class="link" href="NMSettingIPConfig.html#NM-IP-ADDRESS-CMP-FLAGS-WITH-ATTRS:CAPS"><span class="type">NM_IP_ADDRESS_CMP_FLAGS_WITH_ATTRS</span></a>, there +is no total order for comparing GVariant. That means, if the two addresses +only differ by their attributes, the sort order is undefined and the return +value only indicates equality.</p> +<div class="refsect3"> +<a name="nm-ip-address-cmp-full.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>a</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>b</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> to compare <em class="parameter"><code>address</code></em> +to.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>cmp_flags</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPAddressCmpFlags" title="enum NMIPAddressCmpFlags"><span class="type">NMIPAddressCmpFlags</span></a> that indicate what to compare.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-address-cmp-full.returns"></a><h4>Returns</h4> +<p> 0 if the two objects have the same values (according to their flags) +or a integer indicating the compare order.</p> +</div> +<p class="since">Since: 1.22</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-address-dup"></a><h3>nm_ip_address_dup ()</h3> +<pre class="programlisting"><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="returnvalue">NMIPAddress</span></a> * +nm_ip_address_dup (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *address</code></em>);</pre> +<p>Creates a copy of <em class="parameter"><code>address</code></em> +</p> +<div class="refsect3"> +<a name="nm-ip-address-dup.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>address</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-address-dup.returns"></a><h4>Returns</h4> +<p>a copy of <em class="parameter"><code>address</code></em> +</p> +<p>This API was part of public headers before 1.32.0 but +was erroneously not exported in the ABI. It is thus only +usable since 1.32.0. </p> +<p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p> +</div> +<p class="since">Since: 1.32</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-address-get-family"></a><h3>nm_ip_address_get_family ()</h3> +<pre class="programlisting"><span class="returnvalue">int</span> +nm_ip_address_get_family (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *address</code></em>);</pre> +<p>Gets the IP address family (eg, AF_INET) property of this address +object.</p> +<div class="refsect3"> +<a name="nm-ip-address-get-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>address</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-address-get-family.returns"></a><h4>Returns</h4> +<p> the IP address family</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-address-get-address"></a><h3>nm_ip_address_get_address ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * +nm_ip_address_get_address (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *address</code></em>);</pre> +<p>Gets the IP address property of this address object.</p> +<div class="refsect3"> +<a name="nm-ip-address-get-address.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>address</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-address-get-address.returns"></a><h4>Returns</h4> +<p> the IP address</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-address-set-address"></a><h3>nm_ip_address_set_address ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_address_set_address (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *address</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *addr</code></em>);</pre> +<p>Sets the IP address property of this address object.</p> +<p><em class="parameter"><code>addr</code></em> + must be a valid address of <em class="parameter"><code>address</code></em> +'s family. If you aren't sure you +have a valid address, use <a class="link" href="libnm-nm-utils.html#nm-utils-ipaddr-valid" title="nm_utils_ipaddr_valid ()"><code class="function">nm_utils_ipaddr_valid()</code></a> to check it.</p> +<div class="refsect3"> +<a name="nm-ip-address-set-address.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>address</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>addr</p></td> +<td class="parameter_description"><p>the IP address, as a string</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-address-get-address-binary"></a><h3>nm_ip_address_get_address_binary ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_address_get_address_binary (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *address</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> addr</code></em>);</pre> +<p>Gets the IP address property of this address object.</p> +<p><em class="parameter"><code>addr</code></em> + must point to a buffer that is the correct size for <em class="parameter"><code>address</code></em> +'s family.</p> +<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> +<div class="refsect3"> +<a name="nm-ip-address-get-address-binary.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>address</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>addr</p></td> +<td class="parameter_description"><p>a buffer in which to store the address in binary format.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-address-set-address-binary"></a><h3>nm_ip_address_set_address_binary ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_address_set_address_binary (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *address</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> addr</code></em>);</pre> +<p>Sets the IP address property of this address object.</p> +<p><em class="parameter"><code>addr</code></em> + must point to a buffer that is the correct size for <em class="parameter"><code>address</code></em> +'s family.</p> +<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> +<div class="refsect3"> +<a name="nm-ip-address-set-address-binary.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>address</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>addr</p></td> +<td class="parameter_description"><p>the address, in binary format</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-address-get-prefix"></a><h3>nm_ip_address_get_prefix ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> +nm_ip_address_get_prefix (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *address</code></em>);</pre> +<p>Gets the IP address prefix (ie "24" or "30" etc) property of this address +object.</p> +<div class="refsect3"> +<a name="nm-ip-address-get-prefix.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>address</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-address-get-prefix.returns"></a><h4>Returns</h4> +<p> the IP address prefix</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-address-set-prefix"></a><h3>nm_ip_address_set_prefix ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_address_set_prefix (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *address</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> prefix</code></em>);</pre> +<p>Sets the IP address prefix property of this address object.</p> +<div class="refsect3"> +<a name="nm-ip-address-set-prefix.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>address</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>prefix</p></td> +<td class="parameter_description"><p>the IP address prefix</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-address-get-attribute-names"></a><h3>nm_ip_address_get_attribute_names ()</h3> +<pre class="programlisting"><span class="returnvalue">char</span> ** +nm_ip_address_get_attribute_names (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *address</code></em>);</pre> +<p>Gets an array of attribute names defined on <em class="parameter"><code>address</code></em> +.</p> +<div class="refsect3"> +<a name="nm-ip-address-get-attribute-names.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>address</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-address-get-attribute-names.returns"></a><h4>Returns</h4> +<p>a <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of attribute names,. </p> +<p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-address-get-attribute"></a><h3>nm_ip_address_get_attribute ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * +nm_ip_address_get_attribute (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *address</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre> +<p>Gets the value of the attribute with name <em class="parameter"><code>name</code></em> + on <em class="parameter"><code>address</code></em> +</p> +<div class="refsect3"> +<a name="nm-ip-address-get-attribute.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>address</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>name</p></td> +<td class="parameter_description"><p>the name of an address attribute</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-address-get-attribute.returns"></a><h4>Returns</h4> +<p>the value of the attribute with name <em class="parameter"><code>name</code></em> +on +<em class="parameter"><code>address</code></em> +, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>address</code></em> +has no such attribute. </p> +<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-address-set-attribute"></a><h3>nm_ip_address_set_attribute ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_address_set_attribute (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *address</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *name</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre> +<p>Sets or clears the named attribute on <em class="parameter"><code>address</code></em> + to the given value.</p> +<div class="refsect3"> +<a name="nm-ip-address-set-attribute.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>address</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>name</p></td> +<td class="parameter_description"><p>the name of an address attribute</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>value</p></td> +<td class="parameter_description"><p>the value. </p></td> +<td class="parameter_annotations"><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>][<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> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-new"></a><h3>nm_ip_route_new ()</h3> +<pre class="programlisting"><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="returnvalue">NMIPRoute</span></a> * +nm_ip_route_new (<em class="parameter"><code><span class="type">int</span> family</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *dest</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> prefix</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *next_hop</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> metric</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> +<p>Creates a new <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> object.</p> +<div class="refsect3"> +<a name="nm-ip-route-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>family</p></td> +<td class="parameter_description"><p>the IP address family (<code class="literal">AF_INET</code> or +<code class="literal">AF_INET6</code>)</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest</p></td> +<td class="parameter_description"><p>the IP address of the route's destination</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>prefix</p></td> +<td class="parameter_description"><p>the address prefix length</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>next_hop</p></td> +<td class="parameter_description"><p>the IP address of the next hop (or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). </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>metric</p></td> +<td class="parameter_description"><p>the route metric (or -1 for "default")</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>error</p></td> +<td class="parameter_description"><p>location to store error, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-route-new.returns"></a><h4>Returns</h4> +<p>the new <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> object, 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="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-new-binary"></a><h3>nm_ip_route_new_binary ()</h3> +<pre class="programlisting"><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="returnvalue">NMIPRoute</span></a> * +nm_ip_route_new_binary (<em class="parameter"><code><span class="type">int</span> family</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> dest</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> prefix</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> next_hop</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> metric</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> +<p>Creates a new <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> object. <em class="parameter"><code>dest</code></em> + and <em class="parameter"><code>next_hop</code></em> + (if non-<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>) must +point to buffers of the correct size for <em class="parameter"><code>family</code></em> +.</p> +<div class="refsect3"> +<a name="nm-ip-route-new-binary.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>family</p></td> +<td class="parameter_description"><p>the IP address family (<code class="literal">AF_INET</code> or +<code class="literal">AF_INET6</code>)</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest</p></td> +<td class="parameter_description"><p>the IP address of the route's destination</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>prefix</p></td> +<td class="parameter_description"><p>the address prefix length</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>next_hop</p></td> +<td class="parameter_description"><p>the IP address of the next hop (or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). </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>metric</p></td> +<td class="parameter_description"><p>the route metric (or -1 for "default")</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>error</p></td> +<td class="parameter_description"><p>location to store error, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-route-new-binary.returns"></a><h4>Returns</h4> +<p>the new <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> object, 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="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-ref"></a><h3>nm_ip_route_ref ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_route_ref (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>);</pre> +<p>Increases the reference count of the object.</p> +<div class="refsect3"> +<a name="nm-ip-route-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>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-unref"></a><h3>nm_ip_route_unref ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_route_unref (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>);</pre> +<p>Decreases the reference count of the object. If the reference count +reaches zero, the object will be destroyed.</p> +<div class="refsect3"> +<a name="nm-ip-route-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>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-equal"></a><h3>nm_ip_route_equal ()</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_route_equal (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>, + <em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *other</code></em>);</pre> +<p>Determines if two <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> objects contain the same destination, prefix, +next hop, and metric. (Attributes are not compared.)</p> +<div class="refsect3"> +<a name="nm-ip-route-equal.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>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>other</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> to compare <em class="parameter"><code>route</code></em> +to.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-route-equal.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 objects contain the same values, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if they do not.</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-equal-full"></a><h3>nm_ip_route_equal_full ()</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_route_equal_full (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>, + <em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *other</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> cmp_flags</code></em>);</pre> +<p>Determines if two <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> objects contain the same destination, prefix, +next hop, and metric.</p> +<div class="refsect3"> +<a name="nm-ip-route-equal-full.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>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>other</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> to compare <em class="parameter"><code>route</code></em> +to.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>cmp_flags</p></td> +<td class="parameter_description"><p>tune how to compare attributes. Currently, only +NM_IP_ROUTE_EQUAL_CMP_FLAGS_NONE (0) and NM_IP_ROUTE_EQUAL_CMP_FLAGS_WITH_ATTRS (1) +is supported.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-route-equal-full.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 objects contain the same values, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if they do not.</p> +</div> +<p class="since">Since: 1.10</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-dup"></a><h3>nm_ip_route_dup ()</h3> +<pre class="programlisting"><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="returnvalue">NMIPRoute</span></a> * +nm_ip_route_dup (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>);</pre> +<p>Creates a copy of <em class="parameter"><code>route</code></em> +</p> +<div class="refsect3"> +<a name="nm-ip-route-dup.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>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-route-dup.returns"></a><h4>Returns</h4> +<p>a copy of <em class="parameter"><code>route</code></em> +</p> +<p>This API was part of public headers before 1.32.0 but +was erroneously not exported in the ABI. It is thus only +usable since 1.32.0. </p> +<p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p> +</div> +<p class="since">Since: 1.32</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-get-family"></a><h3>nm_ip_route_get_family ()</h3> +<pre class="programlisting"><span class="returnvalue">int</span> +nm_ip_route_get_family (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>);</pre> +<p>Gets the IP address family (eg, AF_INET) property of this route +object.</p> +<div class="refsect3"> +<a name="nm-ip-route-get-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>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-route-get-family.returns"></a><h4>Returns</h4> +<p> the IP address family</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-get-dest"></a><h3>nm_ip_route_get_dest ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * +nm_ip_route_get_dest (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>);</pre> +<p>Gets the IP destination address property of this route object.</p> +<div class="refsect3"> +<a name="nm-ip-route-get-dest.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>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-route-get-dest.returns"></a><h4>Returns</h4> +<p> the IP address of the route's destination</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-set-dest"></a><h3>nm_ip_route_set_dest ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_route_set_dest (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *dest</code></em>);</pre> +<p>Sets the destination property of this route object.</p> +<p><em class="parameter"><code>dest</code></em> + must be a valid address of <em class="parameter"><code>route</code></em> +'s family. If you aren't sure you +have a valid address, use <code class="function">nm_inet_is_valid()</code> to check it.</p> +<div class="refsect3"> +<a name="nm-ip-route-set-dest.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<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>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest</p></td> +<td class="parameter_description"><p>the route's destination, as a string</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-get-dest-binary"></a><h3>nm_ip_route_get_dest_binary ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_route_get_dest_binary (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dest</code></em>);</pre> +<p>Gets the destination property of this route object.</p> +<p><em class="parameter"><code>dest</code></em> + must point to a buffer that is the correct size for <em class="parameter"><code>route</code></em> +'s family.</p> +<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> +<div class="refsect3"> +<a name="nm-ip-route-get-dest-binary.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>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest</p></td> +<td class="parameter_description"><p>a buffer in which to store the destination in binary format.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-set-dest-binary"></a><h3>nm_ip_route_set_dest_binary ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_route_set_dest_binary (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> dest</code></em>);</pre> +<p>Sets the destination property of this route object.</p> +<p><em class="parameter"><code>dest</code></em> + must point to a buffer that is the correct size for <em class="parameter"><code>route</code></em> +'s family.</p> +<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> +<div class="refsect3"> +<a name="nm-ip-route-set-dest-binary.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>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest</p></td> +<td class="parameter_description"><p>the route's destination, in binary format</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-get-prefix"></a><h3>nm_ip_route_get_prefix ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> +nm_ip_route_get_prefix (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>);</pre> +<p>Gets the IP prefix (ie "24" or "30" etc) of this route.</p> +<div class="refsect3"> +<a name="nm-ip-route-get-prefix.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>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-route-get-prefix.returns"></a><h4>Returns</h4> +<p> the IP prefix</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-set-prefix"></a><h3>nm_ip_route_set_prefix ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_route_set_prefix (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</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> prefix</code></em>);</pre> +<p>Sets the prefix property of this route object.</p> +<div class="refsect3"> +<a name="nm-ip-route-set-prefix.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>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>prefix</p></td> +<td class="parameter_description"><p>the route prefix</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-get-next-hop"></a><h3>nm_ip_route_get_next_hop ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * +nm_ip_route_get_next_hop (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>);</pre> +<p>Gets the IP address of the next hop of this route; this will be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the +route has no next hop.</p> +<div class="refsect3"> +<a name="nm-ip-route-get-next-hop.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>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-route-get-next-hop.returns"></a><h4>Returns</h4> +<p> the IP address of the next hop, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if this is a device route.</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-set-next-hop"></a><h3>nm_ip_route_set_next_hop ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_route_set_next_hop (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *next_hop</code></em>);</pre> +<p>Sets the next-hop property of this route object.</p> +<p><em class="parameter"><code>next_hop</code></em> + (if non-<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>) must be a valid address of <em class="parameter"><code>route</code></em> +'s family. If you +aren't sure you have a valid address, use <a class="link" href="libnm-nm-utils.html#nm-utils-ipaddr-valid" title="nm_utils_ipaddr_valid ()"><code class="function">nm_utils_ipaddr_valid()</code></a> to check +it.</p> +<div class="refsect3"> +<a name="nm-ip-route-set-next-hop.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>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>next_hop</p></td> +<td class="parameter_description"><p>the route's next hop, as a string. </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> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-get-next-hop-binary"></a><h3>nm_ip_route_get_next_hop_binary ()</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_route_get_next_hop_binary (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> next_hop</code></em>);</pre> +<p>Gets the next hop property of this route object.</p> +<p><em class="parameter"><code>next_hop</code></em> + must point to a buffer that is the correct size for <em class="parameter"><code>route</code></em> +'s family.</p> +<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> +<div class="refsect3"> +<a name="nm-ip-route-get-next-hop-binary.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>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>next_hop</p></td> +<td class="parameter_description"><p>a buffer in which to store the next hop in binary format.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-route-get-next-hop-binary.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 <em class="parameter"><code>route</code></em> +has a next hop, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not (in which case +<em class="parameter"><code>next_hop</code></em> +will be zeroed out)</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-set-next-hop-binary"></a><h3>nm_ip_route_set_next_hop_binary ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_route_set_next_hop_binary (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> next_hop</code></em>);</pre> +<p>Sets the destination property of this route object.</p> +<p><em class="parameter"><code>next_hop</code></em> + (if non-<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>) must point to a buffer that is the correct size for +<em class="parameter"><code>route</code></em> +'s family.</p> +<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> +<div class="refsect3"> +<a name="nm-ip-route-set-next-hop-binary.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>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>next_hop</p></td> +<td class="parameter_description"><p>the route's next hop, in binary format</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-get-metric"></a><h3>nm_ip_route_get_metric ()</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_route_get_metric (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>);</pre> +<p>Gets the route metric property of this route object; lower values +indicate "better" or more preferred routes; -1 indicates "default" +(meaning NetworkManager will set it appropriately).</p> +<div class="refsect3"> +<a name="nm-ip-route-get-metric.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>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-route-get-metric.returns"></a><h4>Returns</h4> +<p> the route metric</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-set-metric"></a><h3>nm_ip_route_set_metric ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_route_set_metric (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</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> metric</code></em>);</pre> +<p>Sets the metric property of this route object.</p> +<div class="refsect3"> +<a name="nm-ip-route-set-metric.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>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>metric</p></td> +<td class="parameter_description"><p>the route metric (or -1 for "default")</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-get-attribute-names"></a><h3>nm_ip_route_get_attribute_names ()</h3> +<pre class="programlisting"><span class="returnvalue">char</span> ** +nm_ip_route_get_attribute_names (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>);</pre> +<p>Gets an array of attribute names defined on <em class="parameter"><code>route</code></em> +.</p> +<div class="refsect3"> +<a name="nm-ip-route-get-attribute-names.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>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-route-get-attribute-names.returns"></a><h4>Returns</h4> +<p>a <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of attribute names. </p> +<p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-get-attribute"></a><h3>nm_ip_route_get_attribute ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * +nm_ip_route_get_attribute (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre> +<p>Gets the value of the attribute with name <em class="parameter"><code>name</code></em> + on <em class="parameter"><code>route</code></em> +</p> +<div class="refsect3"> +<a name="nm-ip-route-get-attribute.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>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>name</p></td> +<td class="parameter_description"><p>the name of an route attribute</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-route-get-attribute.returns"></a><h4>Returns</h4> +<p>the value of the attribute with name <em class="parameter"><code>name</code></em> +on +<em class="parameter"><code>route</code></em> +, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>route</code></em> +has no such attribute. </p> +<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-set-attribute"></a><h3>nm_ip_route_set_attribute ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_route_set_attribute (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *name</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre> +<p>Sets the named attribute on <em class="parameter"><code>route</code></em> + to the given value.</p> +<div class="refsect3"> +<a name="nm-ip-route-set-attribute.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>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>name</p></td> +<td class="parameter_description"><p>the name of a route attribute</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>value</p></td> +<td class="parameter_description"><p>the value. </p></td> +<td class="parameter_annotations"><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>][<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> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-get-variant-attribute-spec"></a><h3>nm_ip_route_get_variant_attribute_spec ()</h3> +<pre class="programlisting">const <a class="link" href="libnm-nm-utils.html#NMVariantAttributeSpec" title="NMVariantAttributeSpec"><span class="returnvalue">NMVariantAttributeSpec</span></a> *const * +nm_ip_route_get_variant_attribute_spec + (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-route-get-variant-attribute-spec.returns"></a><h4>Returns</h4> +<p> the specifiers for route attributes</p> +</div> +<p class="since">Since: 1.8</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-attribute-validate"></a><h3>nm_ip_route_attribute_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_route_attribute_validate (<em class="parameter"><code>const <span class="type">char</span> *name</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *value</code></em>, + <em class="parameter"><code><span class="type">int</span> family</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> *known</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> +<p>Validates a route attribute, i.e. checks that the attribute is a known one +and the value is of the correct type and well-formed.</p> +<div class="refsect3"> +<a name="nm-ip-route-attribute-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>name</p></td> +<td class="parameter_description"><p>the attribute name</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>value</p></td> +<td class="parameter_description"><p>the attribute value</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>family</p></td> +<td class="parameter_description"><p>IP address family of the route</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>known</p></td> +<td class="parameter_description"><p>on return, whether the attribute name is a known one. </p></td> +<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td> +</tr> +<tr> +<td class="parameter_name"><p>error</p></td> +<td class="parameter_description"><p>return location for a <a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </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-route-attribute-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 attribute is valid, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p> +</div> +<p class="since">Since: 1.8</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="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p> +</div> +<p class="since">Since: 1.18</p> +</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> +<p>Since 1.42, ref-counting of <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> is thread-safe.</p> +<div class="refsect3"> +<a name="nm-ip-routing-rule-new-clone.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<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 unsealed. </p> +<p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p> +</div> +<p class="since">Since: 1.18</p> +</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.</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>Since 1.42, ref-counting of <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> is thread-safe. </p> +<p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p> +</div> +<p class="since">Since: 1.18</p> +</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.</p> +<p>Since 1.42, ref-counting of <a class="link" href="NMSettingIPConfig.html#NMIPRoutingRule"><span class="type">NMIPRoutingRule</span></a> is thread-safe.</p> +<div class="refsect3"> +<a name="nm-ip-routing-rule-unref.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<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 +modified, 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="The data is owned by the callee, which is responsible of freeing it."><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="The data is owned by the callee, which is responsible of freeing it."><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="The data is owned by the callee, which is responsible of freeing it."><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 backslashes.</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="The data is owned by the callee, which is responsible of freeing it."><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 backslashes.</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-get-suppress-prefixlength"></a><h3>nm_ip_routing_rule_get_suppress_prefixlength ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> +nm_ip_routing_rule_get_suppress_prefixlength + (<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-suppress-prefixlength.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-suppress-prefixlength.returns"></a><h4>Returns</h4> +<p> the suppress_prefixlength of the rule. -1 means that the value is unset.</p> +</div> +<p class="since">Since: 1.20</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-set-suppress-prefixlength"></a><h3>nm_ip_routing_rule_set_suppress_prefixlength ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_routing_rule_set_suppress_prefixlength + (<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#gint32"><span class="type">gint32</span></a> suppress_prefixlength</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-set-suppress-prefixlength.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>suppress_prefixlength</p></td> +<td class="parameter_description"><p>the suppress_prefixlength to set. The value -1 means +unset.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.20</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-get-uid-range"></a><h3>nm_ip_routing_rule_get_uid_range ()</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_uid_range (<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-Basic-Types.html#guint32"><span class="type">guint32</span></a> *out_range_start</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> *out_range_end</code></em>);</pre> +<div class="refsect3"> +<a name="nm-ip-routing-rule-get-uid-range.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>out_range_start</p></td> +<td class="parameter_description"><p>returns the start of the range +or 0 if the range is not set. </p></td> +<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<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>out_range_end</p></td> +<td class="parameter_description"><p>returns the end of the range +or 0 if the range is not set. </p></td> +<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<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-get-uid-range.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 a uid range is set.</p> +<p>This API was wrongly introduced in the header files for 1.32, but the +symbols were not exported. The API only works since 1.34 and newer.</p> +</div> +<p class="since">Since: 1.34</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-routing-rule-set-uid-range"></a><h3>nm_ip_routing_rule_set_uid_range ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_ip_routing_rule_set_uid_range (<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> uid_range_start</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> uid_range_end</code></em>);</pre> +<p>For a valid range, start must be less or equal to end. +If set to an invalid range, the range gets unset.</p> +<p>This API was wrongly introduced in the header files for 1.32, but the +symbols were not exported. The API only works since 1.34 and newer.</p> +<div class="refsect3"> +<a name="nm-ip-routing-rule-set-uid-range.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>uid_range_start</p></td> +<td class="parameter_description"><p>the uid_range start to set.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>uid_range_end</p></td> +<td class="parameter_description"><p>the uid_range start to set.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.34</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="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p> +</div> +<p class="since">Since: 1.18</p> +</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="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p> +</div> +<p class="since">Since: 1.18</p> +</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> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-method.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-method.returns"></a><h4>Returns</h4> +<p> the <span class="type">“method”</span> property of the setting; see +<a class="link" href="NMSettingIP4Config.html" title="NMSettingIP4Config"><span class="type">NMSettingIP4Config</span></a> and <a class="link" href="NMSettingIP6Config.html" title="NMSettingIP6Config"><span class="type">NMSettingIP6Config</span></a> for details of the +methods available with each type.</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-num-dns"></a><h3>nm_setting_ip_config_get_num_dns ()</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_dns (<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-dns.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-dns.returns"></a><h4>Returns</h4> +<p> the number of configured DNS servers</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-dns"></a><h3>nm_setting_ip_config_get_dns ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * +nm_setting_ip_config_get_dns (<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><span class="type">int</span> idx</code></em>);</pre> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-dns.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 DNS server to return</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-dns.returns"></a><h4>Returns</h4> +<p> the IP address of the DNS server at index <em class="parameter"><code>idx</code></em> +</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-add-dns"></a><h3>nm_setting_ip_config_add_dns ()</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_add_dns (<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>const <span class="type">char</span> *dns</code></em>);</pre> +<p>Adds a new DNS server to the setting.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-add-dns.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>dns</p></td> +<td class="parameter_description"><p>the IP address of the DNS server to add</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ip-config-add-dns.returns"></a><h4>Returns</h4> +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the DNS server was added; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the server was already +known</p> +<p>Before 1.42, setting <em class="parameter"><code>dns</code></em> +to an invalid string was treated as user-error. +Now, also invalid DNS values can be set, but will be rejected later during +<a class="link" href="NMConnection.html#nm-connection-verify" title="nm_connection_verify ()"><code class="function">nm_connection_verify()</code></a>.</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-remove-dns"></a><h3>nm_setting_ip_config_remove_dns ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_setting_ip_config_remove_dns (<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><span class="type">int</span> idx</code></em>);</pre> +<p>Removes the DNS server at index <em class="parameter"><code>idx</code></em> +.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-remove-dns.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 DNS server to remove</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-remove-dns-by-value"></a><h3>nm_setting_ip_config_remove_dns_by_value ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +nm_setting_ip_config_remove_dns_by_value + (<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>const <span class="type">char</span> *dns</code></em>);</pre> +<p>Removes the DNS server <em class="parameter"><code>dns</code></em> +.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-remove-dns-by-value.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>setting</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dns</p></td> +<td class="parameter_description"><p>the DNS server to remove</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ip-config-remove-dns-by-value.returns"></a><h4>Returns</h4> +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the DNS server was found and removed; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it was not.</p> +<p>Before 1.42, setting <em class="parameter"><code>dns</code></em> +to an invalid string was treated as user-error.</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-clear-dns"></a><h3>nm_setting_ip_config_clear_dns ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_setting_ip_config_clear_dns (<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 DNS servers.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-clear-dns.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> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-num-dns-searches"></a><h3>nm_setting_ip_config_get_num_dns_searches ()</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_dns_searches + (<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-dns-searches.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-dns-searches.returns"></a><h4>Returns</h4> +<p> the number of configured DNS search domains</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-dns-search"></a><h3>nm_setting_ip_config_get_dns_search ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * +nm_setting_ip_config_get_dns_search (<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><span class="type">int</span> idx</code></em>);</pre> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-dns-search.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 DNS search domain to return</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-dns-search.returns"></a><h4>Returns</h4> +<p> the DNS search domain at index <em class="parameter"><code>idx</code></em> +</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-add-dns-search"></a><h3>nm_setting_ip_config_add_dns_search ()</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_add_dns_search (<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>const <span class="type">char</span> *dns_search</code></em>);</pre> +<p>Adds a new DNS search domain to the setting.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-add-dns-search.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>dns_search</p></td> +<td class="parameter_description"><p>the search domain to add</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ip-config-add-dns-search.returns"></a><h4>Returns</h4> +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the DNS search domain was added; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the search +domain was already known</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-remove-dns-search"></a><h3>nm_setting_ip_config_remove_dns_search ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_setting_ip_config_remove_dns_search + (<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><span class="type">int</span> idx</code></em>);</pre> +<p>Removes the DNS search domain at index <em class="parameter"><code>idx</code></em> +.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-remove-dns-search.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 DNS search domain</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-remove-dns-search-by-value"></a><h3>nm_setting_ip_config_remove_dns_search_by_value ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +nm_setting_ip_config_remove_dns_search_by_value + (<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>const <span class="type">char</span> *dns_search</code></em>);</pre> +<p>Removes the DNS search domain <em class="parameter"><code>dns_search</code></em> +.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-remove-dns-search-by-value.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>setting</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dns_search</p></td> +<td class="parameter_description"><p>the search domain to remove</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ip-config-remove-dns-search-by-value.returns"></a><h4>Returns</h4> +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the DNS search domain was found and removed; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it was not.</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-clear-dns-searches"></a><h3>nm_setting_ip_config_clear_dns_searches ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_setting_ip_config_clear_dns_searches + (<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 DNS search domains.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-clear-dns-searches.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> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-num-dns-options"></a><h3>nm_setting_ip_config_get_num_dns_options ()</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_dns_options + (<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-dns-options.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-dns-options.returns"></a><h4>Returns</h4> +<p> the number of configured DNS options</p> +</div> +<p class="since">Since: 1.2</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-has-dns-options"></a><h3>nm_setting_ip_config_has_dns_options ()</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_has_dns_options (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> +<p>NMSettingIPConfig can have a list of dns-options. If the list +is empty, there are two similar (but differentiated) states. +Either the options are explicitly set to have no values, +or the options are left undefined. The latter means to use +a default configuration, while the former explicitly means "no-options".</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-has-dns-options.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-has-dns-options.returns"></a><h4>Returns</h4> +<p> whether DNS options are initialized or left unset (the default).</p> +</div> +<p class="since">Since: 1.2</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-dns-option"></a><h3>nm_setting_ip_config_get_dns_option ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * +nm_setting_ip_config_get_dns_option (<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-dns-option.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 DNS option</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-dns-option.returns"></a><h4>Returns</h4> +<p> the DNS option at index <em class="parameter"><code>idx</code></em> +</p> +</div> +<p class="since">Since: 1.2</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-add-dns-option"></a><h3>nm_setting_ip_config_add_dns_option ()</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_add_dns_option (<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>const <span class="type">char</span> *dns_option</code></em>);</pre> +<p>Adds a new DNS option to the setting.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-add-dns-option.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>dns_option</p></td> +<td class="parameter_description"><p>the DNS option to add</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ip-config-add-dns-option.returns"></a><h4>Returns</h4> +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the DNS option was added; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p> +</div> +<p class="since">Since: 1.2</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-remove-dns-option"></a><h3>nm_setting_ip_config_remove_dns_option ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_setting_ip_config_remove_dns_option + (<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><span class="type">int</span> idx</code></em>);</pre> +<p>Removes the DNS option at index <em class="parameter"><code>idx</code></em> +.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-remove-dns-option.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 DNS option</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.2</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-remove-dns-option-by-value"></a><h3>nm_setting_ip_config_remove_dns_option_by_value ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +nm_setting_ip_config_remove_dns_option_by_value + (<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>const <span class="type">char</span> *dns_option</code></em>);</pre> +<p>Removes the DNS option <em class="parameter"><code>dns_option</code></em> +.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-remove-dns-option-by-value.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>setting</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dns_option</p></td> +<td class="parameter_description"><p>the DNS option to remove</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ip-config-remove-dns-option-by-value.returns"></a><h4>Returns</h4> +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the DNS option was found and removed; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it was not.</p> +</div> +<p class="since">Since: 1.2</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-clear-dns-options"></a><h3>nm_setting_ip_config_clear_dns_options ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_setting_ip_config_clear_dns_options + (<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#gboolean"><span class="type">gboolean</span></a> is_set</code></em>);</pre> +<p>Removes all configured DNS options.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-clear-dns-options.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>is_set</p></td> +<td class="parameter_description"><p>the dns-options can be either empty or unset (default). +Specify how to clear the options.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.2</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-dns-priority"></a><h3>nm_setting_ip_config_get_dns_priority ()</h3> +<pre class="programlisting"><span class="returnvalue">int</span> +nm_setting_ip_config_get_dns_priority (<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-dns-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>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-dns-priority.returns"></a><h4>Returns</h4> +<p> the priority of DNS servers</p> +</div> +<p class="since">Since: 1.4</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-num-addresses"></a><h3>nm_setting_ip_config_get_num_addresses ()</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_addresses + (<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-addresses.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-addresses.returns"></a><h4>Returns</h4> +<p> the number of configured addresses</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-address"></a><h3>nm_setting_ip_config_get_address ()</h3> +<pre class="programlisting"><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="returnvalue">NMIPAddress</span></a> * +nm_setting_ip_config_get_address (<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><span class="type">int</span> idx</code></em>);</pre> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-address.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 address to return</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-address.returns"></a><h4>Returns</h4> +<p>the address at index <em class="parameter"><code>idx</code></em> +. </p> +<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-add-address"></a><h3>nm_setting_ip_config_add_address ()</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_add_address (<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#NMIPAddress"><span class="type">NMIPAddress</span></a> *address</code></em>);</pre> +<p>Adds a new IP address and associated information to the setting. The +given address is duplicated internally and is not changed by this function.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-add-address.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>address</p></td> +<td class="parameter_description"><p>the new address to add</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ip-config-add-address.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 address was added; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the address was already +known.</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-remove-address"></a><h3>nm_setting_ip_config_remove_address ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_setting_ip_config_remove_address (<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><span class="type">int</span> idx</code></em>);</pre> +<p>Removes the address at index <em class="parameter"><code>idx</code></em> +.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-remove-address.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 address to remove</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-remove-address-by-value"></a><h3>nm_setting_ip_config_remove_address_by_value ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +nm_setting_ip_config_remove_address_by_value + (<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#NMIPAddress"><span class="type">NMIPAddress</span></a> *address</code></em>);</pre> +<p>Removes the address <em class="parameter"><code>address</code></em> +.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-remove-address-by-value.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>setting</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>address</p></td> +<td class="parameter_description"><p>the IP address to remove</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ip-config-remove-address-by-value.returns"></a><h4>Returns</h4> +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the address was found and removed; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it was not.</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-clear-addresses"></a><h3>nm_setting_ip_config_clear_addresses ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_setting_ip_config_clear_addresses (<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 addresses.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-clear-addresses.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> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-gateway"></a><h3>nm_setting_ip_config_get_gateway ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * +nm_setting_ip_config_get_gateway (<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-gateway.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-gateway.returns"></a><h4>Returns</h4> +<p> the IP address of the gateway associated with this configuration, or +<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-num-routes"></a><h3>nm_setting_ip_config_get_num_routes ()</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_routes (<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-routes.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-routes.returns"></a><h4>Returns</h4> +<p> the number of configured routes</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-route"></a><h3>nm_setting_ip_config_get_route ()</h3> +<pre class="programlisting"><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="returnvalue">NMIPRoute</span></a> * +nm_setting_ip_config_get_route (<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><span class="type">int</span> idx</code></em>);</pre> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-route.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 route to return</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-route.returns"></a><h4>Returns</h4> +<p>the route at index <em class="parameter"><code>idx</code></em> +. </p> +<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-add-route"></a><h3>nm_setting_ip_config_add_route ()</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_add_route (<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#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>);</pre> +<p>Appends a new route and associated information to the setting. The +given route is duplicated internally and is not changed by this function. +If an identical route (considering attributes as well) already exists, the +route is not added and the function returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p> +<p>Note that before 1.10, this function would not consider route attributes +and not add a route that has an existing route with same dest/prefix,next_hop,metric +parameters.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-add-route.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>route</p></td> +<td class="parameter_description"><p>the route to add</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ip-config-add-route.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 route was added; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the route was already known.</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-remove-route"></a><h3>nm_setting_ip_config_remove_route ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_setting_ip_config_remove_route (<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><span class="type">int</span> idx</code></em>);</pre> +<p>Removes the route at index <em class="parameter"><code>idx</code></em> +.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-remove-route.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 route</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-remove-route-by-value"></a><h3>nm_setting_ip_config_remove_route_by_value ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +nm_setting_ip_config_remove_route_by_value + (<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#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>);</pre> +<p>Removes the first matching route that matches <em class="parameter"><code>route</code></em> +. +Note that before 1.10, this function would only compare dest/prefix,next_hop,metric +and ignore route attributes. Now, <em class="parameter"><code>route</code></em> + must match exactly.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-remove-route-by-value.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>setting</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>route</p></td> +<td class="parameter_description"><p>the route to remove</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ip-config-remove-route-by-value.returns"></a><h4>Returns</h4> +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the route was found and removed; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it was not.</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-clear-routes"></a><h3>nm_setting_ip_config_clear_routes ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_setting_ip_config_clear_routes (<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 routes.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-clear-routes.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> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-route-metric"></a><h3>nm_setting_ip_config_get_route_metric ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a> +nm_setting_ip_config_get_route_metric (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> +<p>Returns the value contained in the <span class="type">“route-metric”</span> +property.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-route-metric.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-route-metric.returns"></a><h4>Returns</h4> +<p> the route metric that is used for routes that don't explicitly +specify a metric. See <span class="type">“route-metric”</span> for more details.</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-route-table"></a><h3>nm_setting_ip_config_get_route_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_setting_ip_config_get_route_table (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> +<p>Returns the value contained in the <span class="type">“route-table”</span> +property.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-route-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>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-route-table.returns"></a><h4>Returns</h4> +<p> the configured route-table.</p> +</div> +<p class="since">Since: 1.10</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="The data is owned by the callee, which is responsible of freeing it."><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 + (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> +<p>Returns the value contained in the <span class="type">“ignore-auto-routes”</span> +property.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-ignore-auto-routes.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-ignore-auto-routes.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 automatically configured (ie via DHCP) routes should be +ignored.</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-ignore-auto-dns"></a><h3>nm_setting_ip_config_get_ignore_auto_dns ()</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_dns + (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> +<p>Returns the value contained in the <span class="type">“ignore-auto-dns”</span> +property.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-ignore-auto-dns.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-ignore-auto-dns.returns"></a><h4>Returns</h4> +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if automatically configured (ie via DHCP) DNS information +should be ignored.</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-dhcp-hostname"></a><h3>nm_setting_ip_config_get_dhcp_hostname ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * +nm_setting_ip_config_get_dhcp_hostname + (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> +<p>Returns the value contained in the <span class="type">“dhcp-hostname”</span> +property.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-dhcp-hostname.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-dhcp-hostname.returns"></a><h4>Returns</h4> +<p> the configured hostname to send to the DHCP server</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-dhcp-send-hostname"></a><h3>nm_setting_ip_config_get_dhcp_send_hostname ()</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_dhcp_send_hostname + (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> +<p>Returns the value contained in the <span class="type">“dhcp-send-hostname”</span> +property.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-dhcp-send-hostname.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-dhcp-send-hostname.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 NetworkManager should send the machine hostname to the +DHCP server when requesting addresses to allow the server to automatically +update DNS information for this machine.</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-never-default"></a><h3>nm_setting_ip_config_get_never_default ()</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_never_default + (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> +<p>Returns the value contained in the <span class="type">“never-default”</span> +property.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-never-default.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-never-default.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 this connection should never be the default +connection</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-may-fail"></a><h3>nm_setting_ip_config_get_may_fail ()</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_may_fail (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> +<p>Returns the value contained in the <span class="type">“may-fail”</span> +property.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-may-fail.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-may-fail.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 this connection doesn't require this type of IP +addressing to complete for the connection to succeed.</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-dad-timeout"></a><h3>nm_setting_ip_config_get_dad_timeout ()</h3> +<pre class="programlisting"><span class="returnvalue">int</span> +nm_setting_ip_config_get_dad_timeout (<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-dad-timeout.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-dad-timeout.returns"></a><h4>Returns</h4> +<p> the <span class="type">“dad-timeout”</span> property.</p> +</div> +<p class="since">Since: 1.2</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-dhcp-timeout"></a><h3>nm_setting_ip_config_get_dhcp_timeout ()</h3> +<pre class="programlisting"><span class="returnvalue">int</span> +nm_setting_ip_config_get_dhcp_timeout (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> +<p>Returns the value contained in the <span class="type">“dhcp-timeout”</span> +property.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-dhcp-timeout.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-dhcp-timeout.returns"></a><h4>Returns</h4> +<p> the configured DHCP timeout in seconds. 0 = default for +the particular kind of device.</p> +</div> +<p class="since">Since: 1.2</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-required-timeout"></a><h3>nm_setting_ip_config_get_required_timeout ()</h3> +<pre class="programlisting"><span class="returnvalue">int</span> +nm_setting_ip_config_get_required_timeout + (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> +<p>Returns the value contained in the <span class="type">“required-timeout”</span> +property.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-required-timeout.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-required-timeout.returns"></a><h4>Returns</h4> +<p> the required timeout for the address family</p> +</div> +<p class="since">Since: 1.34</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-dhcp-iaid"></a><h3>nm_setting_ip_config_get_dhcp_iaid ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * +nm_setting_ip_config_get_dhcp_iaid (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> +<p>Returns the value contained in the <span class="type">“dhcp-iaid”</span> +property.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-dhcp-iaid.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-dhcp-iaid.returns"></a><h4>Returns</h4> +<p> the configured DHCP IAID (Identity Association Identifier)</p> +</div> +<p class="since">Since: 1.42</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-dhcp-hostname-flags"></a><h3>nm_setting_ip_config_get_dhcp_hostname_flags ()</h3> +<pre class="programlisting"><a class="link" href="NMSettingIPConfig.html#NMDhcpHostnameFlags" title="enum NMDhcpHostnameFlags"><span class="returnvalue">NMDhcpHostnameFlags</span></a> +nm_setting_ip_config_get_dhcp_hostname_flags + (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> +<p>Returns the value contained in the <span class="type">“dhcp-hostname-flags”</span> +property.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-dhcp-hostname-flags.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-dhcp-hostname-flags.returns"></a><h4>Returns</h4> +<p> flags for the DHCP hostname and FQDN</p> +</div> +<p class="since">Since: 1.22</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-dhcp-reject-servers"></a><h3>nm_setting_ip_config_get_dhcp_reject_servers ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> *const * +nm_setting_ip_config_get_dhcp_reject_servers + (<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> *out_len</code></em>);</pre> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-dhcp-reject-servers.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>out_len</p></td> +<td class="parameter_description"><p>the number of returned elements. </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-setting-ip-config-get-dhcp-reject-servers.returns"></a><h4>Returns</h4> +<p>A <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> terminated array of DHCP reject servers. Even if no reject +servers are configured, this always returns a non <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> value. </p> +<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=out_len zero-terminated=1][<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p> +</div> +<p class="since">Since: 1.28</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-add-dhcp-reject-server"></a><h3>nm_setting_ip_config_add_dhcp_reject_server ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_setting_ip_config_add_dhcp_reject_server + (<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>const <span class="type">char</span> *server</code></em>);</pre> +<p>Adds a new DHCP reject server to the setting.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-add-dhcp-reject-server.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>server</p></td> +<td class="parameter_description"><p>the DHCP reject server to add</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.28</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-remove-dhcp-reject-server"></a><h3>nm_setting_ip_config_remove_dhcp_reject_server ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_setting_ip_config_remove_dhcp_reject_server + (<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 DHCP reject server at index <em class="parameter"><code>idx</code></em> +.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-remove-dhcp-reject-server.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 DHCP reject server</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.28</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-clear-dhcp-reject-servers"></a><h3>nm_setting_ip_config_clear_dhcp_reject_servers ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_setting_ip_config_clear_dhcp_reject_servers + (<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 DHCP reject servers.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-clear-dhcp-reject-servers.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.28</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-auto-route-ext-gw"></a><h3>nm_setting_ip_config_get_auto_route_ext_gw ()</h3> +<pre class="programlisting"><a class="link" href="libnm-nm-dbus-interface.html#NMTernary" title="enum NMTernary"><span class="returnvalue">NMTernary</span></a> +nm_setting_ip_config_get_auto_route_ext_gw + (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-auto-route-ext-gw.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>setting</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-auto-route-ext-gw.returns"></a><h4>Returns</h4> +<p> the <span class="type">“auto-route-ext-gw”</span> property of the setting</p> +</div> +<p class="since">Since: 1.42</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ip-config-get-replace-local-rule"></a><h3>nm_setting_ip_config_get_replace_local_rule ()</h3> +<pre class="programlisting"><a class="link" href="libnm-nm-dbus-interface.html#NMTernary" title="enum NMTernary"><span class="returnvalue">NMTernary</span></a> +nm_setting_ip_config_get_replace_local_rule + (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-replace-local-rule.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>setting</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-replace-local-rule.returns"></a><h4>Returns</h4> +<p> the <span class="type">“replace-local-rule”</span> property of the setting</p> +</div> +<p class="since">Since: 1.44, 1.42.2</p> +</div> +</div> +<div class="refsect1"> +<a name="NMSettingIPConfig.other_details"></a><h2>Types and Values</h2> +<div class="refsect2"> +<a name="NM-IP-ADDRESS-ATTRIBUTE-LABEL:CAPS"></a><h3>NM_IP_ADDRESS_ATTRIBUTE_LABEL</h3> +<pre class="programlisting">#define NM_IP_ADDRESS_ATTRIBUTE_LABEL "label" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NMIPAddressCmpFlags"></a><h3>enum NMIPAddressCmpFlags</h3> +<p>Compare flags for <a class="link" href="NMSettingIPConfig.html#nm-ip-address-cmp-full" title="nm_ip_address_cmp_full ()"><code class="function">nm_ip_address_cmp_full()</code></a>.</p> +<div class="refsect3"> +<a name="NMIPAddressCmpFlags.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-ADDRESS-CMP-FLAGS-NONE:CAPS"></a>NM_IP_ADDRESS_CMP_FLAGS_NONE</p></td> +<td class="enum_member_description"> +<p>no flags.</p> +</td> +<td class="enum_member_annotations"> </td> +</tr> +<tr> +<td class="enum_member_name"><p><a name="NM-IP-ADDRESS-CMP-FLAGS-WITH-ATTRS:CAPS"></a>NM_IP_ADDRESS_CMP_FLAGS_WITH_ATTRS</p></td> +<td class="enum_member_description"> +<p>when comparing two addresses, +also consider their attributes. Warning: note that attributes are GVariants +and they don't have a total order. In other words, if the address differs only +by their attributes, the returned compare order is not total. In that case, +the return value merely indicates equality (zero) or inequality.</p> +</td> +<td class="enum_member_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.22</p> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-ADVMSS:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_ADVMSS</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_ADVMSS "advmss" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-CWND:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_CWND</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_CWND "cwnd" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-FROM:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_FROM</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_FROM "from" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-INITCWND:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_INITCWND</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_INITCWND "initcwnd" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-INITRWND:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_INITRWND</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_INITRWND "initrwnd" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-LOCK-ADVMSS:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_LOCK_ADVMSS</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_LOCK_ADVMSS "lock-advmss" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-LOCK-CWND:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_LOCK_CWND</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_LOCK_CWND "lock-cwnd" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-LOCK-INITCWND:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_LOCK_INITCWND</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_LOCK_INITCWND "lock-initcwnd" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-LOCK-INITRWND:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_LOCK_INITRWND</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_LOCK_INITRWND "lock-initrwnd" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-LOCK-MTU:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_LOCK_MTU</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_LOCK_MTU "lock-mtu" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-LOCK-WINDOW:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_LOCK_WINDOW</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_LOCK_WINDOW "lock-window" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-MTU:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_MTU</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_MTU "mtu" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-ONLINK:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_ONLINK</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_ONLINK "onlink" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-QUICKACK:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_QUICKACK</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_QUICKACK "quickack" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-RTO-MIN:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_RTO_MIN</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_RTO_MIN "rto_min" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-SCOPE:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_SCOPE</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_SCOPE "scope" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-SRC:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_SRC</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_SRC "src" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-TABLE:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_TABLE</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_TABLE "table" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-TOS:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_TOS</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_TOS "tos" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-TYPE:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_TYPE</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_TYPE "type" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-WINDOW:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_WINDOW</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_WINDOW "window" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-WEIGHT:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_WEIGHT</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_WEIGHT "weight" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NMIPRoutingRuleAsStringFlags"></a><h3>enum NMIPRoutingRuleAsStringFlags</h3> +<div class="refsect3"> +<a name="NMIPRoutingRuleAsStringFlags.members"></a><h4>Members</h4> +<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> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-METHOD:CAPS"></a><h3>NM_SETTING_IP_CONFIG_METHOD</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_METHOD "method" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-DNS:CAPS"></a><h3>NM_SETTING_IP_CONFIG_DNS</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_DNS "dns" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-DNS-SEARCH:CAPS"></a><h3>NM_SETTING_IP_CONFIG_DNS_SEARCH</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_DNS_SEARCH "dns-search" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-DNS-OPTIONS:CAPS"></a><h3>NM_SETTING_IP_CONFIG_DNS_OPTIONS</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_DNS_OPTIONS "dns-options" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-DNS-PRIORITY:CAPS"></a><h3>NM_SETTING_IP_CONFIG_DNS_PRIORITY</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_DNS_PRIORITY "dns-priority" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-ADDRESSES:CAPS"></a><h3>NM_SETTING_IP_CONFIG_ADDRESSES</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_ADDRESSES "addresses" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-GATEWAY:CAPS"></a><h3>NM_SETTING_IP_CONFIG_GATEWAY</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_GATEWAY "gateway" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-ROUTES:CAPS"></a><h3>NM_SETTING_IP_CONFIG_ROUTES</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_ROUTES "routes" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-ROUTE-METRIC:CAPS"></a><h3>NM_SETTING_IP_CONFIG_ROUTE_METRIC</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_ROUTE_METRIC "route-metric" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-ROUTE-TABLE:CAPS"></a><h3>NM_SETTING_IP_CONFIG_ROUTE_TABLE</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_ROUTE_TABLE "route-table" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-IGNORE-AUTO-ROUTES:CAPS"></a><h3>NM_SETTING_IP_CONFIG_IGNORE_AUTO_ROUTES</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_IGNORE_AUTO_ROUTES "ignore-auto-routes" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-IGNORE-AUTO-DNS:CAPS"></a><h3>NM_SETTING_IP_CONFIG_IGNORE_AUTO_DNS</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_IGNORE_AUTO_DNS "ignore-auto-dns" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-DHCP-HOSTNAME:CAPS"></a><h3>NM_SETTING_IP_CONFIG_DHCP_HOSTNAME</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_DHCP_HOSTNAME "dhcp-hostname" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-DHCP-SEND-HOSTNAME:CAPS"></a><h3>NM_SETTING_IP_CONFIG_DHCP_SEND_HOSTNAME</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_DHCP_SEND_HOSTNAME "dhcp-send-hostname" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-DHCP-HOSTNAME-FLAGS:CAPS"></a><h3>NM_SETTING_IP_CONFIG_DHCP_HOSTNAME_FLAGS</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_DHCP_HOSTNAME_FLAGS "dhcp-hostname-flags" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-NEVER-DEFAULT:CAPS"></a><h3>NM_SETTING_IP_CONFIG_NEVER_DEFAULT</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_NEVER_DEFAULT "never-default" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-MAY-FAIL:CAPS"></a><h3>NM_SETTING_IP_CONFIG_MAY_FAIL</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_MAY_FAIL "may-fail" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-DAD-TIMEOUT:CAPS"></a><h3>NM_SETTING_IP_CONFIG_DAD_TIMEOUT</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_DAD_TIMEOUT "dad-timeout" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-DHCP-TIMEOUT:CAPS"></a><h3>NM_SETTING_IP_CONFIG_DHCP_TIMEOUT</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_DHCP_TIMEOUT "dhcp-timeout" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-REQUIRED-TIMEOUT:CAPS"></a><h3>NM_SETTING_IP_CONFIG_REQUIRED_TIMEOUT</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_REQUIRED_TIMEOUT "required-timeout" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-DHCP-IAID:CAPS"></a><h3>NM_SETTING_IP_CONFIG_DHCP_IAID</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_DHCP_IAID "dhcp-iaid" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-DHCP-REJECT-SERVERS:CAPS"></a><h3>NM_SETTING_IP_CONFIG_DHCP_REJECT_SERVERS</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_DHCP_REJECT_SERVERS "dhcp-reject-servers" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-AUTO-ROUTE-EXT-GW:CAPS"></a><h3>NM_SETTING_IP_CONFIG_AUTO_ROUTE_EXT_GW</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_AUTO_ROUTE_EXT_GW "auto-route-ext-gw" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-REPLACE-LOCAL-RULE:CAPS"></a><h3>NM_SETTING_IP_CONFIG_REPLACE_LOCAL_RULE</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_REPLACE_LOCAL_RULE "replace-local-rule" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-ROUTING-RULES:CAPS"></a><h3>NM_SETTING_IP_CONFIG_ROUTING_RULES</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_ROUTING_RULES "routing-rules" +</pre> +</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> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-DNS-OPTION-NDOTS:CAPS"></a><h3>NM_SETTING_DNS_OPTION_NDOTS</h3> +<pre class="programlisting">#define NM_SETTING_DNS_OPTION_NDOTS "ndots" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-DNS-OPTION-TIMEOUT:CAPS"></a><h3>NM_SETTING_DNS_OPTION_TIMEOUT</h3> +<pre class="programlisting">#define NM_SETTING_DNS_OPTION_TIMEOUT "timeout" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-DNS-OPTION-ATTEMPTS:CAPS"></a><h3>NM_SETTING_DNS_OPTION_ATTEMPTS</h3> +<pre class="programlisting">#define NM_SETTING_DNS_OPTION_ATTEMPTS "attempts" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-DNS-OPTION-ROTATE:CAPS"></a><h3>NM_SETTING_DNS_OPTION_ROTATE</h3> +<pre class="programlisting">#define NM_SETTING_DNS_OPTION_ROTATE "rotate" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-DNS-OPTION-NO-CHECK-NAMES:CAPS"></a><h3>NM_SETTING_DNS_OPTION_NO_CHECK_NAMES</h3> +<pre class="programlisting">#define NM_SETTING_DNS_OPTION_NO_CHECK_NAMES "no-check-names" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-DNS-OPTION-INET6:CAPS"></a><h3>NM_SETTING_DNS_OPTION_INET6</h3> +<pre class="programlisting">#define NM_SETTING_DNS_OPTION_INET6 "inet6" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-DNS-OPTION-IP6-BYTESTRING:CAPS"></a><h3>NM_SETTING_DNS_OPTION_IP6_BYTESTRING</h3> +<pre class="programlisting">#define NM_SETTING_DNS_OPTION_IP6_BYTESTRING "ip6-bytestring" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-DNS-OPTION-IP6-DOTINT:CAPS"></a><h3>NM_SETTING_DNS_OPTION_IP6_DOTINT</h3> +<pre class="programlisting">#define NM_SETTING_DNS_OPTION_IP6_DOTINT "ip6-dotint" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-DNS-OPTION-NO-IP6-DOTINT:CAPS"></a><h3>NM_SETTING_DNS_OPTION_NO_IP6_DOTINT</h3> +<pre class="programlisting">#define NM_SETTING_DNS_OPTION_NO_IP6_DOTINT "no-ip6-dotint" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-DNS-OPTION-EDNS0:CAPS"></a><h3>NM_SETTING_DNS_OPTION_EDNS0</h3> +<pre class="programlisting">#define NM_SETTING_DNS_OPTION_EDNS0 "edns0" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-DNS-OPTION-SINGLE-REQUEST:CAPS"></a><h3>NM_SETTING_DNS_OPTION_SINGLE_REQUEST</h3> +<pre class="programlisting">#define NM_SETTING_DNS_OPTION_SINGLE_REQUEST "single-request" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-DNS-OPTION-SINGLE-REQUEST-REOPEN:CAPS"></a><h3>NM_SETTING_DNS_OPTION_SINGLE_REQUEST_REOPEN</h3> +<pre class="programlisting">#define NM_SETTING_DNS_OPTION_SINGLE_REQUEST_REOPEN "single-request-reopen" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-DNS-OPTION-NO-TLD-QUERY:CAPS"></a><h3>NM_SETTING_DNS_OPTION_NO_TLD_QUERY</h3> +<pre class="programlisting">#define NM_SETTING_DNS_OPTION_NO_TLD_QUERY "no-tld-query" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-DNS-OPTION-USE-VC:CAPS"></a><h3>NM_SETTING_DNS_OPTION_USE_VC</h3> +<pre class="programlisting">#define NM_SETTING_DNS_OPTION_USE_VC "use-vc" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-DNS-OPTION-NO-RELOAD:CAPS"></a><h3>NM_SETTING_DNS_OPTION_NO_RELOAD</h3> +<pre class="programlisting">#define NM_SETTING_DNS_OPTION_NO_RELOAD "no-reload" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NM-SETTING-DNS-OPTION-TRUST-AD:CAPS"></a><h3>NM_SETTING_DNS_OPTION_TRUST_AD</h3> +<pre class="programlisting">#define NM_SETTING_DNS_OPTION_TRUST_AD "trust-ad" +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="NMDhcpHostnameFlags"></a><h3>enum NMDhcpHostnameFlags</h3> +<p><a class="link" href="NMSettingIPConfig.html#NMDhcpHostnameFlags" title="enum NMDhcpHostnameFlags"><span class="type">NMDhcpHostnameFlags</span></a> describe flags related to the DHCP hostname and +FQDN.</p> +<div class="refsect3"> +<a name="NMDhcpHostnameFlags.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-DHCP-HOSTNAME-FLAG-NONE:CAPS"></a>NM_DHCP_HOSTNAME_FLAG_NONE</p></td> +<td class="enum_member_description"> +<p>no flag set. The default value from +Networkmanager global configuration is used. If such value is unset +or still zero, the DHCP request will use standard FQDN flags, i.e. +<a class="link" href="NMSettingIPConfig.html#NM-DHCP-HOSTNAME-FLAG-FQDN-SERV-UPDATE:CAPS"><code class="literal">NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE</code></a> and +<a class="link" href="NMSettingIPConfig.html#NM-DHCP-HOSTNAME-FLAG-FQDN-ENCODED:CAPS"><code class="literal">NM_DHCP_HOSTNAME_FLAG_FQDN_ENCODED</code></a> for IPv4 and +<a class="link" href="NMSettingIPConfig.html#NM-DHCP-HOSTNAME-FLAG-FQDN-SERV-UPDATE:CAPS"><code class="literal">NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE</code></a> for IPv6.</p> +</td> +<td class="enum_member_annotations"> </td> +</tr> +<tr> +<td class="enum_member_name"><p><a name="NM-DHCP-HOSTNAME-FLAG-FQDN-SERV-UPDATE:CAPS"></a>NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE</p></td> +<td class="enum_member_description"> +<p>whether the server should +do the A RR (FQDN-to-address) DNS updates.</p> +</td> +<td class="enum_member_annotations"> </td> +</tr> +<tr> +<td class="enum_member_name"><p><a name="NM-DHCP-HOSTNAME-FLAG-FQDN-ENCODED:CAPS"></a>NM_DHCP_HOSTNAME_FLAG_FQDN_ENCODED</p></td> +<td class="enum_member_description"> +<p>if set, the FQDN is encoded +using canonical wire format. Otherwise it uses the deprecated +ASCII encoding. This flag is allowed only for DHCPv4.</p> +</td> +<td class="enum_member_annotations"> </td> +</tr> +<tr> +<td class="enum_member_name"><p><a name="NM-DHCP-HOSTNAME-FLAG-FQDN-NO-UPDATE:CAPS"></a>NM_DHCP_HOSTNAME_FLAG_FQDN_NO_UPDATE</p></td> +<td class="enum_member_description"> +<p>when not set, request the +server to perform updates (the PTR RR and possibly the A RR +based on the <a class="link" href="NMSettingIPConfig.html#NM-DHCP-HOSTNAME-FLAG-FQDN-SERV-UPDATE:CAPS"><code class="literal">NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE</code></a> flag). If +this is set, the <a class="link" href="NMSettingIPConfig.html#NM-DHCP-HOSTNAME-FLAG-FQDN-SERV-UPDATE:CAPS"><code class="literal">NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE</code></a> flag +should be cleared.</p> +</td> +<td class="enum_member_annotations"> </td> +</tr> +<tr> +<td class="enum_member_name"><p><a name="NM-DHCP-HOSTNAME-FLAG-FQDN-CLEAR-FLAGS:CAPS"></a>NM_DHCP_HOSTNAME_FLAG_FQDN_CLEAR_FLAGS</p></td> +<td class="enum_member_description"> +<p>when set, no FQDN flags are +sent in the DHCP FQDN option. When cleared and all other FQDN +flags are zero, standard FQDN flags are sent. This flag is +incompatible with any other FQDN flag.</p> +</td> +<td class="enum_member_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.22</p> +</div> +</div> +<div class="refsect1"> +<a name="NMSettingIPConfig.see-also"></a><h2>See Also</h2> +<p><a class="link" href="NMSettingIP4Config.html" title="NMSettingIP4Config"><span class="type">NMSettingIP4Config</span></a>, <a class="link" href="NMSettingIP6Config.html" title="NMSettingIP6Config"><span class="type">NMSettingIP6Config</span></a></p> +</div> +</div> +<div class="footer"> +<hr>Generated by GTK-Doc V1.33.1</div> +</body> +</html> \ No newline at end of file |