From afcd268ea7b1149fbfb66bce4eca659b675da0a2 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Tue, 12 Dec 2017 15:53:07 +0100 Subject: New upstream version 1.10.2 --- docs/libnm/html/NMSettingIPConfig.html | 428 +++++++++++++++++---------------- 1 file changed, 219 insertions(+), 209 deletions(-) (limited to 'docs/libnm/html/NMSettingIPConfig.html') diff --git a/docs/libnm/html/NMSettingIPConfig.html b/docs/libnm/html/NMSettingIPConfig.html index f0a5107f..341714ed 100644 --- a/docs/libnm/html/NMSettingIPConfig.html +++ b/docs/libnm/html/NMSettingIPConfig.html @@ -8,7 +8,7 @@ - + @@ -76,7 +76,7 @@ -gboolean +gboolean nm_ip_address_equal () @@ -131,7 +131,7 @@ -guint +guint nm_ip_address_get_prefix () @@ -155,7 +155,7 @@ -GVariant * +GVariant * nm_ip_address_get_attribute () @@ -203,7 +203,7 @@ -gboolean +gboolean nm_ip_route_equal () @@ -211,7 +211,7 @@ -gboolean +gboolean nm_ip_route_equal_full () @@ -266,7 +266,7 @@ -guint +guint nm_ip_route_get_prefix () @@ -297,7 +297,7 @@ -gboolean +gboolean nm_ip_route_get_next_hop_binary () @@ -313,7 +313,7 @@ -gint64 +gint64 nm_ip_route_get_metric () @@ -337,7 +337,7 @@ -GVariant * +GVariant * nm_ip_route_get_attribute () @@ -360,7 +360,7 @@ -gboolean +gboolean nm_ip_route_attribute_validate () @@ -375,7 +375,7 @@ -guint +guint nm_setting_ip_config_get_num_dns () @@ -390,7 +390,7 @@ -gboolean +gboolean nm_setting_ip_config_add_dns () @@ -406,7 +406,7 @@ -gboolean +gboolean nm_setting_ip_config_remove_dns_by_value () @@ -422,7 +422,7 @@ -guint +guint nm_setting_ip_config_get_num_dns_searches () @@ -437,7 +437,7 @@ -gboolean +gboolean nm_setting_ip_config_add_dns_search () @@ -453,7 +453,7 @@ -gboolean +gboolean nm_setting_ip_config_remove_dns_search_by_value () @@ -469,7 +469,7 @@ -guint +guint nm_setting_ip_config_get_num_dns_options () @@ -477,7 +477,7 @@ -gboolean +gboolean nm_setting_ip_config_has_dns_options () @@ -492,7 +492,7 @@ -gint +gint nm_setting_ip_config_next_valid_dns_option () @@ -500,7 +500,7 @@ -gboolean +gboolean nm_setting_ip_config_add_dns_option () @@ -516,7 +516,7 @@ -gboolean +gboolean nm_setting_ip_config_remove_dns_option_by_value () @@ -532,7 +532,7 @@ -gint +gint nm_setting_ip_config_get_dns_priority () @@ -540,7 +540,7 @@ -guint +guint nm_setting_ip_config_get_num_addresses () @@ -556,7 +556,7 @@ -gboolean +gboolean nm_setting_ip_config_add_address () @@ -572,7 +572,7 @@ -gboolean +gboolean nm_setting_ip_config_remove_address_by_value () @@ -595,7 +595,7 @@ -guint +guint nm_setting_ip_config_get_num_routes () @@ -611,7 +611,7 @@ -gboolean +gboolean nm_setting_ip_config_add_route () @@ -627,7 +627,7 @@ -gboolean +gboolean nm_setting_ip_config_remove_route_by_value () @@ -643,7 +643,7 @@ -gint64 +gint64 nm_setting_ip_config_get_route_metric () @@ -651,7 +651,7 @@ -guint32 +guint32 nm_setting_ip_config_get_route_table () @@ -659,7 +659,7 @@ -gboolean +gboolean nm_setting_ip_config_get_ignore_auto_routes () @@ -667,7 +667,7 @@ -gboolean +gboolean nm_setting_ip_config_get_ignore_auto_dns () @@ -682,7 +682,7 @@ -gboolean +gboolean nm_setting_ip_config_get_dhcp_send_hostname () @@ -690,7 +690,7 @@ -gboolean +gboolean nm_setting_ip_config_get_never_default () @@ -698,7 +698,7 @@ -gboolean +gboolean nm_setting_ip_config_get_may_fail () @@ -706,7 +706,7 @@ -gint +gint nm_setting_ip_config_get_dad_timeout () @@ -714,7 +714,7 @@ -gint +gint nm_setting_ip_config_get_dhcp_timeout () @@ -734,96 +734,96 @@ -GPtrArray * +GPtrArray * addresses Read / Write -gint +gint dad-timeout Read / Write / Construct -gchar * +gchar * dhcp-hostname Read / Write -gboolean +gboolean dhcp-send-hostname Read / Write / Construct -gint +gint dhcp-timeout Read / Write -GStrv +GStrv dns Read / Write -GStrv +GStrv dns-options Read / Write -gint +gint dns-priority Read / Write / Construct -GStrv +GStrv dns-search Read / Write -gchar * +gchar * gateway Read / Write -gboolean +gboolean ignore-auto-dns Read / Write / Construct -gboolean +gboolean ignore-auto-routes Read / Write / Construct -gboolean +gboolean may-fail Read / Write / Construct -gchar * +gchar * method Read / Write -gboolean +gboolean never-default Read / Write / Construct -gint64 +gint64 route-metric Read / Write / Construct -guint +guint route-table Read / Write -GPtrArray * +GPtrArray * routes Read / Write @@ -856,6 +856,10 @@ #define +NM_IP_ROUTE_ATTRIBUTE_ONLINK + + +#define NM_IP_ROUTE_ATTRIBUTE_WINDOW @@ -1039,10 +1043,10 @@

