From c2de0d98ba39e0a1a970d066fd19be786092f376 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Tue, 1 Mar 2016 16:55:22 +0100 Subject: Imported Upstream version 1.1.91 --- docs/libnm/html/NMSettingIPConfig.html | 471 +++++++++++++++++++++------------ 1 file changed, 303 insertions(+), 168 deletions(-) (limited to 'docs/libnm/html/NMSettingIPConfig.html') diff --git a/docs/libnm/html/NMSettingIPConfig.html b/docs/libnm/html/NMSettingIPConfig.html index 228ff69f..dcfaa740 100644 --- a/docs/libnm/html/NMSettingIPConfig.html +++ b/docs/libnm/html/NMSettingIPConfig.html @@ -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 () @@ -258,7 +258,7 @@ -guint +guint nm_ip_route_get_prefix () @@ -289,7 +289,7 @@ -gboolean +gboolean nm_ip_route_get_next_hop_binary () @@ -305,7 +305,7 @@ -gint64 +gint64 nm_ip_route_get_metric () @@ -329,7 +329,7 @@ -GVariant * +GVariant * nm_ip_route_get_attribute () @@ -352,7 +352,7 @@ -guint +guint nm_setting_ip_config_get_num_dns () @@ -367,7 +367,7 @@ -gboolean +gboolean nm_setting_ip_config_add_dns () @@ -383,7 +383,7 @@ -gboolean +gboolean nm_setting_ip_config_remove_dns_by_value () @@ -399,7 +399,7 @@ -guint +guint nm_setting_ip_config_get_num_dns_searches () @@ -414,7 +414,7 @@ -gboolean +gboolean nm_setting_ip_config_add_dns_search () @@ -430,7 +430,7 @@ -gboolean +gboolean nm_setting_ip_config_remove_dns_search_by_value () @@ -446,7 +446,7 @@ -guint +guint nm_setting_ip_config_get_num_dns_options () @@ -454,7 +454,7 @@ -gboolean +gboolean nm_setting_ip_config_has_dns_options () @@ -469,7 +469,7 @@ -gint +gint nm_setting_ip_config_next_valid_dns_option () @@ -477,7 +477,7 @@ -gboolean +gboolean nm_setting_ip_config_add_dns_option () @@ -493,7 +493,7 @@ -gboolean +gboolean nm_setting_ip_config_remove_dns_option_by_value () @@ -509,7 +509,7 @@ -guint +guint nm_setting_ip_config_get_num_addresses () @@ -525,7 +525,7 @@ -gboolean +gboolean nm_setting_ip_config_add_address () @@ -541,7 +541,7 @@ -gboolean +gboolean nm_setting_ip_config_remove_address_by_value () @@ -564,7 +564,7 @@ -guint +guint nm_setting_ip_config_get_num_routes () @@ -580,7 +580,7 @@ -gboolean +gboolean nm_setting_ip_config_add_route () @@ -596,7 +596,7 @@ -gboolean +gboolean nm_setting_ip_config_remove_route_by_value () @@ -612,7 +612,7 @@ -gint64 +gint64 nm_setting_ip_config_get_route_metric () @@ -620,7 +620,7 @@ -gboolean +gboolean nm_setting_ip_config_get_ignore_auto_routes () @@ -628,7 +628,7 @@ -gboolean +gboolean nm_setting_ip_config_get_ignore_auto_dns () @@ -643,7 +643,7 @@ -gboolean +gboolean nm_setting_ip_config_get_dhcp_send_hostname () @@ -651,7 +651,7 @@ -gboolean +gboolean nm_setting_ip_config_get_never_default () @@ -659,12 +659,28 @@ -gboolean +gboolean nm_setting_ip_config_get_may_fail () + + +gint + + +nm_setting_ip_config_get_dad_timeout () + + + + +gint + + +nm_setting_ip_config_get_dhcp_timeout () + + @@ -679,76 +695,86 @@ -GPtrArray * +GPtrArray * addresses Read / Write +gint +dad-timeout +Read / Write / Construct + + -gchar * +gchar * dhcp-hostname Read / Write -gboolean +gboolean dhcp-send-hostname Read / Write / Construct -GStrv +gint +dhcp-timeout +Read / Write + + +GStrv dns Read / Write -GStrv +GStrv dns-options Read / Write -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 -GPtrArray * +GPtrArray * routes Read / Write @@ -765,6 +791,10 @@ #define +NM_SETTING_IP_CONFIG_DAD_TIMEOUT_MAX + + +#define NM_SETTING_IP_CONFIG_METHOD @@ -821,6 +851,14 @@ #define +NM_SETTING_IP_CONFIG_DAD_TIMEOUT + + +#define +NM_SETTING_IP_CONFIG_DHCP_TIMEOUT + + +#define NM_SETTING_DNS_OPTION_DEBUG @@ -880,10 +918,10 @@

