diff options
| author | Michael Biebl <biebl@debian.org> | 2017-11-07 00:14:39 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2017-11-07 00:14:39 +0100 |
| commit | 90e8691111889a7b5f3c812f5a41f15a8a058913 (patch) | |
| tree | f101a879eca27c34a9bfa5f3da52266b22539a36 /docs/libnm/html/NMSettingIPConfig.html | |
| parent | bdb6eeb0670658255c2a4c3c501c0a27fa8cfe55 (diff) | |
New upstream version 1.9.90 upstream/1.9.90
Diffstat (limited to 'docs/libnm/html/NMSettingIPConfig.html')
| -rw-r--r-- | docs/libnm/html/NMSettingIPConfig.html | 526 |
1 files changed, 334 insertions, 192 deletions
diff --git a/docs/libnm/html/NMSettingIPConfig.html b/docs/libnm/html/NMSettingIPConfig.html index e7722f0b..f0a5107f 100644 --- a/docs/libnm/html/NMSettingIPConfig.html +++ b/docs/libnm/html/NMSettingIPConfig.html @@ -76,7 +76,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gboolean</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-ip-address-equal" title="nm_ip_address_equal ()">nm_ip_address_equal</a> <span class="c_punctuation">()</span> @@ -131,7 +131,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">guint</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-ip-address-get-prefix" title="nm_ip_address_get_prefix ()">nm_ip_address_get_prefix</a> <span class="c_punctuation">()</span> @@ -155,7 +155,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">GVariant</span> * +<a href="https://developer.gnome.org/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-ip-address-get-attribute" title="nm_ip_address_get_attribute ()">nm_ip_address_get_attribute</a> <span class="c_punctuation">()</span> @@ -203,7 +203,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gboolean</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-ip-route-equal" title="nm_ip_route_equal ()">nm_ip_route_equal</a> <span class="c_punctuation">()</span> @@ -211,6 +211,14 @@ </tr> <tr> <td class="function_type"> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-ip-route-equal-full" title="nm_ip_route_equal_full ()">nm_ip_route_equal_full</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="returnvalue">NMIPRoute</span></a> * </td> <td class="function_name"> @@ -258,7 +266,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">guint</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-ip-route-get-prefix" title="nm_ip_route_get_prefix ()">nm_ip_route_get_prefix</a> <span class="c_punctuation">()</span> @@ -289,7 +297,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gboolean</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-ip-route-get-next-hop-binary" title="nm_ip_route_get_next_hop_binary ()">nm_ip_route_get_next_hop_binary</a> <span class="c_punctuation">()</span> @@ -305,7 +313,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gint64</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-ip-route-get-metric" title="nm_ip_route_get_metric ()">nm_ip_route_get_metric</a> <span class="c_punctuation">()</span> @@ -329,7 +337,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">GVariant</span> * +<a href="https://developer.gnome.org/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-ip-route-get-attribute" title="nm_ip_route_get_attribute ()">nm_ip_route_get_attribute</a> <span class="c_punctuation">()</span> @@ -352,7 +360,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gboolean</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-ip-route-attribute-validate" title="nm_ip_route_attribute_validate ()">nm_ip_route_attribute_validate</a> <span class="c_punctuation">()</span> @@ -367,7 +375,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">guint</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-num-dns" title="nm_setting_ip_config_get_num_dns ()">nm_setting_ip_config_get_num_dns</a> <span class="c_punctuation">()</span> @@ -382,7 +390,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gboolean</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-add-dns" title="nm_setting_ip_config_add_dns ()">nm_setting_ip_config_add_dns</a> <span class="c_punctuation">()</span> @@ -398,7 +406,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gboolean</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-remove-dns-by-value" title="nm_setting_ip_config_remove_dns_by_value ()">nm_setting_ip_config_remove_dns_by_value</a> <span class="c_punctuation">()</span> @@ -414,7 +422,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">guint</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-num-dns-searches" title="nm_setting_ip_config_get_num_dns_searches ()">nm_setting_ip_config_get_num_dns_searches</a> <span class="c_punctuation">()</span> @@ -429,7 +437,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gboolean</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-add-dns-search" title="nm_setting_ip_config_add_dns_search ()">nm_setting_ip_config_add_dns_search</a> <span class="c_punctuation">()</span> @@ -445,7 +453,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gboolean</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-remove-dns-search-by-value" title="nm_setting_ip_config_remove_dns_search_by_value ()">nm_setting_ip_config_remove_dns_search_by_value</a> <span class="c_punctuation">()</span> @@ -461,7 +469,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">guint</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-num-dns-options" title="nm_setting_ip_config_get_num_dns_options ()">nm_setting_ip_config_get_num_dns_options</a> <span class="c_punctuation">()</span> @@ -469,7 +477,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gboolean</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-has-dns-options" title="nm_setting_ip_config_has_dns_options ()">nm_setting_ip_config_has_dns_options</a> <span class="c_punctuation">()</span> @@ -484,7 +492,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gint</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> </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> @@ -492,7 +500,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gboolean</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-add-dns-option" title="nm_setting_ip_config_add_dns_option ()">nm_setting_ip_config_add_dns_option</a> <span class="c_punctuation">()</span> @@ -508,7 +516,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gboolean</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-remove-dns-option-by-value" title="nm_setting_ip_config_remove_dns_option_by_value ()">nm_setting_ip_config_remove_dns_option_by_value</a> <span class="c_punctuation">()</span> @@ -524,7 +532,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gint</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-dns-priority" title="nm_setting_ip_config_get_dns_priority ()">nm_setting_ip_config_get_dns_priority</a> <span class="c_punctuation">()</span> @@ -532,7 +540,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">guint</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-num-addresses" title="nm_setting_ip_config_get_num_addresses ()">nm_setting_ip_config_get_num_addresses</a> <span class="c_punctuation">()</span> @@ -548,7 +556,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gboolean</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-add-address" title="nm_setting_ip_config_add_address ()">nm_setting_ip_config_add_address</a> <span class="c_punctuation">()</span> @@ -564,7 +572,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gboolean</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-remove-address-by-value" title="nm_setting_ip_config_remove_address_by_value ()">nm_setting_ip_config_remove_address_by_value</a> <span class="c_punctuation">()</span> @@ -587,7 +595,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">guint</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-num-routes" title="nm_setting_ip_config_get_num_routes ()">nm_setting_ip_config_get_num_routes</a> <span class="c_punctuation">()</span> @@ -603,7 +611,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gboolean</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-add-route" title="nm_setting_ip_config_add_route ()">nm_setting_ip_config_add_route</a> <span class="c_punctuation">()</span> @@ -619,7 +627,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gboolean</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-remove-route-by-value" title="nm_setting_ip_config_remove_route_by_value ()">nm_setting_ip_config_remove_route_by_value</a> <span class="c_punctuation">()</span> @@ -635,7 +643,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gint64</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-route-metric" title="nm_setting_ip_config_get_route_metric ()">nm_setting_ip_config_get_route_metric</a> <span class="c_punctuation">()</span> @@ -643,7 +651,15 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gboolean</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-route-table" title="nm_setting_ip_config_get_route_table ()">nm_setting_ip_config_get_route_table</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-ignore-auto-routes" title="nm_setting_ip_config_get_ignore_auto_routes ()">nm_setting_ip_config_get_ignore_auto_routes</a> <span class="c_punctuation">()</span> @@ -651,7 +667,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gboolean</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-ignore-auto-dns" title="nm_setting_ip_config_get_ignore_auto_dns ()">nm_setting_ip_config_get_ignore_auto_dns</a> <span class="c_punctuation">()</span> @@ -666,7 +682,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gboolean</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-dhcp-send-hostname" title="nm_setting_ip_config_get_dhcp_send_hostname ()">nm_setting_ip_config_get_dhcp_send_hostname</a> <span class="c_punctuation">()</span> @@ -674,7 +690,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gboolean</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-never-default" title="nm_setting_ip_config_get_never_default ()">nm_setting_ip_config_get_never_default</a> <span class="c_punctuation">()</span> @@ -682,7 +698,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gboolean</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="NMSettingIPConfig.html#nm-setting-ip-config-get-may-fail" title="nm_setting_ip_config_get_may_fail ()">nm_setting_ip_config_get_may_fail</a> <span class="c_punctuation">()</span> @@ -690,7 +706,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gint</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> </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> @@ -698,7 +714,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gint</span> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> </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> @@ -718,91 +734,96 @@ <tbody> <tr> <td class="property_type"> -<span class="type">GPtrArray</span> *</td> +<a href="https://developer.gnome.org/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *</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_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></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> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</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_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></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_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></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_type"><a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></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_type"><a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></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">gint</span></td> +<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> <td class="property_name"><a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--dns-priority" title="The “dns-priority” property">dns-priority</a></td> <td class="property_flags">Read / Write / Construct</td> </tr> <tr> -<td class="property_type"><span class="type">GStrv</span></td> +<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></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> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</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_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></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_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></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_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></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> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</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_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></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_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></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"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td> +<td class="property_name"><a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--route-table" title="The “route-table” property">route-table</a></td> +<td class="property_flags">Read / Write</td> +</tr> +<tr> <td class="property_type"> -<span class="type">GPtrArray</span> *</td> +<a href="https://developer.gnome.org/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *</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> @@ -819,6 +840,10 @@ <tbody> <tr> <td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-TABLE:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_TABLE">NM_IP_ROUTE_ATTRIBUTE_TABLE</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-IP-ROUTE-ATTRIBUTE-SRC:CAPS" title="NM_IP_ROUTE_ATTRIBUTE_SRC">NM_IP_ROUTE_ATTRIBUTE_SRC</a></td> </tr> <tr> @@ -911,6 +936,10 @@ </tr> <tr> <td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-ROUTE-TABLE:CAPS" title="NM_SETTING_IP_CONFIG_ROUTE_TABLE">NM_SETTING_IP_CONFIG_ROUTE_TABLE</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="NMSettingIPConfig.html#NM-SETTING-IP-CONFIG-IGNORE-AUTO-ROUTES:CAPS" title="NM_SETTING_IP_CONFIG_IGNORE_AUTO_ROUTES">NM_SETTING_IP_CONFIG_IGNORE_AUTO_ROUTES</a></td> </tr> <tr> @@ -1010,10 +1039,10 @@ </div> <div class="refsect1"> <a name="NMSettingIPConfig.object-hierarchy"></a><h2>Object Hierarchy</h2> -<pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a> +<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-Boxed-Types.html">GBoxed</a> <span class="lineart">├──</span> NMIPAddress <span class="lineart">╰──</span> NMIPRoute - GObject + <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a> <span class="lineart">╰──</span> <a class="link" href="NMSetting.html" title="NMSetting">NMSetting</a> <span class="lineart">╰──</span> NMSettingIPConfig <span class="lineart">├──</span> <a class="link" href="NMSettingIP4Config.html" title="NMSettingIP4Config">NMSettingIP4Config</a> @@ -1038,8 +1067,8 @@ related to IP addressing, routing, and Domain Name Service.</p> <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> + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> prefix</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> <p>Creates a new <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> object.</p> <div class="refsect3"> <a name="nm-ip-address-new.parameters"></a><h4>Parameters</h4> @@ -1068,7 +1097,7 @@ nm_ip_address_new (<em class="parameter"><code><span class="type">int</span> fam </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_description"><p>location to store error, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -1076,7 +1105,7 @@ nm_ip_address_new (<em class="parameter"><code><span class="type">int</span> fam </div> <div class="refsect3"> <a name="nm-ip-address-new.returns"></a><h4>Returns</h4> -<p> the new <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> object, or <code class="literal">NULL</code> on error. </p> +<p> the new <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> object, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> @@ -1085,9 +1114,9 @@ nm_ip_address_new (<em class="parameter"><code><span class="type">int</span> fam <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> + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> addr</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> prefix</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> <p>Creates a new <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> object. <em class="parameter"><code>addr</code></em> must point to a buffer of the correct size for <em class="parameter"><code>family</code></em> @@ -1119,7 +1148,7 @@ correct size for <em class="parameter"><code>family</code></em> </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_description"><p>location to store error, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -1127,7 +1156,7 @@ correct size for <em class="parameter"><code>family</code></em> </div> <div class="refsect3"> <a name="nm-ip-address-new-binary.returns"></a><h4>Returns</h4> -<p> the new <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> object, or <code class="literal">NULL</code> on error. </p> +<p> the new <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> object, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> @@ -1179,7 +1208,7 @@ reaches zero, the object will be destroyed.</p> <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_ip_address_equal (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *address</code></em>, <em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *other</code></em>);</pre> <p>Determines if two <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> objects contain the same address and prefix @@ -1209,7 +1238,7 @@ to.</p></td> </div> <div class="refsect3"> <a name="nm-ip-address-equal.returns"></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> +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the objects contain the same values, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if they do not.</p> </div> </div> <hr> @@ -1333,7 +1362,7 @@ have a valid address, use <a class="link" href="libnm-nm-utils.html#nm-utils-ipa <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> + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> addr</code></em>);</pre> <p>Gets the IP address property of this address object.</p> <p><em class="parameter"><code>addr</code></em> must point to a buffer that is the correct size for <em class="parameter"><code>address</code></em> @@ -1367,7 +1396,7 @@ nm_ip_address_get_address_binary (<em class="parameter"><code><a class="link" hr <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> + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> addr</code></em>);</pre> <p>Sets the IP address property of this address object.</p> <p><em class="parameter"><code>addr</code></em> must point to a buffer that is the correct size for <em class="parameter"><code>address</code></em> @@ -1399,7 +1428,7 @@ nm_ip_address_set_address_binary (<em class="parameter"><code><a class="link" hr <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> nm_ip_address_get_prefix (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *address</code></em>);</pre> <p>Gets the IP address prefix (ie "24" or "30" etc) property of this address object.</p> @@ -1428,7 +1457,7 @@ object.</p> <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> + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> prefix</code></em>);</pre> <p>Sets the IP address prefix property of this address object.</p> <div class="refsect3"> <a name="nm-ip-address-set-prefix.parameters"></a><h4>Parameters</h4> @@ -1477,14 +1506,14 @@ nm_ip_address_get_attribute_names (<em class="parameter"><code><a class="link" h </div> <div class="refsect3"> <a name="nm-ip-address-get-attribute-names.returns"></a><h4>Returns</h4> -<p> a <code class="literal">NULL</code>-terminated array of attribute names,. </p> +<p> a <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of attribute names,. </p> <p><span class="annotation">[<acronym title="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> * +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * nm_ip_address_get_attribute (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *address</code></em>, <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre> <p>Gets the value of the attribute with name <em class="parameter"><code>name</code></em> @@ -1517,7 +1546,7 @@ nm_ip_address_get_attribute (<em class="parameter"><code><a class="link" href="N <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> +, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>address</code></em> has no such attribute. </p> <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p> </div> @@ -1528,7 +1557,7 @@ has no such attribute. </p> <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> + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre> <p>Sets or clears the named attribute on <em class="parameter"><code>address</code></em> to the given value.</p> <div class="refsect3"> @@ -1565,10 +1594,10 @@ nm_ip_address_set_attribute (<em class="parameter"><code><a class="link" href="N <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><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> prefix</code></em>, <em class="parameter"><code>const <span class="type">char</span> *next_hop</code></em>, - <em class="parameter"><code><span class="type">gint64</span> metric</code></em>, - <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> metric</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> <p>Creates a new <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> object.</p> <div class="refsect3"> <a name="nm-ip-route-new.parameters"></a><h4>Parameters</h4> @@ -1597,7 +1626,7 @@ nm_ip_route_new (<em class="parameter"><code><span class="type">int</span> famil </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_description"><p> the IP address of the next hop (or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> </tr> <tr> @@ -1607,7 +1636,7 @@ nm_ip_route_new (<em class="parameter"><code><span class="type">int</span> famil </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_description"><p>location to store error, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -1615,7 +1644,7 @@ nm_ip_route_new (<em class="parameter"><code><span class="type">int</span> famil </div> <div class="refsect3"> <a name="nm-ip-route-new.returns"></a><h4>Returns</h4> -<p> the new <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> object, or <code class="literal">NULL</code> on error. </p> +<p> the new <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> object, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> @@ -1624,14 +1653,14 @@ nm_ip_route_new (<em class="parameter"><code><span class="type">int</span> famil <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> + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> dest</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> prefix</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> next_hop</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> metric</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> <p>Creates a new <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> object. <em class="parameter"><code>dest</code></em> and <em class="parameter"><code>next_hop</code></em> - (if non-<code class="literal">NULL</code>) must + (if non-<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>) must point to buffers of the correct size for <em class="parameter"><code>family</code></em> .</p> <div class="refsect3"> @@ -1661,7 +1690,7 @@ point to buffers of the correct size for <em class="parameter"><code>family</cod </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_description"><p> the IP address of the next hop (or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> </tr> <tr> @@ -1671,7 +1700,7 @@ point to buffers of the correct size for <em class="parameter"><code>family</cod </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_description"><p>location to store error, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -1679,7 +1708,7 @@ point to buffers of the correct size for <em class="parameter"><code>family</cod </div> <div class="refsect3"> <a name="nm-ip-route-new-binary.returns"></a><h4>Returns</h4> -<p> the new <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> object, or <code class="literal">NULL</code> on error. </p> +<p> the new <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> object, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> @@ -1731,7 +1760,7 @@ reaches zero, the object will be destroyed.</p> <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_ip_route_equal (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>, <em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *other</code></em>);</pre> <p>Determines if two <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> objects contain the same destination, prefix, @@ -1761,8 +1790,53 @@ to.</p></td> </div> <div class="refsect3"> <a name="nm-ip-route-equal.returns"></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> +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the objects contain the same values, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if they do not.</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-ip-route-equal-full"></a><h3>nm_ip_route_equal_full ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +nm_ip_route_equal_full (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>, + <em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *other</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> cmp_flags</code></em>);</pre> +<p>Determines if two <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> objects contain the same destination, prefix, +next hop, and metric.</p> +<div class="refsect3"> +<a name="nm-ip-route-equal-full.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>route</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>other</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> to compare <em class="parameter"><code>route</code></em> +to.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>cmp_flags</p></td> +<td class="parameter_description"><p>tune how to compare attributes. Currently only +NM_IP_ROUTE_EQUAL_CMP_FLAGS_NONE (0) and NM_IP_ROUTE_EQUAL_CMP_FLAGS_WITH_ATTRS (1) +is supported.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-ip-route-equal-full.returns"></a><h4>Returns</h4> +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the objects contain the same values, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if they do not.</p> </div> +<p class="since">Since: 1.10</p> </div> <hr> <div class="refsect2"> @@ -1885,7 +1959,7 @@ have a valid address, use <a class="link" href="libnm-nm-utils.html#nm-utils-ipa <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> + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dest</code></em>);</pre> <p>Gets the destination property of this route object.</p> <p><em class="parameter"><code>dest</code></em> must point to a buffer that is the correct size for <em class="parameter"><code>route</code></em> @@ -1919,7 +1993,7 @@ nm_ip_route_get_dest_binary (<em class="parameter"><code><a class="link" href="N <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> + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> dest</code></em>);</pre> <p>Sets the destination property of this route object.</p> <p><em class="parameter"><code>dest</code></em> must point to a buffer that is the correct size for <em class="parameter"><code>route</code></em> @@ -1951,7 +2025,7 @@ nm_ip_route_set_dest_binary (<em class="parameter"><code><a class="link" href="N <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> nm_ip_route_get_prefix (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>);</pre> <p>Gets the IP prefix (ie "24" or "30" etc) of this route.</p> <div class="refsect3"> @@ -1979,7 +2053,7 @@ nm_ip_route_get_prefix (<em class="parameter"><code><a class="link" href="NMSett <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> + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> prefix</code></em>);</pre> <p>Sets the prefix property of this route object.</p> <div class="refsect3"> <a name="nm-ip-route-set-prefix.parameters"></a><h4>Parameters</h4> @@ -2009,7 +2083,7 @@ nm_ip_route_set_prefix (<em class="parameter"><code><a class="link" href="NMSett <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 +<p>Gets the IP address of the next hop of this route; this will be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the route has no next hop.</p> <div class="refsect3"> <a name="nm-ip-route-get-next-hop.parameters"></a><h4>Parameters</h4> @@ -2028,7 +2102,7 @@ route has no next hop.</p> </div> <div class="refsect3"> <a name="nm-ip-route-get-next-hop.returns"></a><h4>Returns</h4> -<p> the IP address of the next hop, or <code class="literal">NULL</code> if this is a device route.</p> +<p> the IP address of the next hop, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if this is a device route.</p> </div> </div> <hr> @@ -2039,7 +2113,7 @@ nm_ip_route_set_next_hop (<em class="parameter"><code><a class="link" href="NMSe <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> + (if non-<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>) must be a valid address of <em class="parameter"><code>route</code></em> 's family. If you aren't sure you have a valid address, use <a class="link" href="libnm-nm-utils.html#nm-utils-ipaddr-valid" title="nm_utils_ipaddr_valid ()"><code class="function">nm_utils_ipaddr_valid()</code></a> to check it.</p> @@ -2069,9 +2143,9 @@ it.</p> <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_ip_route_get_next_hop_binary (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>, - <em class="parameter"><code><span class="type">gpointer</span> next_hop</code></em>);</pre> + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> next_hop</code></em>);</pre> <p>Gets the next hop property of this route object.</p> <p><em class="parameter"><code>next_hop</code></em> must point to a buffer that is the correct size for <em class="parameter"><code>route</code></em> @@ -2101,8 +2175,8 @@ nm_ip_route_get_next_hop_binary (<em class="parameter"><code><a class="link" hre </div> <div class="refsect3"> <a name="nm-ip-route-get-next-hop-binary.returns"></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 +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>route</code></em> +has a next hop, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not (in which case <em class="parameter"><code>next_hop</code></em> will be zeroed out)</p> </div> @@ -2112,10 +2186,10 @@ will be zeroed out)</p> <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> + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> next_hop</code></em>);</pre> <p>Sets the destination property of this route object.</p> <p><em class="parameter"><code>next_hop</code></em> - (if non-<code class="literal">NULL</code>) must point to a buffer that is the correct size for + (if non-<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>) must point to a buffer that is the correct size for <em class="parameter"><code>route</code></em> 's family.</p> <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> @@ -2145,7 +2219,7 @@ nm_ip_route_set_next_hop_binary (<em class="parameter"><code><a class="link" hre <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a> nm_ip_route_get_metric (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>);</pre> <p>Gets the route metric property of this route object; lower values indicate "better" or more preferred routes; -1 indicates "default" @@ -2175,7 +2249,7 @@ indicate "better" or more preferred routes; -1 indicates "default" <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> + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> metric</code></em>);</pre> <p>Sets the metric property of this route object.</p> <div class="refsect3"> <a name="nm-ip-route-set-metric.parameters"></a><h4>Parameters</h4> @@ -2224,14 +2298,14 @@ nm_ip_route_get_attribute_names (<em class="parameter"><code><a class="link" hre </div> <div class="refsect3"> <a name="nm-ip-route-get-attribute-names.returns"></a><h4>Returns</h4> -<p> a <code class="literal">NULL</code>-terminated array of attribute names. </p> +<p> a <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of attribute names. </p> <p><span class="annotation">[<acronym title="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> * +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * nm_ip_route_get_attribute (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>, <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre> <p>Gets the value of the attribute with name <em class="parameter"><code>name</code></em> @@ -2264,7 +2338,7 @@ nm_ip_route_get_attribute (<em class="parameter"><code><a class="link" href="NMS <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> +, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>route</code></em> has no such attribute. </p> <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p> </div> @@ -2275,7 +2349,7 @@ has no such attribute. </p> <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> + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre> <p>Sets the named attribute on <em class="parameter"><code>route</code></em> to the given value.</p> <div class="refsect3"> @@ -2321,12 +2395,12 @@ nm_ip_route_get_variant_attribute_spec <hr> <div class="refsect2"> <a name="nm-ip-route-attribute-validate"></a><h3>nm_ip_route_attribute_validate ()</h3> -<pre class="programlisting"><span class="returnvalue">gboolean</span> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_ip_route_attribute_validate (<em class="parameter"><code>const <span class="type">char</span> *name</code></em>, - <em class="parameter"><code><span class="type">GVariant</span> *value</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *value</code></em>, <em class="parameter"><code><span class="type">int</span> family</code></em>, - <em class="parameter"><code><span class="type">gboolean</span> *known</code></em>, - <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *known</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> <p>Validates a route attribute, i.e. checks that the attribute is a known one and the value is of the correct type and well-formed.</p> <div class="refsect3"> @@ -2360,7 +2434,7 @@ and the value is of the correct type and well-formed.</p> </tr> <tr> <td class="parameter_name"><p>error</p></td> -<td class="parameter_description"><p> return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>. </p></td> +<td class="parameter_description"><p> return location for a <a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> </tr> </tbody> @@ -2368,7 +2442,7 @@ and the value is of the correct type and well-formed.</p> </div> <div class="refsect3"> <a name="nm-ip-route-attribute-validate.returns"></a><h4>Returns</h4> -<p> <code class="literal">TRUE</code> if the attribute is valid, <code class="literal">FALSE</code> otherwise</p> +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the attribute is valid, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p> </div> <p class="since">Since: 1.8</p> </div> @@ -2402,7 +2476,7 @@ methods available with each type.</p> <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> nm_setting_ip_config_get_num_dns (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> <div class="refsect3"> <a name="nm-setting-ip-config-get-num-dns.parameters"></a><h4>Parameters</h4> @@ -2461,7 +2535,7 @@ nm_setting_ip_config_get_dns (<em class="parameter"><code><a class="link" href=" <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_ip_config_add_dns (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>, <em class="parameter"><code>const <span class="type">char</span> *dns</code></em>);</pre> <p>Adds a new DNS server to the setting.</p> @@ -2489,7 +2563,7 @@ nm_setting_ip_config_add_dns (<em class="parameter"><code><a class="link" href=" </div> <div class="refsect3"> <a name="nm-setting-ip-config-add-dns.returns"></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 +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the DNS server was added; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the server was already known</p> </div> </div> @@ -2527,7 +2601,7 @@ nm_setting_ip_config_remove_dns (<em class="parameter"><code><a class="link" hre <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_ip_config_remove_dns_by_value (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>, <em class="parameter"><code>const <span class="type">char</span> *dns</code></em>);</pre> @@ -2557,7 +2631,7 @@ nm_setting_ip_config_remove_dns_by_value </div> <div class="refsect3"> <a name="nm-setting-ip-config-remove-dns-by-value.returns"></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> +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the DNS server was found and removed; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it was not.</p> </div> </div> <hr> @@ -2585,7 +2659,7 @@ nm_setting_ip_config_clear_dns (<em class="parameter"><code><a class="link" href <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> nm_setting_ip_config_get_num_dns_searches (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> <div class="refsect3"> @@ -2645,7 +2719,7 @@ nm_setting_ip_config_get_dns_search (<em class="parameter"><code><a class="link" <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_ip_config_add_dns_search (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>, <em class="parameter"><code>const <span class="type">char</span> *dns_search</code></em>);</pre> <p>Adds a new DNS search domain to the setting.</p> @@ -2673,7 +2747,7 @@ nm_setting_ip_config_add_dns_search (<em class="parameter"><code><a class="link" </div> <div class="refsect3"> <a name="nm-setting-ip-config-add-dns-search.returns"></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 +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the DNS search domain was added; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the search domain was already known</p> </div> </div> @@ -2712,7 +2786,7 @@ nm_setting_ip_config_remove_dns_search <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_ip_config_remove_dns_search_by_value (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>, <em class="parameter"><code>const <span class="type">char</span> *dns_search</code></em>);</pre> @@ -2742,7 +2816,7 @@ nm_setting_ip_config_remove_dns_search_by_value </div> <div class="refsect3"> <a name="nm-setting-ip-config-remove-dns-search-by-value.returns"></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> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the DNS search domain was found and removed; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it was not.</p> <p>Since 0.9.10</p> </div> </div> @@ -2772,7 +2846,7 @@ nm_setting_ip_config_clear_dns_searches <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> nm_setting_ip_config_get_num_dns_options (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> <div class="refsect3"> @@ -2799,7 +2873,7 @@ nm_setting_ip_config_get_num_dns_options <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_ip_config_has_dns_options (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> <p>NMSettingIPConfig can have a list of dns-options. If the list is empty, there are two similar (but differentiated) states. @@ -2831,7 +2905,7 @@ a default configuration, while the former explicitly means "no-options".</p> <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> + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> <div class="refsect3"> <a name="nm-setting-ip-config-get-dns-option.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> @@ -2864,10 +2938,10 @@ nm_setting_ip_config_get_dns_option (<em class="parameter"><code><a class="link" <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> 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> + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> <div class="refsect3"> <a name="nm-setting-ip-config-next-valid-dns-option.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> @@ -2901,7 +2975,7 @@ DNS option, or -1 if no valid option is found</p> <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_ip_config_add_dns_option (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>, <em class="parameter"><code>const <span class="type">char</span> *dns_option</code></em>);</pre> <p>Adds a new DNS option to the setting.</p> @@ -2929,7 +3003,7 @@ nm_setting_ip_config_add_dns_option (<em class="parameter"><code><a class="link" </div> <div class="refsect3"> <a name="nm-setting-ip-config-add-dns-option.returns"></a><h4>Returns</h4> -<p> <code class="literal">TRUE</code> if the DNS option was added; <code class="literal">FALSE</code> otherwise</p> +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the DNS option was added; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p> </div> <p class="since">Since: 1.2</p> </div> @@ -2969,7 +3043,7 @@ nm_setting_ip_config_remove_dns_option <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_ip_config_remove_dns_option_by_value (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>, <em class="parameter"><code>const <span class="type">char</span> *dns_option</code></em>);</pre> @@ -2999,7 +3073,7 @@ nm_setting_ip_config_remove_dns_option_by_value </div> <div class="refsect3"> <a name="nm-setting-ip-config-remove-dns-option-by-value.returns"></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> +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the DNS option was found and removed; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it was not.</p> </div> <p class="since">Since: 1.2</p> </div> @@ -3009,7 +3083,7 @@ nm_setting_ip_config_remove_dns_option_by_value <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> + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_set</code></em>);</pre> <p>Removes all configured DNS options.</p> <div class="refsect3"> <a name="nm-setting-ip-config-clear-dns-options.parameters"></a><h4>Parameters</h4> @@ -3039,7 +3113,7 @@ Specify how to clear the options.</p></td> <hr> <div class="refsect2"> <a name="nm-setting-ip-config-get-dns-priority"></a><h3>nm_setting_ip_config_get_dns_priority ()</h3> -<pre class="programlisting"><span class="returnvalue">gint</span> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> nm_setting_ip_config_get_dns_priority (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> <div class="refsect3"> <a name="nm-setting-ip-config-get-dns-priority.parameters"></a><h4>Parameters</h4> @@ -3065,7 +3139,7 @@ nm_setting_ip_config_get_dns_priority (<em class="parameter"><code><a class="lin <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> nm_setting_ip_config_get_num_addresses (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> <div class="refsect3"> @@ -3126,7 +3200,7 @@ nm_setting_ip_config_get_address (<em class="parameter"><code><a class="link" hr <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_ip_config_add_address (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>, <em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *address</code></em>);</pre> <p>Adds a new IP address and associated information to the setting. The @@ -3155,7 +3229,7 @@ given address is duplicated internally and is not changed by this function.</p> </div> <div class="refsect3"> <a name="nm-setting-ip-config-add-address.returns"></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 +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the address was added; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the address was already known.</p> </div> </div> @@ -3193,7 +3267,7 @@ nm_setting_ip_config_remove_address (<em class="parameter"><code><a class="link" <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_ip_config_remove_address_by_value (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>, <em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> *address</code></em>);</pre> @@ -3223,7 +3297,7 @@ nm_setting_ip_config_remove_address_by_value </div> <div class="refsect3"> <a name="nm-setting-ip-config-remove-address-by-value.returns"></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> +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the address was found and removed; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it was not.</p> </div> </div> <hr> @@ -3271,13 +3345,13 @@ nm_setting_ip_config_get_gateway (<em class="parameter"><code><a class="link" hr <div class="refsect3"> <a name="nm-setting-ip-config-get-gateway.returns"></a><h4>Returns</h4> <p> the IP address of the gateway associated with this configuration, or -<code class="literal">NULL</code>.</p> +<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p> </div> </div> <hr> <div class="refsect2"> <a name="nm-setting-ip-config-get-num-routes"></a><h3>nm_setting_ip_config_get_num_routes ()</h3> -<pre class="programlisting"><span class="returnvalue">guint</span> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> nm_setting_ip_config_get_num_routes (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> <div class="refsect3"> <a name="nm-setting-ip-config-get-num-routes.parameters"></a><h4>Parameters</h4> @@ -3337,11 +3411,16 @@ nm_setting_ip_config_get_route (<em class="parameter"><code><a class="link" href <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_ip_config_add_route (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>, <em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>);</pre> -<p>Adds a new route and associated information to the setting. The -given route is duplicated internally and is not changed by this function.</p> +<p>Appends a new route and associated information to the setting. The +given route is duplicated internally and is not changed by this function. +If an identical route (considering attributes as well) already exists, the +route is not added and the function returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p> +<p>Note that before 1.10, this function would not consider route attributes +and not add a route that has an existing route with same dest/prefix,next_hop,metric +parameters.</p> <div class="refsect3"> <a name="nm-setting-ip-config-add-route.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> @@ -3366,7 +3445,7 @@ given route is duplicated internally and is not changed by this function.</p> </div> <div class="refsect3"> <a name="nm-setting-ip-config-add-route.returns"></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> +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the route was added; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the route was already known.</p> </div> </div> <hr> @@ -3403,12 +3482,15 @@ nm_setting_ip_config_remove_route (<em class="parameter"><code><a class="link" h <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_ip_config_remove_route_by_value (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>, <em class="parameter"><code><a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> *route</code></em>);</pre> -<p>Removes the route <em class="parameter"><code>route</code></em> -.</p> +<p>Removes the first matching route that matches <em class="parameter"><code>route</code></em> +. +Note that before 1.10, this function would only compare dest/prefix,next_hop,metric +and ignore route attributes. Now, <em class="parameter"><code>route</code></em> + must match exactly.</p> <div class="refsect3"> <a name="nm-setting-ip-config-remove-route-by-value.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> @@ -3433,7 +3515,7 @@ nm_setting_ip_config_remove_route_by_value </div> <div class="refsect3"> <a name="nm-setting-ip-config-remove-route-by-value.returns"></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> +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the route was found and removed; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it was not.</p> </div> </div> <hr> @@ -3461,7 +3543,7 @@ nm_setting_ip_config_clear_routes (<em class="parameter"><code><a class="link" h <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a> nm_setting_ip_config_get_route_metric (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> <p>Returns the value contained in the <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--route-metric" title="The “route-metric” property"><span class="type">“route-metric”</span></a> property.</p> @@ -3488,8 +3570,36 @@ specify a metric. See <a class="link" href="NMSettingIPConfig.html#NMSettingIPCo </div> <hr> <div class="refsect2"> +<a name="nm-setting-ip-config-get-route-table"></a><h3>nm_setting_ip_config_get_route_table ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> +nm_setting_ip_config_get_route_table (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> +<p>Returns the value contained in the <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--route-table" title="The “route-table” property"><span class="type">“route-table”</span></a> +property.</p> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-route-table.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>setting</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ip-config-get-route-table.returns"></a><h4>Returns</h4> +<p> the configured route-table.</p> +</div> +<p class="since">Since: 1.10</p> +</div> +<hr> +<div class="refsect2"> <a name="nm-setting-ip-config-get-ignore-auto-routes"></a><h3>nm_setting_ip_config_get_ignore_auto_routes ()</h3> -<pre class="programlisting"><span class="returnvalue">gboolean</span> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_ip_config_get_ignore_auto_routes (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> <p>Returns the value contained in the <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--ignore-auto-routes" title="The “ignore-auto-routes” property"><span class="type">“ignore-auto-routes”</span></a> @@ -3511,14 +3621,14 @@ property.</p> </div> <div class="refsect3"> <a name="nm-setting-ip-config-get-ignore-auto-routes.returns"></a><h4>Returns</h4> -<p> <code class="literal">TRUE</code> if automatically configured (ie via DHCP) routes should be +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if automatically configured (ie via DHCP) routes should be ignored.</p> </div> </div> <hr> <div class="refsect2"> <a name="nm-setting-ip-config-get-ignore-auto-dns"></a><h3>nm_setting_ip_config_get_ignore_auto_dns ()</h3> -<pre class="programlisting"><span class="returnvalue">gboolean</span> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_ip_config_get_ignore_auto_dns (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> <p>Returns the value contained in the <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--ignore-auto-dns" title="The “ignore-auto-dns” property"><span class="type">“ignore-auto-dns”</span></a> @@ -3540,7 +3650,7 @@ property.</p> </div> <div class="refsect3"> <a name="nm-setting-ip-config-get-ignore-auto-dns.returns"></a><h4>Returns</h4> -<p> <code class="literal">TRUE</code> if automatically configured (ie via DHCP) DNS information +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if automatically configured (ie via DHCP) DNS information should be ignored.</p> </div> </div> @@ -3575,7 +3685,7 @@ property.</p> <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_ip_config_get_dhcp_send_hostname (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> <p>Returns the value contained in the <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--dhcp-send-hostname" title="The “dhcp-send-hostname” property"><span class="type">“dhcp-send-hostname”</span></a> @@ -3597,7 +3707,7 @@ property.</p> </div> <div class="refsect3"> <a name="nm-setting-ip-config-get-dhcp-send-hostname.returns"></a><h4>Returns</h4> -<p> <code class="literal">TRUE</code> if NetworkManager should send the machine hostname to the +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if NetworkManager should send the machine hostname to the DHCP server when requesting addresses to allow the server to automatically update DNS information for this machine.</p> </div> @@ -3605,7 +3715,7 @@ update DNS information for this machine.</p> <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_ip_config_get_never_default (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> <p>Returns the value contained in the <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--never-default" title="The “never-default” property"><span class="type">“never-default”</span></a> @@ -3627,14 +3737,14 @@ property.</p> </div> <div class="refsect3"> <a name="nm-setting-ip-config-get-never-default.returns"></a><h4>Returns</h4> -<p> <code class="literal">TRUE</code> if this connection should never be the default +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if this connection should never be the default connection</p> </div> </div> <hr> <div class="refsect2"> <a name="nm-setting-ip-config-get-may-fail"></a><h3>nm_setting_ip_config_get_may_fail ()</h3> -<pre class="programlisting"><span class="returnvalue">gboolean</span> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_setting_ip_config_get_may_fail (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> <p>Returns the value contained in the <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--may-fail" title="The “may-fail” property"><span class="type">“may-fail”</span></a> property.</p> @@ -3655,14 +3765,14 @@ property.</p> </div> <div class="refsect3"> <a name="nm-setting-ip-config-get-may-fail.returns"></a><h4>Returns</h4> -<p> <code class="literal">TRUE</code> if this connection doesn't require this type of IP +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if this connection doesn't require this type of IP addressing to complete for the connection to succeed.</p> </div> </div> <hr> <div class="refsect2"> <a name="nm-setting-ip-config-get-dad-timeout"></a><h3>nm_setting_ip_config_get_dad_timeout ()</h3> -<pre class="programlisting"><span class="returnvalue">gint</span> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> nm_setting_ip_config_get_dad_timeout (<em class="parameter"><code><a class="link" href="NMSettingIPConfig.html" title="NMSettingIPConfig"><span class="type">NMSettingIPConfig</span></a> *setting</code></em>);</pre> <div class="refsect3"> <a name="nm-setting-ip-config-get-dad-timeout.parameters"></a><h4>Parameters</h4> @@ -3688,7 +3798,7 @@ nm_setting_ip_config_get_dad_timeout (<em class="parameter"><code><a class="link <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> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> 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> @@ -3718,6 +3828,12 @@ the particular kind of device.</p> <div class="refsect1"> <a name="NMSettingIPConfig.other_details"></a><h2>Types and Values</h2> <div class="refsect2"> +<a name="NM-IP-ROUTE-ATTRIBUTE-TABLE:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_TABLE</h3> +<pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_TABLE "table" +</pre> +</div> +<hr> +<div class="refsect2"> <a name="NM-IP-ROUTE-ATTRIBUTE-SRC:CAPS"></a><h3>NM_IP_ROUTE_ATTRIBUTE_SRC</h3> <pre class="programlisting">#define NM_IP_ROUTE_ATTRIBUTE_SRC "src" </pre> @@ -3856,6 +3972,12 @@ the particular kind of device.</p> </div> <hr> <div class="refsect2"> +<a name="NM-SETTING-IP-CONFIG-ROUTE-TABLE:CAPS"></a><h3>NM_SETTING_IP_CONFIG_ROUTE_TABLE</h3> +<pre class="programlisting">#define NM_SETTING_IP_CONFIG_ROUTE_TABLE "route-table" +</pre> +</div> +<hr> +<div class="refsect2"> <a name="NM-SETTING-IP-CONFIG-IGNORE-AUTO-ROUTES:CAPS"></a><h3>NM_SETTING_IP_CONFIG_IGNORE_AUTO_ROUTES</h3> <pre class="programlisting">#define NM_SETTING_IP_CONFIG_IGNORE_AUTO_ROUTES "ignore-auto-routes" </pre> @@ -4002,7 +4124,7 @@ the particular kind of device.</p> <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> +<pre class="programlisting"> “addresses” <a href="https://developer.gnome.org/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *</pre> <p>Array of IP addresses.</p> <p>Element-Type: NMIPAddress</p> <p>Flags: Read / Write</p> @@ -4010,7 +4132,7 @@ the particular kind of device.</p> <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> +<pre class="programlisting"> “dad-timeout” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></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 @@ -4025,8 +4147,8 @@ timeout in milliseconds.</p> <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 +<pre class="programlisting"> “dhcp-hostname” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</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 <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, 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> @@ -4036,19 +4158,19 @@ cannot be set at the same time.</p> <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. +<pre class="programlisting"> “dhcp-send-hostname” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> +<p>If <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, 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> +<a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--dhcp-hostname" title="The “dhcp-hostname” property"><span class="type">“dhcp-hostname”</span></a> property is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> and this property is +<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, 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> +<pre class="programlisting"> “dhcp-timeout” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> <p>A timeout for a DHCP transaction in seconds.</p> <p>Flags: Read / Write</p> <p>Allowed values: >= 0</p> @@ -4057,16 +4179,16 @@ providing a static hostname for the computer. If the <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> +<pre class="programlisting"> “dns” <a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></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> +<pre class="programlisting"> “dns-options” <a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></pre> <p>Array of DNS options as described in man 5 resolv.conf.</p> -<p><code class="literal">NULL</code> means that the options are unset and left at the default. +<p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> 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> @@ -4075,7 +4197,7 @@ distinct from an empty list of properties.</p> <hr> <div class="refsect2"> <a name="NMSettingIPConfig--dns-priority"></a><h3>The <code class="literal">“dns-priority”</code> property</h3> -<pre class="programlisting"> “dns-priority” <span class="type">gint</span></pre> +<pre class="programlisting"> “dns-priority” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> <p>Intra-connection DNS priority.</p> <p>The relative priority to be used when determining the order of DNS servers in resolv.conf. A lower value means that servers will be on top @@ -4099,14 +4221,14 @@ value will be used.</p> <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> +<pre class="programlisting"> “dns-search” <a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></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> +<pre class="programlisting"> “gateway” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</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> @@ -4115,9 +4237,9 @@ if <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig--addresses" ti <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> +<pre class="programlisting"> “ignore-auto-dns” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></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 +<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, 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> @@ -4127,9 +4249,9 @@ any, are used.</p> <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> +<pre class="programlisting"> “ignore-auto-routes” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></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 +<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, 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> @@ -4137,12 +4259,12 @@ specified in the <a class="link" href="NMSettingIPConfig.html#NMSettingIPConfig- <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 +<pre class="programlisting"> “may-fail” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> +<p>If <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, 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 +<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> 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> @@ -4151,7 +4273,7 @@ successfully.</p> <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> +<pre class="programlisting"> “method” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</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 @@ -4171,8 +4293,8 @@ manual IPv4 address or otherwise 10.42.x.0/24 is chosen.</p> <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 +<pre class="programlisting"> “never-default” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> +<p>If <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, 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> @@ -4181,9 +4303,9 @@ NetworkManager.</p> <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> +<pre class="programlisting"> “route-metric” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></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 +The default value -1 means that the metric is chosen 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 @@ -4198,8 +4320,28 @@ For IPv4, zero is a regular value for the metric.</p> </div> <hr> <div class="refsect2"> +<a name="NMSettingIPConfig--route-table"></a><h3>The <code class="literal">“route-table”</code> property</h3> +<pre class="programlisting"> “route-table” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre> +<p>Enable policy routing (source routing) and set the routing table used when adding routes.</p> +<p>This affects all routes, including device-routes, IPv4LL, DHCP, SLAAC, default-routes +and static routes. But note that static routes can individually overwrite the setting +by explicitly specifying a non-zero routing table.</p> +<p>If the table setting is left at zero, it is eligible to be overwritten via global +configuration. If the property is zero even after applying the global configuration +value, policy routing is disabled for the address family of this connection.</p> +<p>Policy routing disabled means that NetworkManager will add all routes to the main +table (except static routes that explicitly configure a different table). Additionally, +NetworkManager will not delete any extraneous routes from tables except the main table. +This is to preserve backward compatibility for users who manage routing tables outside +of NetworkManager.</p> +<p>Flags: Read / Write</p> +<p>Default value: 0</p> +<p class="since">Since: 1.10</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> +<pre class="programlisting"> “routes” <a href="https://developer.gnome.org/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *</pre> <p>Array of IP routes.</p> <p>Element-Type: NMIPRoute</p> <p>Flags: Read / Write</p> |