Object Hierarchy

-
    GBoxed
+
    GBoxed
     ├── NMIPAddress
     ╰── NMIPRoute
-    GObject
+    GObject
     ╰── NMSetting
         ╰── NMSettingIPConfig
             ├── NMSettingIP4Config
@@ -1067,8 +1071,8 @@ related to IP addressing, routing, and Domain Name Service.

NMIPAddress *
 nm_ip_address_new (int family,
                    const char *addr,
-                   guint prefix,
-                   GError **error);
+ guint prefix, + GError **error);

Creates a new NMIPAddress object.

Parameters

@@ -1097,7 +1101,7 @@ nm_ip_address_new (int fam

error

-

location to store error, or NULL

+

location to store error, or NULL

  @@ -1105,7 +1109,7 @@ nm_ip_address_new (int fam

Returns

-

the new NMIPAddress object, or NULL on error.

+

the new NMIPAddress object, or NULL on error.

[transfer full]

@@ -1114,9 +1118,9 @@ nm_ip_address_new (int fam

nm_ip_address_new_binary ()

NMIPAddress *
 nm_ip_address_new_binary (int family,
-                          gconstpointer addr,
-                          guint prefix,
-                          GError **error);
+ gconstpointer addr, + guint prefix, + GError **error);

Creates a new NMIPAddress object. addr must point to a buffer of the correct size for family @@ -1148,7 +1152,7 @@ correct size for family

error

-

location to store error, or NULL

+

location to store error, or NULL

  @@ -1156,7 +1160,7 @@ correct size for family

Returns

-

the new NMIPAddress object, or NULL on error.

+

the new NMIPAddress object, or NULL on error.

[transfer full]

@@ -1208,7 +1212,7 @@ reaches zero, the object will be destroyed.


nm_ip_address_equal ()

-
gboolean
+
gboolean
 nm_ip_address_equal (NMIPAddress *address,
                      NMIPAddress *other);

Determines if two NMIPAddress objects contain the same address and prefix @@ -1238,7 +1242,7 @@ to.

Returns

-

TRUE if the objects contain the same values, FALSE if they do not.

+

TRUE if the objects contain the same values, FALSE if they do not.


@@ -1265,7 +1269,7 @@ nm_ip_address_dup (

Returns

-

a copy of address +

a copy of address .

[transfer full]

@@ -1362,7 +1366,7 @@ have a valid address, use

nm_ip_address_get_address_binary ()

void
 nm_ip_address_get_address_binary (NMIPAddress *address,
-                                  gpointer addr);
+ gpointer addr);

Gets the IP address property of this address object.

addr must point to a buffer that is the correct size for address @@ -1396,7 +1400,7 @@ nm_ip_address_get_address_binary (

nm_ip_address_set_address_binary ()

void
 nm_ip_address_set_address_binary (NMIPAddress *address,
-                                  gconstpointer addr);
+ gconstpointer addr);

Sets the IP address property of this address object.

addr must point to a buffer that is the correct size for address @@ -1428,7 +1432,7 @@ nm_ip_address_set_address_binary (

nm_ip_address_get_prefix ()

-
guint
+
guint
 nm_ip_address_get_prefix (NMIPAddress *address);

Gets the IP address prefix (ie "24" or "30" etc) property of this address object.

@@ -1457,7 +1461,7 @@ object.

nm_ip_address_set_prefix ()

void
 nm_ip_address_set_prefix (NMIPAddress *address,
-                          guint prefix);
+ guint prefix);

Sets the IP address prefix property of this address object.

Parameters

@@ -1506,14 +1510,14 @@ nm_ip_address_get_attribute_names (

Returns

-

a NULL-terminated array of attribute names,.

+

a NULL-terminated array of attribute names,.

[transfer full]


nm_ip_address_get_attribute ()

-
GVariant *
+
GVariant *
 nm_ip_address_get_attribute (NMIPAddress *address,
                              const char *name);

Gets the value of the attribute with name name @@ -1543,10 +1547,10 @@ nm_ip_address_get_attribute (

Returns

-

the value of the attribute with name name +

the value of the attribute with name name on address -, or NULL if address +, or NULL if address has no such attribute.

[transfer none]

@@ -1557,7 +1561,7 @@ has no such attribute.

void
 nm_ip_address_set_attribute (NMIPAddress *address,
                              const char *name,
-                             GVariant *value);
+ GVariant *value);

Sets or clears the named attribute on address to the given value.

@@ -1581,7 +1585,7 @@ nm_ip_address_set_attribute (

value

-

the value.

+

the value.

[transfer none][allow-none] @@ -1594,10 +1598,10 @@ nm_ip_address_set_attribute (
NMIPRoute * nm_ip_route_new (int family, const char *dest, - guint prefix, + guint prefix, const char *next_hop, - gint64 metric, - GError **error); + gint64 metric, + GError **error);

Creates a new NMIPRoute object.

Parameters

@@ -1626,7 +1630,7 @@ nm_ip_route_new (int famil

next_hop

-

the IP address of the next hop (or NULL).

+

the IP address of the next hop (or NULL).

[allow-none] @@ -1636,7 +1640,7 @@ nm_ip_route_new (int famil

error

-

location to store error, or NULL

+

location to store error, or NULL

  @@ -1644,7 +1648,7 @@ nm_ip_route_new (int famil

Returns

-

the new NMIPRoute object, or NULL on error.

+

the new NMIPRoute object, or NULL on error.

[transfer full]

@@ -1653,14 +1657,14 @@ nm_ip_route_new (int famil

nm_ip_route_new_binary ()

NMIPRoute *
 nm_ip_route_new_binary (int family,
-                        gconstpointer dest,
-                        guint prefix,
-                        gconstpointer next_hop,
-                        gint64 metric,
-                        GError **error);
+ gconstpointer dest, + guint prefix, + gconstpointer next_hop, + gint64 metric, + GError **error);

Creates a new NMIPRoute object. dest and next_hop - (if non-NULL) must + (if non-NULL) must point to buffers of the correct size for family .

@@ -1690,7 +1694,7 @@ point to buffers of the correct size for family

next_hop

-

the IP address of the next hop (or NULL).

+

the IP address of the next hop (or NULL).

[allow-none] @@ -1700,7 +1704,7 @@ point to buffers of the correct size for family

error

-

location to store error, or NULL

+

location to store error, or NULL

  @@ -1708,7 +1712,7 @@ point to buffers of the correct size for family

Returns

-

the new NMIPRoute object, or NULL on error.

+

the new NMIPRoute object, or NULL on error.

[transfer full]

@@ -1760,7 +1764,7 @@ reaches zero, the object will be destroyed.


nm_ip_route_equal ()

-
gboolean
+
gboolean
 nm_ip_route_equal (NMIPRoute *route,
                    NMIPRoute *other);

Determines if two NMIPRoute objects contain the same destination, prefix, @@ -1790,16 +1794,16 @@ to.

Returns

-

TRUE if the objects contain the same values, FALSE if they do not.

+

TRUE if the objects contain the same values, FALSE if they do not.


nm_ip_route_equal_full ()

-
gboolean
+
gboolean
 nm_ip_route_equal_full (NMIPRoute *route,
                         NMIPRoute *other,
-                        guint cmp_flags);
+ guint cmp_flags);

Determines if two NMIPRoute objects contain the same destination, prefix, next hop, and metric.

@@ -1834,7 +1838,7 @@ is supported.

Returns

-

TRUE if the objects contain the same values, FALSE if they do not.

+

TRUE if the objects contain the same values, FALSE if they do not.

Since: 1.10

@@ -1862,7 +1866,7 @@ nm_ip_route_dup (

Returns

-

a copy of route +

a copy of route .

[transfer full]

@@ -1959,7 +1963,7 @@ have a valid address, use

nm_ip_route_get_dest_binary ()

void
 nm_ip_route_get_dest_binary (NMIPRoute *route,
-                             gpointer dest);
+ gpointer dest);

Gets the destination property of this route object.

dest must point to a buffer that is the correct size for route @@ -1993,7 +1997,7 @@ nm_ip_route_get_dest_binary (

nm_ip_route_set_dest_binary ()

void
 nm_ip_route_set_dest_binary (NMIPRoute *route,
-                             gconstpointer dest);
+ gconstpointer dest);

Sets the destination property of this route object.

dest must point to a buffer that is the correct size for route @@ -2025,7 +2029,7 @@ nm_ip_route_set_dest_binary (

nm_ip_route_get_prefix ()

-
guint
+
guint
 nm_ip_route_get_prefix (NMIPRoute *route);

Gets the IP prefix (ie "24" or "30" etc) of this route.

@@ -2053,7 +2057,7 @@ nm_ip_route_get_prefix (

nm_ip_route_set_prefix ()

void
 nm_ip_route_set_prefix (NMIPRoute *route,
-                        guint prefix);
+ guint prefix);

Sets the prefix property of this route object.

Parameters

@@ -2083,7 +2087,7 @@ nm_ip_route_set_prefix (

nm_ip_route_get_next_hop ()

const char *
 nm_ip_route_get_next_hop (NMIPRoute *route);
-

Gets the IP address of the next hop of this route; this will be NULL if the +

Gets the IP address of the next hop of this route; this will be NULL if the route has no next hop.

Parameters

@@ -2102,7 +2106,7 @@ route has no next hop.

Returns

-

the IP address of the next hop, or NULL if this is a device route.

+

the IP address of the next hop, or NULL if this is a device route.


@@ -2113,7 +2117,7 @@ nm_ip_route_set_next_hop (const char *next_hop);

Sets the next-hop property of this route object.

next_hop - (if non-NULL) must be a valid address of route + (if non-NULL) must be a valid address of route 's family. If you aren't sure you have a valid address, use nm_utils_ipaddr_valid() to check it.

@@ -2133,7 +2137,7 @@ it.

next_hop

-

the route's next hop, as a string.

+

the route's next hop, as a string.

[allow-none] @@ -2143,9 +2147,9 @@ it.


nm_ip_route_get_next_hop_binary ()

-
gboolean
+
gboolean
 nm_ip_route_get_next_hop_binary (NMIPRoute *route,
-                                 gpointer next_hop);
+ gpointer next_hop);

Gets the next hop property of this route object.

next_hop must point to a buffer that is the correct size for route @@ -2175,8 +2179,8 @@ nm_ip_route_get_next_hop_binary (

Returns

-

TRUE if route -has a next hop, FALSE if not (in which case +

TRUE if route +has a next hop, FALSE if not (in which case next_hop will be zeroed out)

@@ -2186,10 +2190,10 @@ will be zeroed out)

nm_ip_route_set_next_hop_binary ()

void
 nm_ip_route_set_next_hop_binary (NMIPRoute *route,
-                                 gconstpointer next_hop);
+ gconstpointer next_hop);

Sets the destination property of this route object.

next_hop - (if non-NULL) must point to a buffer that is the correct size for + (if non-NULL) must point to a buffer that is the correct size for route 's family.

[skip]

@@ -2219,7 +2223,7 @@ nm_ip_route_set_next_hop_binary (

nm_ip_route_get_metric ()

-
gint64
+
gint64
 nm_ip_route_get_metric (NMIPRoute *route);

Gets the route metric property of this route object; lower values indicate "better" or more preferred routes; -1 indicates "default" @@ -2249,7 +2253,7 @@ indicate "better" or more preferred routes; -1 indicates "default"

nm_ip_route_set_metric ()

void
 nm_ip_route_set_metric (NMIPRoute *route,
-                        gint64 metric);
+ gint64 metric);

Sets the metric property of this route object.

Parameters

@@ -2298,14 +2302,14 @@ nm_ip_route_get_attribute_names (

Returns

-

a NULL-terminated array of attribute names.

+

a NULL-terminated array of attribute names.

[transfer full]


nm_ip_route_get_attribute ()

-
GVariant *
+
GVariant *
 nm_ip_route_get_attribute (NMIPRoute *route,
                            const char *name);

Gets the value of the attribute with name name @@ -2335,10 +2339,10 @@ nm_ip_route_get_attribute (

Returns

-

the value of the attribute with name name +

the value of the attribute with name name on route -, or NULL if route +, or NULL if route has no such attribute.

[transfer none]

@@ -2349,7 +2353,7 @@ has no such attribute.

void
 nm_ip_route_set_attribute (NMIPRoute *route,
                            const char *name,
-                           GVariant *value);
+ GVariant *value);

Sets the named attribute on route to the given value.

@@ -2373,7 +2377,7 @@ nm_ip_route_set_attribute (

value

-

the value.

+

the value.

[transfer none][allow-none] @@ -2395,12 +2399,12 @@ nm_ip_route_get_variant_attribute_spec

nm_ip_route_attribute_validate ()

-
gboolean
+
gboolean
 nm_ip_route_attribute_validate (const char *name,
-                                GVariant *value,
+                                GVariant *value,
                                 int family,
-                                gboolean *known,
-                                GError **error);
+ gboolean *known, + GError **error);

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.

@@ -2429,12 +2433,12 @@ and the value is of the correct type and well-formed.

known

-

on return, whether the attribute name is a known one.

+

on return, whether the attribute name is a known one.

[out]

error

-

return location for a GError, or NULL.

+

return location for a GError, or NULL.

[allow-none] @@ -2442,7 +2446,7 @@ and the value is of the correct type and well-formed.

Returns

-

TRUE if the attribute is valid, FALSE otherwise

+

TRUE if the attribute is valid, FALSE otherwise

Since: 1.8

@@ -2476,7 +2480,7 @@ methods available with each type.


nm_setting_ip_config_get_num_dns ()

-
guint
+
guint
 nm_setting_ip_config_get_num_dns (NMSettingIPConfig *setting);

Parameters

@@ -2535,7 +2539,7 @@ nm_setting_ip_config_get_dns (

nm_setting_ip_config_add_dns ()

-
gboolean
+
gboolean
 nm_setting_ip_config_add_dns (NMSettingIPConfig *setting,
                               const char *dns);

Adds a new DNS server to the setting.

@@ -2563,7 +2567,7 @@ nm_setting_ip_config_add_dns (

Returns

-

TRUE if the DNS server was added; FALSE if the server was already +

TRUE if the DNS server was added; FALSE if the server was already known

@@ -2601,7 +2605,7 @@ nm_setting_ip_config_remove_dns (

nm_setting_ip_config_remove_dns_by_value ()

-
gboolean
+
gboolean
 nm_setting_ip_config_remove_dns_by_value
                                (NMSettingIPConfig *setting,
                                 const char *dns);
@@ -2631,7 +2635,7 @@ nm_setting_ip_config_remove_dns_by_value

Returns

-

TRUE if the DNS server was found and removed; FALSE if it was not.

+

TRUE if the DNS server was found and removed; FALSE if it was not.


@@ -2659,7 +2663,7 @@ nm_setting_ip_config_clear_dns (

nm_setting_ip_config_get_num_dns_searches ()

-
guint
+
guint
 nm_setting_ip_config_get_num_dns_searches
                                (NMSettingIPConfig *setting);
@@ -2719,7 +2723,7 @@ nm_setting_ip_config_get_dns_search (

nm_setting_ip_config_add_dns_search ()

-
gboolean
+
gboolean
 nm_setting_ip_config_add_dns_search (NMSettingIPConfig *setting,
                                      const char *dns_search);

Adds a new DNS search domain to the setting.

@@ -2747,7 +2751,7 @@ nm_setting_ip_config_add_dns_search (

Returns

-

TRUE if the DNS search domain was added; FALSE if the search +

TRUE if the DNS search domain was added; FALSE if the search domain was already known

@@ -2786,7 +2790,7 @@ nm_setting_ip_config_remove_dns_search

nm_setting_ip_config_remove_dns_search_by_value ()

-
gboolean
+
gboolean
 nm_setting_ip_config_remove_dns_search_by_value
                                (NMSettingIPConfig *setting,
                                 const char *dns_search);
@@ -2816,7 +2820,7 @@ nm_setting_ip_config_remove_dns_search_by_value

Returns

-

TRUE if the DNS search domain was found and removed; FALSE if it was not.

+

TRUE if the DNS search domain was found and removed; FALSE if it was not.

Since 0.9.10

@@ -2846,7 +2850,7 @@ nm_setting_ip_config_clear_dns_searches

nm_setting_ip_config_get_num_dns_options ()

-
guint
+
guint
 nm_setting_ip_config_get_num_dns_options
                                (NMSettingIPConfig *setting);
@@ -2873,7 +2877,7 @@ nm_setting_ip_config_get_num_dns_options

nm_setting_ip_config_has_dns_options ()

-
gboolean
+
gboolean
 nm_setting_ip_config_has_dns_options (NMSettingIPConfig *setting);

NMSettingIPConfig can have a list of dns-options. If the list is empty, there are two similar (but differentiated) states. @@ -2897,7 +2901,7 @@ a default configuration, while the former explicitly means "no-options".

Returns

-

whether DNS options are initalized or left unset (the default).

+

whether DNS options are initialized or left unset (the default).


@@ -2905,7 +2909,7 @@ a default configuration, while the former explicitly means "no-options".

nm_setting_ip_config_get_dns_option ()

const char *
 nm_setting_ip_config_get_dns_option (NMSettingIPConfig *setting,
-                                     guint idx);
+ guint idx);

Parameters

@@ -2938,10 +2942,10 @@ nm_setting_ip_config_get_dns_option (

nm_setting_ip_config_next_valid_dns_option ()

-
gint
+
gint
 nm_setting_ip_config_next_valid_dns_option
                                (NMSettingIPConfig *setting,
-                                guint idx);
+ guint idx);

Parameters

@@ -2975,7 +2979,7 @@ DNS option, or -1 if no valid option is found


nm_setting_ip_config_add_dns_option ()

-
gboolean
+
gboolean
 nm_setting_ip_config_add_dns_option (NMSettingIPConfig *setting,
                                      const char *dns_option);

Adds a new DNS option to the setting.

@@ -3003,7 +3007,7 @@ nm_setting_ip_config_add_dns_option (

Returns

-

TRUE if the DNS option was added; FALSE otherwise

+

TRUE if the DNS option was added; FALSE otherwise

Since: 1.2

@@ -3043,7 +3047,7 @@ nm_setting_ip_config_remove_dns_option

nm_setting_ip_config_remove_dns_option_by_value ()

-
gboolean
+
gboolean
 nm_setting_ip_config_remove_dns_option_by_value
                                (NMSettingIPConfig *setting,
                                 const char *dns_option);
@@ -3073,7 +3077,7 @@ nm_setting_ip_config_remove_dns_option_by_value

Returns

-

TRUE if the DNS option was found and removed; FALSE if it was not.

+

TRUE if the DNS option was found and removed; FALSE if it was not.

Since: 1.2

@@ -3083,7 +3087,7 @@ nm_setting_ip_config_remove_dns_option_by_value
void
 nm_setting_ip_config_clear_dns_options
                                (NMSettingIPConfig *setting,
-                                gboolean is_set);
+ gboolean is_set);

Removes all configured DNS options.

Parameters

@@ -3113,7 +3117,7 @@ Specify how to clear the options.


nm_setting_ip_config_get_dns_priority ()

-
gint
+
gint
 nm_setting_ip_config_get_dns_priority (NMSettingIPConfig *setting);

Parameters

@@ -3139,7 +3143,7 @@ nm_setting_ip_config_get_dns_priority (

nm_setting_ip_config_get_num_addresses ()

-
guint
+
guint
 nm_setting_ip_config_get_num_addresses
                                (NMSettingIPConfig *setting);
@@ -3192,7 +3196,7 @@ nm_setting_ip_config_get_address (

Returns

-

the address at index idx +

the address at index idx .

[transfer none]

@@ -3200,7 +3204,7 @@ nm_setting_ip_config_get_address (

nm_setting_ip_config_add_address ()

-
gboolean
+
gboolean
 nm_setting_ip_config_add_address (NMSettingIPConfig *setting,
                                   NMIPAddress *address);

Adds a new IP address and associated information to the setting. The @@ -3229,7 +3233,7 @@ given address is duplicated internally and is not changed by this function.

Returns

-

TRUE if the address was added; FALSE if the address was already +

TRUE if the address was added; FALSE if the address was already known.

@@ -3267,7 +3271,7 @@ nm_setting_ip_config_remove_address (

nm_setting_ip_config_remove_address_by_value ()

-
gboolean
+
gboolean
 nm_setting_ip_config_remove_address_by_value
                                (NMSettingIPConfig *setting,
                                 NMIPAddress *address);
@@ -3297,7 +3301,7 @@ nm_setting_ip_config_remove_address_by_value

Returns

-

TRUE if the address was found and removed; FALSE if it was not.

+

TRUE if the address was found and removed; FALSE if it was not.


@@ -3345,13 +3349,13 @@ nm_setting_ip_config_get_gateway (

Returns

the IP address of the gateway associated with this configuration, or -NULL.

+NULL.


nm_setting_ip_config_get_num_routes ()

-
guint
+
guint
 nm_setting_ip_config_get_num_routes (NMSettingIPConfig *setting);

Parameters

@@ -3403,7 +3407,7 @@ nm_setting_ip_config_get_route (

Returns

-

the route at index idx +

the route at index idx .

[transfer none]

@@ -3411,13 +3415,13 @@ nm_setting_ip_config_get_route (

nm_setting_ip_config_add_route ()

-
gboolean
+
gboolean
 nm_setting_ip_config_add_route (NMSettingIPConfig *setting,
                                 NMIPRoute *route);

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 FALSE.

+route is not added and the function returns FALSE.

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.

@@ -3445,7 +3449,7 @@ parameters.

Returns

-

TRUE if the route was added; FALSE if the route was already known.

+

TRUE if the route was added; FALSE if the route was already known.


@@ -3482,7 +3486,7 @@ nm_setting_ip_config_remove_route (

nm_setting_ip_config_remove_route_by_value ()

-
gboolean
+
gboolean
 nm_setting_ip_config_remove_route_by_value
                                (NMSettingIPConfig *setting,
                                 NMIPRoute *route);
@@ -3515,7 +3519,7 @@ and ignore route attributes. Now, route

Returns

-

TRUE if the route was found and removed; FALSE if it was not.

+

TRUE if the route was found and removed; FALSE if it was not.


@@ -3543,7 +3547,7 @@ nm_setting_ip_config_clear_routes (

nm_setting_ip_config_get_route_metric ()

-
gint64
+
gint64
 nm_setting_ip_config_get_route_metric (NMSettingIPConfig *setting);

Returns the value contained in the “route-metric” property.

@@ -3571,7 +3575,7 @@ specify a metric. See

nm_setting_ip_config_get_route_table ()

-
guint32
+
guint32
 nm_setting_ip_config_get_route_table (NMSettingIPConfig *setting);

Returns the value contained in the “route-table” property.

@@ -3599,7 +3603,7 @@ property.


nm_setting_ip_config_get_ignore_auto_routes ()

-
gboolean
+
gboolean
 nm_setting_ip_config_get_ignore_auto_routes
                                (NMSettingIPConfig *setting);

Returns the value contained in the “ignore-auto-routes” @@ -3621,14 +3625,14 @@ property.

Returns

-

TRUE if automatically configured (ie via DHCP) routes should be +

TRUE if automatically configured (ie via DHCP) routes should be ignored.


nm_setting_ip_config_get_ignore_auto_dns ()

-
gboolean
+
gboolean
 nm_setting_ip_config_get_ignore_auto_dns
                                (NMSettingIPConfig *setting);

Returns the value contained in the “ignore-auto-dns” @@ -3650,7 +3654,7 @@ property.

Returns

-

TRUE if automatically configured (ie via DHCP) DNS information +

TRUE if automatically configured (ie via DHCP) DNS information should be ignored.

@@ -3685,7 +3689,7 @@ property.


nm_setting_ip_config_get_dhcp_send_hostname ()

-
gboolean
+
gboolean
 nm_setting_ip_config_get_dhcp_send_hostname
                                (NMSettingIPConfig *setting);

Returns the value contained in the “dhcp-send-hostname” @@ -3707,7 +3711,7 @@ property.

Returns

-

TRUE if NetworkManager should send the machine hostname to the +

TRUE 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.

@@ -3715,7 +3719,7 @@ update DNS information for this machine.


nm_setting_ip_config_get_never_default ()

-
gboolean
+
gboolean
 nm_setting_ip_config_get_never_default
                                (NMSettingIPConfig *setting);

Returns the value contained in the “never-default” @@ -3737,14 +3741,14 @@ property.

Returns

-

TRUE if this connection should never be the default +

TRUE if this connection should never be the default connection


nm_setting_ip_config_get_may_fail ()

-
gboolean
+
gboolean
 nm_setting_ip_config_get_may_fail (NMSettingIPConfig *setting);

Returns the value contained in the “may-fail” property.

@@ -3765,14 +3769,14 @@ property.

Returns

-

TRUE if this connection doesn't require this type of IP +

TRUE if this connection doesn't require this type of IP addressing to complete for the connection to succeed.


nm_setting_ip_config_get_dad_timeout ()

-
gint
+
gint
 nm_setting_ip_config_get_dad_timeout (NMSettingIPConfig *setting);

Parameters

@@ -3798,7 +3802,7 @@ nm_setting_ip_config_get_dad_timeout (

nm_setting_ip_config_get_dhcp_timeout ()

-
gint
+
gint
 nm_setting_ip_config_get_dhcp_timeout (NMSettingIPConfig *setting);

Returns the value contained in the “dhcp-timeout” property.

@@ -3852,6 +3856,12 @@ the particular kind of device.


+

NM_IP_ROUTE_ATTRIBUTE_ONLINK

+
#define NM_IP_ROUTE_ATTRIBUTE_ONLINK         "onlink"
+
+
+
+

NM_IP_ROUTE_ATTRIBUTE_WINDOW

#define NM_IP_ROUTE_ATTRIBUTE_WINDOW         "window"
 
@@ -4124,7 +4134,7 @@ the particular kind of device.

Property Details

The “addresses” property

-
  “addresses”                GPtrArray *
+
  “addresses”                GPtrArray *

Array of IP addresses.

Element-Type: NMIPAddress

Flags: Read / Write

@@ -4132,7 +4142,7 @@ the particular kind of device.


The “dad-timeout” property

-
  “dad-timeout”              gint
+
  “dad-timeout”              gint

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 @@ -4147,8 +4157,8 @@ timeout in milliseconds.


The “dhcp-hostname” property

-
  “dhcp-hostname”            gchar *
-

If the “dhcp-send-hostname” property is TRUE, then the +

  “dhcp-hostname”            gchar *
+

If the “dhcp-send-hostname” property is TRUE, then the specified name will be sent to the DHCP server when acquiring a lease. This property and “dhcp-fqdn” are mutually exclusive and cannot be set at the same time.

@@ -4158,19 +4168,19 @@ cannot be set at the same time.


The “dhcp-send-hostname” property

-
  “dhcp-send-hostname”       gboolean
-

If TRUE, a hostname is sent to the DHCP server when acquiring a lease. +

  “dhcp-send-hostname”       gboolean
+

If TRUE, 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 -“dhcp-hostname” property is NULL and this property is -TRUE, the current persistent hostname of the computer is sent.

+“dhcp-hostname” property is NULL and this property is +TRUE, the current persistent hostname of the computer is sent.

Flags: Read / Write / Construct

Default value: TRUE


The “dhcp-timeout” property

-
  “dhcp-timeout”             gint
+
  “dhcp-timeout”             gint

A timeout for a DHCP transaction in seconds.

Flags: Read / Write

Allowed values: >= 0

@@ -4179,16 +4189,16 @@ providing a static hostname for the computer. If the

The “dns” property

-
  “dns”                      GStrv
+
  “dns”                      GStrv

Array of IP addresses of DNS servers.

Flags: Read / Write


The “dns-options” property

-
  “dns-options”              GStrv
+
  “dns-options”              GStrv

Array of DNS options as described in man 5 resolv.conf.

-

NULL means that the options are unset and left at the default. +

NULL 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.

Flags: Read / Write

@@ -4197,7 +4207,7 @@ distinct from an empty list of properties.


The “dns-priority” property

-
  “dns-priority”             gint
+
  “dns-priority”             gint

Intra-connection DNS priority.

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 @@ -4221,14 +4231,14 @@ value will be used.


The “dns-search” property

-
  “dns-search”               GStrv
+
  “dns-search”               GStrv

Array of DNS search domains.

Flags: Read / Write


The “gateway” property

-
  “gateway”                  gchar *
+
  “gateway”                  gchar *

The gateway associated with this configuration. This is only meaningful if “addresses” is also set.

Flags: Read / Write

@@ -4237,9 +4247,9 @@ if

The “ignore-auto-dns” property

-
  “ignore-auto-dns”          gboolean
+
  “ignore-auto-dns”          gboolean

When “method” is set to "auto" and this property to -TRUE, automatically configured nameservers and search domains are +TRUE, automatically configured nameservers and search domains are ignored and only nameservers and search domains specified in the “dns” and “dns-search” properties, if any, are used.

@@ -4249,9 +4259,9 @@ any, are used.


The “ignore-auto-routes” property

-
  “ignore-auto-routes”       gboolean
+
  “ignore-auto-routes”       gboolean

When “method” is set to "auto" and this property to -TRUE, automatically configured routes are ignored and only routes +TRUE, automatically configured routes are ignored and only routes specified in the “routes” property, if any, are used.

Flags: Read / Write / Construct

Default value: FALSE

@@ -4259,12 +4269,12 @@ specified in the

The “may-fail” property

-
  “may-fail”                 gboolean
-

If TRUE, allow overall network configuration to proceed even if the +

  “may-fail”                 gboolean
+

If TRUE, 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 -TRUE on the NMSettingIP4Config allows the overall network configuration +TRUE on the NMSettingIP4Config allows the overall network configuration to succeed if IPv4 configuration fails but IPv6 configuration completes successfully.

Flags: Read / Write / Construct

@@ -4273,7 +4283,7 @@ successfully.


The “method” property

-
  “method”                   gchar *
+
  “method”                   gchar *

IP configuration method.

NMSettingIP4Config and NMSettingIP6Config both support "auto", "manual", and "link-local". See the subclass-specific documentation for @@ -4293,8 +4303,8 @@ manual IPv4 address or otherwise 10.42.x.0/24 is chosen.


The “never-default” property

-
  “never-default”            gboolean
-

If TRUE, this connection will never be the default connection for this +

  “never-default”            gboolean
+

If TRUE, this connection will never be the default connection for this IP type, meaning it will never be assigned the default route by NetworkManager.

Flags: Read / Write / Construct

@@ -4303,7 +4313,7 @@ NetworkManager.


The “route-metric” property

-
  “route-metric”             gint64
+
  “route-metric”             gint64

The default metric for routes that don't explicitly specify a metric. The default value -1 means that the metric is chosen automatically based on the device type. @@ -4321,7 +4331,7 @@ For IPv4, zero is a regular value for the metric.


The “route-table” property

-
  “route-table”              guint
+
  “route-table”              guint

Enable policy routing (source routing) and set the routing table used when adding routes.

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 @@ -4341,7 +4351,7 @@ of NetworkManager.


The “routes” property

-
  “routes”                   GPtrArray *
+
  “routes”                   GPtrArray *

Array of IP routes.

Element-Type: NMIPRoute

Flags: Read / Write

@@ -4353,6 +4363,6 @@ of NetworkManager.

+
Generated by GTK-Doc V1.26
\ No newline at end of file -- cgit 1.3.0-6-gf8a5