Object Hierarchy

-
    GBoxed
+
    GBoxed
     ├── NMIPAddress
     ╰── NMIPRoute
-    GObject
+    GObject
     ╰── NMSetting
         ╰── NMSettingIPConfig
             ├── NMSettingIP4Config
@@ -908,8 +946,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

@@ -938,7 +976,7 @@ nm_ip_address_new (int fam

error

-

location to store error, or NULL

+

location to store error, or NULL

  @@ -946,7 +984,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]

@@ -955,9 +993,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 @@ -989,7 +1027,7 @@ correct size for family

error

-

location to store error, or NULL

+

location to store error, or NULL

  @@ -997,7 +1035,7 @@ correct size for family

Returns

-

the new NMIPAddress object, or NULL on error.

+

the new NMIPAddress object, or NULL on error.

[transfer full]

@@ -1049,7 +1087,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 @@ -1079,7 +1117,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.


@@ -1203,7 +1241,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 @@ -1237,7 +1275,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 @@ -1269,7 +1307,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.

@@ -1298,7 +1336,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

@@ -1347,14 +1385,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 @@ -1387,7 +1425,7 @@ nm_ip_address_get_attribute (name on address -, or NULL if address +, or NULL if address has no such attribute.

[transfer none]

@@ -1398,7 +1436,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.

@@ -1435,10 +1473,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

@@ -1467,7 +1505,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] @@ -1477,7 +1515,7 @@ nm_ip_route_new (int famil

error

-

location to store error, or NULL

+

location to store error, or NULL

  @@ -1485,7 +1523,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]

@@ -1494,14 +1532,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 .

@@ -1531,7 +1569,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] @@ -1541,7 +1579,7 @@ point to buffers of the correct size for family

error

-

location to store error, or NULL

+

location to store error, or NULL

  @@ -1549,7 +1587,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]

@@ -1601,7 +1639,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, @@ -1631,7 +1669,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.


@@ -1755,7 +1793,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 @@ -1789,7 +1827,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 @@ -1821,7 +1859,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.

@@ -1849,7 +1887,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

@@ -1879,7 +1917,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

@@ -1898,7 +1936,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.


@@ -1909,7 +1947,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.

@@ -1939,9 +1977,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 @@ -1971,8 +2009,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)

@@ -1982,10 +2020,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]

@@ -2015,7 +2053,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" @@ -2045,7 +2083,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

@@ -2094,14 +2132,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 @@ -2134,7 +2172,7 @@ nm_ip_route_get_attribute (name on route -, or NULL if route +, or NULL if route has no such attribute.

[transfer none]

@@ -2145,7 +2183,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.

@@ -2206,7 +2244,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

@@ -2265,7 +2303,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.

@@ -2293,7 +2331,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

@@ -2331,7 +2369,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);
@@ -2361,7 +2399,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.


@@ -2389,7 +2427,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);
@@ -2449,7 +2487,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.

@@ -2477,7 +2515,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

@@ -2516,7 +2554,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);
@@ -2546,7 +2584,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

@@ -2576,7 +2614,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);
@@ -2603,7 +2641,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. @@ -2635,7 +2673,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

@@ -2668,10 +2706,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

@@ -2705,7 +2743,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.

@@ -2733,7 +2771,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

@@ -2773,7 +2811,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);
@@ -2803,7 +2841,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

@@ -2813,7 +2851,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

@@ -2843,7 +2881,7 @@ Specify how to clear the options.


nm_setting_ip_config_get_num_addresses ()

-
guint
+
guint
 nm_setting_ip_config_get_num_addresses
                                (NMSettingIPConfig *setting);
