Your IP : 216.73.216.48
<!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 V1.78.1">
<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="NMSettingIP6Config.html" title="NMSettingIP6Config">
<link rel="next" href="NMSettingIPTunnel.html" title="NMSettingIPTunnel">
<meta name="generator" content="GTK-Doc V1.24 (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><span id="nav_properties"> <span class="dim">|</span>
<a href="#NMSettingIPConfig.properties" class="shortcut">Properties</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="NMSettingIP6Config.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 width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_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">
<span class="returnvalue">gboolean</span>
</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">
<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">
<span class="returnvalue">guint</span>
</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">
<span class="returnvalue">GVariant</span> *
</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">
<span class="returnvalue">gboolean</span>
</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 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">
<span class="returnvalue">guint</span>
</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">
<span class="returnvalue">gboolean</span>
</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">
<span class="returnvalue">gint64</span>
</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">
<span class="returnvalue">GVariant</span> *
</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 <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">
<span class="returnvalue">guint</span>
</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">
<span class="returnvalue">gboolean</span>
</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">
<span class="returnvalue">gboolean</span>
</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">
<span class="returnvalue">guint</span>
</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">
<span class="returnvalue">gboolean</span>
</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">
<span class="returnvalue">gboolean</span>
</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">
<span class="returnvalue">guint</span>
</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">
<span class="returnvalue">gboolean</span>
</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">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-next-valid-dns-option" title="nm_setting_ip_config_next_valid_dns_option ()">nm_setting_ip_config_next_valid_dns_option</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</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">
<span class="returnvalue">gboolean</span>
</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">guint</span>
</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">
<span class="returnvalue">gboolean</span>
</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">
<span class="returnvalue">gboolean</span>
</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">
<span class="returnvalue">guint</span>
</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">
<span class="returnvalue">gboolean</span>
</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">
<span class="returnvalue">gboolean</span>
</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">
<span class="returnvalue">gint64</span>
</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">
<span class="returnvalue">gboolean</span>
</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">
<span class="returnvalue">gboolean</span>
</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">
<span class="returnvalue">gboolean</span>
</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">
<span class="returnvalue">gboolean</span>
</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">
<span class="returnvalue">gboolean</span>
</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">gint</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">gint</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>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="NMSettingIPConfig.properties"></a><h2>Properties</h2>
<div class="informaltable"><table border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type">
<span class="type">GPtrArray</span> *</td>
<td class="property_name"><a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--addresses" title="The “addresses” property">addresses</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--dad-timeout" title="The “dad-timeout” property">dad-timeout</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--dhcp-hostname" title="The “dhcp-hostname” property">dhcp-hostname</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--dhcp-send-hostname" title="The “dhcp-send-hostname” property">dhcp-send-hostname</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--dhcp-timeout" title="The “dhcp-timeout” property">dhcp-timeout</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">GStrv</span></td>
<td class="property_name"><a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--dns" title="The “dns” property">dns</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">GStrv</span></td>
<td class="property_name"><a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--dns-options" title="The “dns-options” property">dns-options</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">GStrv</span></td>
<td class="property_name"><a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--dns-search" title="The “dns-search” property">dns-search</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--gateway" title="The “gateway” property">gateway</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--ignore-auto-dns" title="The “ignore-auto-dns” property">ignore-auto-dns</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--ignore-auto-routes" title="The “ignore-auto-routes” property">ignore-auto-routes</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--may-fail" title="The “may-fail” property">may-fail</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--method" title="The “method” property">method</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--never-default" title="The “never-default” property">never-default</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint64</span></td>
<td class="property_name"><a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--route-metric" title="The “route-metric” property">route-metric</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type">
<span class="type">GPtrArray</span> *</td>
<td class="property_name"><a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--routes" title="The “routes” property">routes</a></td>
<td class="property_flags">Read / Write</td>
</tr>
</tbody>
</table></div>
</div>
<a name="NMIPAddress"></a><a name="NMIPRoute"></a><div class="refsect1">
<a name="NMSettingIPConfig.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<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-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-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-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-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="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig-struct" title="NMSettingIPConfig">NMSettingIPConfig</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="NMSettingIPConfig.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen"> GBoxed
<span class="lineart">├──</span> NMIPAddress
<span class="lineart">╰──</span> NMIPRoute
GObject
<span class="lineart">╰──</span> <a class="link" href="NMSetting.html" title="NMSetting">NMSetting</a>
<span class="lineart">╰──</span> NMSettingIPConfig
<span class="lineart">├──</span> <a class="link" href="NMSettingIP4Config.html" title="NMSettingIP4Config">NMSettingIP4Config</a>
<span class="lineart">╰──</span> <a class="link" href="NMSettingIP6Config.html" title="NMSettingIP6Config">NMSettingIP6Config</a>
</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><span class="type">guint</span> prefix</code></em>,
<em class="parameter"><code><span class="type">GError</span> **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="id-1.4.19.11.2.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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 <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.19.11.2.6"></a><h4>Returns</h4>
<p> the new <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> object, or <code class="literal">NULL</code> on error. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</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><span class="type">gconstpointer</span> addr</code></em>,
<em class="parameter"><code><span class="type">guint</span> prefix</code></em>,
<em class="parameter"><code><span class="type">GError</span> **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="id-1.4.19.11.3.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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 <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.19.11.3.6"></a><h4>Returns</h4>
<p> the new <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> object, or <code class="literal">NULL</code> on error. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</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="id-1.4.19.11.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.5.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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"><span class="returnvalue">gboolean</span>
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="id-1.4.19.11.6.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.6.6"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the objects contain the same values, <code class="literal">FALSE</code> if they do not.</p>
</div>
</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="id-1.4.19.11.7.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.7.6"></a><h4>Returns</h4>
<p> a copy of <em class="parameter"><code>address</code></em>
. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</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="id-1.4.19.11.8.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.8.6"></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="id-1.4.19.11.9.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.9.6"></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="id-1.4.19.11.10.6"></a><h4>Parameters</h4>
<div class="informaltable"><table 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><span class="type">gpointer</span> 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="id-1.4.19.11.11.7"></a><h4>Parameters</h4>
<div class="informaltable"><table 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><span class="type">gconstpointer</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 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="id-1.4.19.11.12.7"></a><h4>Parameters</h4>
<div class="informaltable"><table 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"><span class="returnvalue">guint</span>
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="id-1.4.19.11.13.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.13.6"></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><span class="type">guint</span> prefix</code></em>);</pre>
<p>Sets the IP address prefix property of this address object.</p>
<div class="refsect3">
<a name="id-1.4.19.11.14.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.15.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.15.6"></a><h4>Returns</h4>
<p> a <code class="literal">NULL</code>-terminated array of attribute names,. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><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"><span class="returnvalue">GVariant</span> *
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="id-1.4.19.11.16.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.16.6"></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 <code class="literal">NULL</code> if <em class="parameter"><code>address</code></em>
has no such attribute. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</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><span class="type">GVariant</span> *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="id-1.4.19.11.17.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="Don't free data after the code is done."><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><span class="type">guint</span> prefix</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *next_hop</code></em>,
<em class="parameter"><code><span class="type">gint64</span> metric</code></em>,
<em class="parameter"><code><span class="type">GError</span> **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="id-1.4.19.11.18.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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 <code class="literal">NULL</code>). </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 <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.19.11.18.6"></a><h4>Returns</h4>
<p> the new <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> object, or <code class="literal">NULL</code> on error. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</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><span class="type">gconstpointer</span> dest</code></em>,
<em class="parameter"><code><span class="type">guint</span> prefix</code></em>,
<em class="parameter"><code><span class="type">gconstpointer</span> next_hop</code></em>,
<em class="parameter"><code><span class="type">gint64</span> metric</code></em>,
<em class="parameter"><code><span class="type">GError</span> **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-<code class="literal">NULL</code>) must
point to buffers of the correct size for <em class="parameter"><code>family</code></em>
.</p>
<div class="refsect3">
<a name="id-1.4.19.11.19.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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 <code class="literal">NULL</code>). </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 <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.19.11.19.6"></a><h4>Returns</h4>
<p> the new <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> object, or <code class="literal">NULL</code> on error. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</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="id-1.4.19.11.20.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.21.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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"><span class="returnvalue">gboolean</span>
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="id-1.4.19.11.22.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.22.6"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the objects contain the same values, <code class="literal">FALSE</code> if they do not.</p>
</div>
</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="id-1.4.19.11.23.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.23.6"></a><h4>Returns</h4>
<p> a copy of <em class="parameter"><code>route</code></em>
. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</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="id-1.4.19.11.24.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.24.6"></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="id-1.4.19.11.25.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.25.6"></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 <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="id-1.4.19.11.26.6"></a><h4>Parameters</h4>
<div class="informaltable"><table 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><span class="type">gpointer</span> 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="id-1.4.19.11.27.7"></a><h4>Parameters</h4>
<div class="informaltable"><table 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><span class="type">gconstpointer</span> 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="id-1.4.19.11.28.7"></a><h4>Parameters</h4>
<div class="informaltable"><table 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"><span class="returnvalue">guint</span>
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="id-1.4.19.11.29.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.29.6"></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><span class="type">guint</span> prefix</code></em>);</pre>
<p>Sets the prefix property of this route object.</p>
<div class="refsect3">
<a name="id-1.4.19.11.30.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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 <code class="literal">NULL</code> if the
route has no next hop.</p>
<div class="refsect3">
<a name="id-1.4.19.11.31.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.31.6"></a><h4>Returns</h4>
<p> the IP address of the next hop, or <code class="literal">NULL</code> 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-<code class="literal">NULL</code>) 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="id-1.4.19.11.32.6"></a><h4>Parameters</h4>
<div class="informaltable"><table 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"><span class="returnvalue">gboolean</span>
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><span class="type">gpointer</span> 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="id-1.4.19.11.33.7"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.33.8"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>route</code></em>
has a next hop, <code class="literal">FALSE</code> 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><span class="type">gconstpointer</span> 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-<code class="literal">NULL</code>) 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="id-1.4.19.11.34.7"></a><h4>Parameters</h4>
<div class="informaltable"><table 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"><span class="returnvalue">gint64</span>
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="id-1.4.19.11.35.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.35.6"></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><span class="type">gint64</span> metric</code></em>);</pre>
<p>Sets the metric property of this route object.</p>
<div class="refsect3">
<a name="id-1.4.19.11.36.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.37.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.37.6"></a><h4>Returns</h4>
<p> a <code class="literal">NULL</code>-terminated array of attribute names. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><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"><span class="returnvalue">GVariant</span> *
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="id-1.4.19.11.38.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.38.6"></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 <code class="literal">NULL</code> if <em class="parameter"><code>route</code></em>
has no such attribute. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</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><span class="type">GVariant</span> *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="id-1.4.19.11.39.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="Don't free data after the code is done."><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-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="id-1.4.19.11.40.4"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.40.5"></a><h4>Returns</h4>
<p> the <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--method" title="The “method” property"><span class="type">“method”</span></a> 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"><span class="returnvalue">guint</span>
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="id-1.4.19.11.41.4"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.41.5"></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="id-1.4.19.11.42.4"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.42.5"></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"><span class="returnvalue">gboolean</span>
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="id-1.4.19.11.43.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.43.6"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the DNS server was added; <code class="literal">FALSE</code> if the server was already
known</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="id-1.4.19.11.44.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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"><span class="returnvalue">gboolean</span>
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="id-1.4.19.11.45.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.45.6"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the DNS server was found and removed; <code class="literal">FALSE</code> if it was not.</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="id-1.4.19.11.46.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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"><span class="returnvalue">guint</span>
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="id-1.4.19.11.47.4"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.47.5"></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="id-1.4.19.11.48.4"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.48.5"></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"><span class="returnvalue">gboolean</span>
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="id-1.4.19.11.49.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.49.6"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the DNS search domain was added; <code class="literal">FALSE</code> 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="id-1.4.19.11.50.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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"><span class="returnvalue">gboolean</span>
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="id-1.4.19.11.51.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.51.6"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the DNS search domain was found and removed; <code class="literal">FALSE</code> if it was not.</p>
<p>Since 0.9.10</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="id-1.4.19.11.52.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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"><span class="returnvalue">guint</span>
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="id-1.4.19.11.53.4"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.53.5"></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"><span class="returnvalue">gboolean</span>
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="id-1.4.19.11.54.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.54.6"></a><h4>Returns</h4>
<p> whether DNS options are initalized or left unset (the default).</p>
</div>
</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><span class="type">guint</span> idx</code></em>);</pre>
<div class="refsect3">
<a name="id-1.4.19.11.55.4"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.55.5"></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-next-valid-dns-option"></a><h3>nm_setting_ip_config_next_valid_dns_option ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
nm_setting_ip_config_next_valid_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">guint</span> idx</code></em>);</pre>
<div class="refsect3">
<a name="id-1.4.19.11.56.4"></a><h4>Parameters</h4>
<div class="informaltable"><table 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 to start the search from</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.19.11.56.5"></a><h4>Returns</h4>
<p> the index, greater or equal than <em class="parameter"><code>idx</code></em>
, of the first valid
DNS option, or -1 if no valid option is found</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"><span class="returnvalue">gboolean</span>
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="id-1.4.19.11.57.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.57.6"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the DNS option was added; <code class="literal">FALSE</code> 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="id-1.4.19.11.58.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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"><span class="returnvalue">gboolean</span>
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="id-1.4.19.11.59.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.59.6"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the DNS option was found and removed; <code class="literal">FALSE</code> 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><span class="type">gboolean</span> is_set</code></em>);</pre>
<p>Removes all configured DNS options.</p>
<div class="refsect3">
<a name="id-1.4.19.11.60.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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-num-addresses"></a><h3>nm_setting_ip_config_get_num_addresses ()</h3>
<pre class="programlisting"><span class="returnvalue">guint</span>
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="id-1.4.19.11.61.4"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.61.5"></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="id-1.4.19.11.62.4"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.62.5"></a><h4>Returns</h4>
<p> the address at index <em class="parameter"><code>idx</code></em>
. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</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"><span class="returnvalue">gboolean</span>
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="id-1.4.19.11.63.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.63.6"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the address was added; <code class="literal">FALSE</code> 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="id-1.4.19.11.64.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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"><span class="returnvalue">gboolean</span>
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="id-1.4.19.11.65.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.65.6"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the address was found and removed; <code class="literal">FALSE</code> 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="id-1.4.19.11.66.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.67.4"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.67.5"></a><h4>Returns</h4>
<p> the IP address of the gateway associated with this configuration, or
<code class="literal">NULL</code>.</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"><span class="returnvalue">guint</span>
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="id-1.4.19.11.68.4"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.68.5"></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="id-1.4.19.11.69.4"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.69.5"></a><h4>Returns</h4>
<p> the route at index <em class="parameter"><code>idx</code></em>
. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</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"><span class="returnvalue">gboolean</span>
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>Adds a new route and associated information to the setting. The
given route is duplicated internally and is not changed by this function.</p>
<div class="refsect3">
<a name="id-1.4.19.11.70.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.70.6"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the route was added; <code class="literal">FALSE</code> 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="id-1.4.19.11.71.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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"><span class="returnvalue">gboolean</span>
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 route <em class="parameter"><code>route</code></em>
.</p>
<div class="refsect3">
<a name="id-1.4.19.11.72.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.72.6"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the route was found and removed; <code class="literal">FALSE</code> 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="id-1.4.19.11.73.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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"><span class="returnvalue">gint64</span>
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 <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--route-metric" title="The “route-metric” property"><span class="type">“route-metric”</span></a>
property.</p>
<div class="refsect3">
<a name="id-1.4.19.11.74.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.74.6"></a><h4>Returns</h4>
<p> the route metric that is used for routes that don't explicitly
specify a metric. See <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--route-metric" title="The “route-metric” property"><span class="type">“route-metric”</span></a> for more details.</p>
</div>
</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"><span class="returnvalue">gboolean</span>
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 <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--ignore-auto-routes" title="The “ignore-auto-routes” property"><span class="type">“ignore-auto-routes”</span></a>
property.</p>
<div class="refsect3">
<a name="id-1.4.19.11.75.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.75.6"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> 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"><span class="returnvalue">gboolean</span>
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 <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--ignore-auto-dns" title="The “ignore-auto-dns” property"><span class="type">“ignore-auto-dns”</span></a>
property.</p>
<div class="refsect3">
<a name="id-1.4.19.11.76.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.76.6"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> 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 <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--dhcp-hostname" title="The “dhcp-hostname” property"><span class="type">“dhcp-hostname”</span></a>
property.</p>
<div class="refsect3">
<a name="id-1.4.19.11.77.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.77.6"></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"><span class="returnvalue">gboolean</span>
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 <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--dhcp-send-hostname" title="The “dhcp-send-hostname” property"><span class="type">“dhcp-send-hostname”</span></a>
property.</p>
<div class="refsect3">
<a name="id-1.4.19.11.78.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.78.6"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> 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"><span class="returnvalue">gboolean</span>
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 <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--never-default" title="The “never-default” property"><span class="type">“never-default”</span></a>
property.</p>
<div class="refsect3">
<a name="id-1.4.19.11.79.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.79.6"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> 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"><span class="returnvalue">gboolean</span>
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 <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--may-fail" title="The “may-fail” property"><span class="type">“may-fail”</span></a>
property.</p>
<div class="refsect3">
<a name="id-1.4.19.11.80.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.80.6"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> 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">gint</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="id-1.4.19.11.81.4"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.81.5"></a><h4>Returns</h4>
<p> the <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--dad-timeout" title="The “dad-timeout” property"><span class="type">“dad-timeout”</span></a> 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">gint</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 <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--dhcp-timeout" title="The “dhcp-timeout” property"><span class="type">“dhcp-timeout”</span></a>
property.</p>
<div class="refsect3">
<a name="id-1.4.19.11.82.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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="id-1.4.19.11.82.6"></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>
</div>
<div class="refsect1">
<a name="NMSettingIPConfig.other_details"></a><h2>Types and Values</h2>
<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-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-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-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-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="NMSettingIPConfig-struct"></a><h3>NMSettingIPConfig</h3>
<pre class="programlisting">typedef struct _NMSettingIPConfig NMSettingIPConfig;</pre>
</div>
</div>
<div class="refsect1">
<a name="NMSettingIPConfig.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="NMSettingIPConfig--addresses"></a><h3>The <code class="literal">“addresses”</code> property</h3>
<pre class="programlisting"> “addresses” <span class="type">GPtrArray</span> *</pre>
<p>Array of IP addresses.</p>
<p>Element-Type: NMIPAddress</p>
<p>Flags: Read / Write</p>
</div>
<hr>
<div class="refsect2">
<a name="NMSettingIPConfig--dad-timeout"></a><h3>The <code class="literal">“dad-timeout”</code> property</h3>
<pre class="programlisting"> “dad-timeout” <span class="type">gint</span></pre>
<p>Timeout in milliseconds used to check for the presence of duplicate IP
addresses on the network. If an address conflict is detected, the
activation will fail. A zero value means that no duplicate address
detection is performed, -1 means the default value (either configuration
ipvx.dad-timeout override or 3 seconds). A value greater than zero is a
timeout in milliseconds.</p>
<p>Flags: Read / Write / Construct</p>
<p>Allowed values: [-1,30000]</p>
<p>Default value: -1</p>
<p class="since">Since: 1.2</p>
</div>
<hr>
<div class="refsect2">
<a name="NMSettingIPConfig--dhcp-hostname"></a><h3>The <code class="literal">“dhcp-hostname”</code> property</h3>
<pre class="programlisting"> “dhcp-hostname” <span class="type">gchar</span> *</pre>
<p>If the <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--dhcp-send-hostname" title="The “dhcp-send-hostname” property"><span class="type">“dhcp-send-hostname”</span></a> property is <code class="literal">TRUE</code>, then the
specified name will be sent to the DHCP server when acquiring a lease.
This property and <a class="link" href="NMSettingIP4Config.html#NMSettingIP4Config--dhcp-fqdn" title="The “dhcp-fqdn” property"><span class="type">“dhcp-fqdn”</span></a> are mutually exclusive and
cannot be set at the same time.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="NMSettingIPConfig--dhcp-send-hostname"></a><h3>The <code class="literal">“dhcp-send-hostname”</code> property</h3>
<pre class="programlisting"> “dhcp-send-hostname” <span class="type">gboolean</span></pre>
<p>If <code class="literal">TRUE</code>, a hostname is sent to the DHCP server when acquiring a lease.
Some DHCP servers use this hostname to update DNS databases, essentially
providing a static hostname for the computer. If the
<a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--dhcp-hostname" title="The “dhcp-hostname” property"><span class="type">“dhcp-hostname”</span></a> property is <code class="literal">NULL</code> and this property is
<code class="literal">TRUE</code>, the current persistent hostname of the computer is sent.</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="NMSettingIPConfig--dhcp-timeout"></a><h3>The <code class="literal">“dhcp-timeout”</code> property</h3>
<pre class="programlisting"> “dhcp-timeout” <span class="type">gint</span></pre>
<p>A timeout for a DHCP transaction in seconds.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: >= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="NMSettingIPConfig--dns"></a><h3>The <code class="literal">“dns”</code> property</h3>
<pre class="programlisting"> “dns” <span class="type">GStrv</span></pre>
<p>Array of IP addresses of DNS servers.</p>
<p>Flags: Read / Write</p>
</div>
<hr>
<div class="refsect2">
<a name="NMSettingIPConfig--dns-options"></a><h3>The <code class="literal">“dns-options”</code> property</h3>
<pre class="programlisting"> “dns-options” <span class="type">GStrv</span></pre>
<p>Array of DNS options.</p>
<p><code class="literal">NULL</code> means that the options are unset and left at the default.
In this case NetworkManager will use default options. This is
distinct from an empty list of properties.</p>
<p>Flags: Read / Write</p>
<p class="since">Since: 1.2</p>
</div>
<hr>
<div class="refsect2">
<a name="NMSettingIPConfig--dns-search"></a><h3>The <code class="literal">“dns-search”</code> property</h3>
<pre class="programlisting"> “dns-search” <span class="type">GStrv</span></pre>
<p>Array of DNS search domains.</p>
<p>Flags: Read / Write</p>
</div>
<hr>
<div class="refsect2">
<a name="NMSettingIPConfig--gateway"></a><h3>The <code class="literal">“gateway”</code> property</h3>
<pre class="programlisting"> “gateway” <span class="type">gchar</span> *</pre>
<p>The gateway associated with this configuration. This is only meaningful
if <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--addresses" title="The “addresses” property"><span class="type">“addresses”</span></a> is also set.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="NMSettingIPConfig--ignore-auto-dns"></a><h3>The <code class="literal">“ignore-auto-dns”</code> property</h3>
<pre class="programlisting"> “ignore-auto-dns” <span class="type">gboolean</span></pre>
<p>When <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--method" title="The “method” property"><span class="type">“method”</span></a> is set to "auto" and this property to
<code class="literal">TRUE</code>, automatically configured nameservers and search domains are
ignored and only nameservers and search domains specified in the
<a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--dns" title="The “dns” property"><span class="type">“dns”</span></a> and <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--dns-search" title="The “dns-search” property"><span class="type">“dns-search”</span></a> properties, if
any, are used.</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="NMSettingIPConfig--ignore-auto-routes"></a><h3>The <code class="literal">“ignore-auto-routes”</code> property</h3>
<pre class="programlisting"> “ignore-auto-routes” <span class="type">gboolean</span></pre>
<p>When <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--method" title="The “method” property"><span class="type">“method”</span></a> is set to "auto" and this property to
<code class="literal">TRUE</code>, automatically configured routes are ignored and only routes
specified in the <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--routes" title="The “routes” property"><span class="type">“routes”</span></a> property, if any, are used.</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="NMSettingIPConfig--may-fail"></a><h3>The <code class="literal">“may-fail”</code> property</h3>
<pre class="programlisting"> “may-fail” <span class="type">gboolean</span></pre>
<p>If <code class="literal">TRUE</code>, allow overall network configuration to proceed even if the
configuration specified by this property times out. Note that at least
one IP configuration must succeed or overall network configuration will
still fail. For example, in IPv6-only networks, setting this property to
<code class="literal">TRUE</code> on the <a class="link" href="NMSettingIP4Config.html" title="NMSettingIP4Config"><span class="type">NMSettingIP4Config</span></a> allows the overall network configuration
to succeed if IPv4 configuration fails but IPv6 configuration completes
successfully.</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="NMSettingIPConfig--method"></a><h3>The <code class="literal">“method”</code> property</h3>
<pre class="programlisting"> “method” <span class="type">gchar</span> *</pre>
<p>IP configuration method.</p>
<p><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> both support "auto",
"manual", and "link-local". See the subclass-specific documentation for
other values.</p>
<p>In general, for the "auto" method, properties such as
<a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--dns" title="The “dns” property"><span class="type">“dns”</span></a> and <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--routes" title="The “routes” property"><span class="type">“routes”</span></a> specify information
that is added on to the information returned from automatic
configuration. The <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--ignore-auto-routes" title="The “ignore-auto-routes” property"><span class="type">“ignore-auto-routes”</span></a> and
<a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--ignore-auto-dns" title="The “ignore-auto-dns” property"><span class="type">“ignore-auto-dns”</span></a> properties modify this behavior.</p>
<p>For methods that imply no upstream network, such as "shared" or
"link-local", these properties must be empty.</p>
<p>For IPv4 method "shared", the IP subnet can be configured by adding one
manual IPv4 address or otherwise 10.42.x.0/24 is chosen.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="NMSettingIPConfig--never-default"></a><h3>The <code class="literal">“never-default”</code> property</h3>
<pre class="programlisting"> “never-default” <span class="type">gboolean</span></pre>
<p>If <code class="literal">TRUE</code>, this connection will never be the default connection for this
IP type, meaning it will never be assigned the default route by
NetworkManager.</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="NMSettingIPConfig--route-metric"></a><h3>The <code class="literal">“route-metric”</code> property</h3>
<pre class="programlisting"> “route-metric” <span class="type">gint64</span></pre>
<p>The default metric for routes that don't explicitly specify a metric.
The default value -1 means that the metric is choosen automatically
based on the device type.
The metric applies to dynamic routes, manual (static) routes that
don't have an explicit metric setting, address prefix routes, and
the default route.
Note that for IPv6, the kernel accepts zero (0) but coerces it to
1024 (user default). Hence, setting this property to zero effectively
mean setting it to 1024.
For IPv4, zero is a regular value for the metric.</p>
<p>Flags: Read / Write / Construct</p>
<p>Allowed values: [-1,4294967295]</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2">
<a name="NMSettingIPConfig--routes"></a><h3>The <code class="literal">“routes”</code> property</h3>
<pre class="programlisting"> “routes” <span class="type">GPtrArray</span> *</pre>
<p>Array of IP routes.</p>
<p>Element-Type: NMIPRoute</p>
<p>Flags: Read / Write</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.24</div>
</body>
</html>