@@ -2904,7 +2942,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 @@ -2933,7 +2971,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.

@@ -2971,7 +3009,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);
@@ -3001,7 +3039,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.


@@ -3049,13 +3087,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

@@ -3115,7 +3153,7 @@ nm_setting_ip_config_get_route (

nm_setting_ip_config_add_route ()

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

Adds a new route and associated information to the setting. The @@ -3144,7 +3182,7 @@ given route is duplicated internally and is not changed by this function.

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.


@@ -3181,7 +3219,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);
@@ -3211,7 +3249,7 @@ nm_setting_ip_config_remove_route_by_value

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.


@@ -3239,7 +3277,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.

@@ -3267,7 +3305,7 @@ specify a metric. See

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” @@ -3289,14 +3327,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” @@ -3318,7 +3356,7 @@ property.

Returns

-

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

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

@@ -3353,7 +3391,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” @@ -3375,7 +3413,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.

@@ -3383,7 +3421,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” @@ -3405,14 +3443,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.

@@ -3433,14 +3471,75 @@ 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
+nm_setting_ip_config_get_dad_timeout (NMSettingIPConfig *setting);
+
+

Parameters

+
+++++ + + + + + +

setting

the NMSettingIPConfig

 
+
+
+

Returns

+

the “dad-timeout” property.

+
+

Since: 1.2

+
+
+
+

nm_setting_ip_config_get_dhcp_timeout ()

+
gint
+nm_setting_ip_config_get_dhcp_timeout (NMSettingIPConfig *setting);
+

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

+
+

Parameters

+
+++++ + + + + + +

setting

the NMSettingIPConfig

 
+
+
+

Returns

+

the configured DHCP timeout in seconds. 0 = default for +the particular kind of device.

+
+

Since: 1.2

+

Types and Values

+

NM_SETTING_IP_CONFIG_DAD_TIMEOUT_MAX

+
#define NM_SETTING_IP_CONFIG_DAD_TIMEOUT_MAX     30000
+
+
+
+

NM_SETTING_IP_CONFIG_METHOD

#define NM_SETTING_IP_CONFIG_METHOD             "method"
 
@@ -3525,6 +3624,18 @@ addressing to complete for the connection to succeed.


+

NM_SETTING_IP_CONFIG_DAD_TIMEOUT

+
#define NM_SETTING_IP_CONFIG_DAD_TIMEOUT        "dad-timeout"
+
+
+
+
+

NM_SETTING_IP_CONFIG_DHCP_TIMEOUT

+
#define NM_SETTING_IP_CONFIG_DHCP_TIMEOUT       "dhcp-timeout"
+
+
+
+

NM_SETTING_DNS_OPTION_DEBUG

#define NM_SETTING_DNS_OPTION_DEBUG                     "debug"
 
@@ -3612,16 +3723,31 @@ addressing to complete for the connection to succeed.

Property Details

The “addresses” property

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

Array of IP addresses.

Element-Type: NMIPAddress

Flags: Read / Write


+

The “dad-timeout” property

+
  “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 +detection is performed, -1 means the default value (either configuration +ipvx.dad-timeout override or 3 seconds). A value greater than zero is a +timeout in milliseconds.

+

Flags: Read / Write / Construct

+

Allowed values: [-1,30000]

+

Default value: -1

+

Since: 1.2

+
+
+

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.

@@ -3631,28 +3757,37 @@ 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
+

A timeout for a DHCP transaction in seconds.

+

Flags: Read / Write

+

Allowed values: >= 0

+

Default value: 0

+
+
+

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.

-

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

@@ -3661,14 +3796,14 @@ distinct from an empty list of properties.


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

@@ -3677,9 +3812,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.

@@ -3689,9 +3824,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

@@ -3699,12 +3834,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

@@ -3713,7 +3848,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 @@ -3731,8 +3866,8 @@ configuration. The

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

@@ -3741,7 +3876,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 choosen automatically based on the device type. @@ -3759,7 +3894,7 @@ For IPv4, zero is a regular value for the metric.


The “routes” property

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

Array of IP routes.

Element-Type: NMIPRoute

Flags: Read / Write

-- cgit 1.3.0-6-gf8a5