From 494f296a3baab08522617b24b1f126d8f9a17502 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Wed, 20 Jan 2016 16:26:51 +0100 Subject: Imported Upstream version 1.1.90 --- docs/libnm/html/NMSettingIPConfig.html | 792 +++++++++++++++++++++++++++------ 1 file changed, 645 insertions(+), 147 deletions(-) (limited to 'docs/libnm/html/NMSettingIPConfig.html') diff --git a/docs/libnm/html/NMSettingIPConfig.html b/docs/libnm/html/NMSettingIPConfig.html index 35289f40..228ff69f 100644 --- a/docs/libnm/html/NMSettingIPConfig.html +++ b/docs/libnm/html/NMSettingIPConfig.html @@ -6,8 +6,8 @@ - - + + @@ -21,8 +21,8 @@ Home Up -Prev -Next +Prev +Next
@@ -449,6 +449,69 @@ guint +nm_setting_ip_config_get_num_dns_options () + + + + +gboolean + + +nm_setting_ip_config_has_dns_options () + + + +const char * + + +nm_setting_ip_config_get_dns_option () + + + + +gint + + +nm_setting_ip_config_next_valid_dns_option () + + + + +gboolean + + +nm_setting_ip_config_add_dns_option () + + + + +void + + +nm_setting_ip_config_remove_dns_option () + + + + +gboolean + + +nm_setting_ip_config_remove_dns_option_by_value () + + + + +void + + +nm_setting_ip_config_clear_dns_options () + + + + +guint + + nm_setting_ip_config_get_num_addresses () @@ -638,6 +701,11 @@ GStrv +dns-options +Read / Write + + +GStrv dns-search Read / Write @@ -709,6 +777,10 @@ #define +NM_SETTING_IP_CONFIG_DNS_OPTIONS + + +#define NM_SETTING_IP_CONFIG_ADDRESSES @@ -747,12 +819,68 @@ #define NM_SETTING_IP_CONFIG_MAY_FAIL + +#define +NM_SETTING_DNS_OPTION_DEBUG + + +#define +NM_SETTING_DNS_OPTION_NDOTS + + +#define +NM_SETTING_DNS_OPTION_TIMEOUT + + +#define +NM_SETTING_DNS_OPTION_ATTEMPTS + + +#define +NM_SETTING_DNS_OPTION_ROTATE + + +#define +NM_SETTING_DNS_OPTION_NO_CHECK_NAMES + + +#define +NM_SETTING_DNS_OPTION_INET6 + + +#define +NM_SETTING_DNS_OPTION_IP6_BYTESTRING + + +#define +NM_SETTING_DNS_OPTION_IP6_DOTINT + + +#define +NM_SETTING_DNS_OPTION_NO_IP6_DOTINT + + +#define +NM_SETTING_DNS_OPTION_EDNS0 + + +#define +NM_SETTING_DNS_OPTION_SINGLE_REQUEST + + +#define +NM_SETTING_DNS_OPTION_SINGLE_REQUEST_REOPEN + + +#define +NM_SETTING_DNS_OPTION_NO_TLD_QUERY +

Object Hierarchy

-
    GBoxed
+
    GBoxed
     ├── NMIPAddress
     ╰── NMIPRoute
     GObject
@@ -784,7 +912,7 @@ nm_ip_address_new (int fam
                    GError **error);

Creates a new NMIPAddress object.

-

Parameters

+

Parameters

@@ -817,7 +945,7 @@ nm_ip_address_new (int fam
-

Returns

+

Returns

the new NMIPAddress object, or NULL on error.

[transfer full]

@@ -835,7 +963,7 @@ nm_ip_address_new_binary (intfamily .

-

Parameters

+

Parameters

@@ -868,7 +996,7 @@ correct size for family
-

Returns

+

Returns

the new NMIPAddress object, or NULL on error.

[transfer full]

@@ -880,7 +1008,7 @@ correct size for family nm_ip_address_ref (NMIPAddress *address);

Increases the reference count of the object.

-

Parameters

+

Parameters

@@ -903,7 +1031,7 @@ nm_ip_address_unref ( -

Parameters

+

Parameters

@@ -927,7 +1055,7 @@ nm_ip_address_equal (NMIPAddress objects contain the same address and prefix (attributes are not compared).

-

Parameters

+

Parameters

@@ -950,7 +1078,7 @@ to.

-

Returns

+

Returns

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

@@ -962,7 +1090,7 @@ nm_ip_address_dup (address

-

Parameters

+

Parameters

@@ -977,7 +1105,7 @@ nm_ip_address_dup ( -

Returns

+

Returns

a copy of address .

[transfer full]

@@ -991,7 +1119,7 @@ nm_ip_address_get_family ( -

Parameters

+

Parameters

@@ -1006,7 +1134,7 @@ object.

-

Returns

+

Returns

the IP address family

@@ -1017,7 +1145,7 @@ object.

nm_ip_address_get_address (NMIPAddress *address);

Gets the IP address property of this address object.

-

Parameters

+

Parameters

@@ -1032,7 +1160,7 @@ nm_ip_address_get_address ( -

Returns

+

Returns

the IP address

@@ -1048,7 +1176,7 @@ nm_ip_address_set_address (nm_utils_ipaddr_valid() to check it.

-

Parameters

+

Parameters

@@ -1082,7 +1210,7 @@ nm_ip_address_get_address_binary (

[skip]

-

Parameters

+

Parameters

@@ -1116,7 +1244,7 @@ nm_ip_address_set_address_binary (

[skip]

-

Parameters

+

Parameters

@@ -1146,7 +1274,7 @@ nm_ip_address_get_prefix (
-

Parameters

+

Parameters

@@ -1161,7 +1289,7 @@ object.

-

Returns

+

Returns

the IP address prefix

@@ -1173,7 +1301,7 @@ nm_ip_address_set_prefix (guint prefix);

Sets the IP address prefix property of this address object.

-

Parameters

+

Parameters

@@ -1203,7 +1331,7 @@ nm_ip_address_get_attribute_names (Gets an array of attribute names defined on address .

-

Parameters

+

Parameters

@@ -1218,7 +1346,7 @@ nm_ip_address_get_attribute_names (
-

Returns

+

Returns

a NULL-terminated array of attribute names,.

[transfer full]

@@ -1233,7 +1361,7 @@ nm_ip_address_get_attribute (address

-

Parameters

+

Parameters

@@ -1255,7 +1383,7 @@ nm_ip_address_get_attribute ( -

Returns

+

Returns

the value of the attribute with name name on address @@ -1274,7 +1402,7 @@ nm_ip_address_set_attribute (address to the given value.

-

Parameters

+

Parameters

@@ -1313,7 +1441,7 @@ nm_ip_route_new (int famil GError **error);

Creates a new NMIPRoute object.

-

Parameters

+

Parameters

@@ -1356,7 +1484,7 @@ nm_ip_route_new (int famil
-

Returns

+

Returns

the new NMIPRoute object, or NULL on error.

[transfer full]

@@ -1377,7 +1505,7 @@ nm_ip_route_new_binary (intfamily .

-

Parameters

+

Parameters

@@ -1420,7 +1548,7 @@ point to buffers of the correct size for family
-

Returns

+

Returns

the new NMIPRoute object, or NULL on error.

[transfer full]

@@ -1432,7 +1560,7 @@ point to buffers of the correct size for familyNMIPRoute *route);

Increases the reference count of the object.

-

Parameters

+

Parameters

@@ -1455,7 +1583,7 @@ nm_ip_route_unref ( -

Parameters

+

Parameters

@@ -1479,7 +1607,7 @@ nm_ip_route_equal (NMIPRoute objects contain the same destination, prefix, next hop, and metric. (Attributes are not compared.)

-

Parameters

+

Parameters

@@ -1502,7 +1630,7 @@ to.

-

Returns

+

Returns

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

@@ -1514,7 +1642,7 @@ nm_ip_route_dup (route

-

Parameters

+

Parameters

@@ -1529,7 +1657,7 @@ nm_ip_route_dup ( -

Returns

+

Returns

a copy of route .

[transfer full]

@@ -1543,7 +1671,7 @@ nm_ip_route_get_family ( -

Parameters

+

Parameters

@@ -1558,7 +1686,7 @@ object.

-

Returns

+

Returns

the IP address family

@@ -1569,7 +1697,7 @@ object.

nm_ip_route_get_dest (NMIPRoute *route);

Gets the IP destination address property of this route object.

-

Parameters

+

Parameters

@@ -1584,7 +1712,7 @@ nm_ip_route_get_dest ( -

Returns

+

Returns

the IP address of the route's destination

@@ -1600,7 +1728,7 @@ nm_ip_route_set_dest (nm_utils_ipaddr_valid() to check it.

-

Parameters

+

Parameters

@@ -1634,7 +1762,7 @@ nm_ip_route_get_dest_binary ([skip]

-

Parameters

+

Parameters

@@ -1668,7 +1796,7 @@ nm_ip_route_set_dest_binary ([skip]

-

Parameters

+

Parameters

@@ -1697,7 +1825,7 @@ nm_ip_route_set_dest_binary (NMIPRoute *route);

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

-

Parameters

+

Parameters

@@ -1712,7 +1840,7 @@ nm_ip_route_get_prefix ( -

Returns

+

Returns

the IP prefix

@@ -1724,7 +1852,7 @@ nm_ip_route_set_prefix (guint prefix);

Sets the prefix property of this route object.

-

Parameters

+

Parameters

@@ -1754,7 +1882,7 @@ nm_ip_route_get_next_hop (NULL if the route has no next hop.

-

Parameters

+

Parameters

@@ -1769,7 +1897,7 @@ route has no next hop.

-

Returns

+

Returns

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

@@ -1786,7 +1914,7 @@ nm_ip_route_set_next_hop (nm_utils_ipaddr_valid() to check it.

-

Parameters

+

Parameters

@@ -1820,7 +1948,7 @@ nm_ip_route_get_next_hop_binary (

[skip]

-

Parameters

+

Parameters

@@ -1842,7 +1970,7 @@ nm_ip_route_get_next_hop_binary (
-

Returns

+

Returns

TRUE if route has a next hop, FALSE if not (in which case next_hop @@ -1862,7 +1990,7 @@ nm_ip_route_set_next_hop_binary (

[skip]

-

Parameters

+

Parameters

@@ -1893,7 +2021,7 @@ nm_ip_route_get_metric (
-

Parameters

+

Parameters

@@ -1908,7 +2036,7 @@ indicate "better" or more preferred routes; -1 indicates "default"
-

Returns

+

Returns

the route metric

@@ -1920,7 +2048,7 @@ nm_ip_route_set_metric (gint64 metric);

Sets the metric property of this route object.

-

Parameters

+

Parameters

@@ -1950,7 +2078,7 @@ nm_ip_route_get_attribute_names (Gets an array of attribute names defined on route .

-

Parameters

+

Parameters

@@ -1965,7 +2093,7 @@ nm_ip_route_get_attribute_names (
-

Returns

+

Returns

a NULL-terminated array of attribute names.

[transfer full]

@@ -1980,7 +2108,7 @@ nm_ip_route_get_attribute (route

-

Parameters

+

Parameters

@@ -2002,7 +2130,7 @@ nm_ip_route_get_attribute ( -

Returns

+

Returns

the value of the attribute with name name on route @@ -2021,7 +2149,7 @@ nm_ip_route_set_attribute (route to the given value.

-

Parameters

+

Parameters

@@ -2054,7 +2182,7 @@ nm_ip_route_set_attribute (const char * nm_setting_ip_config_get_method (NMSettingIPConfig *setting);
-

Parameters

+

Parameters

@@ -2069,7 +2197,7 @@ nm_setting_ip_config_get_method (
-

Returns

+

Returns

the “method” property of the setting; see NMSettingIP4Config and NMSettingIP6Config for details of the methods available with each type.

@@ -2081,7 +2209,7 @@ methods available with each type.

guint
 nm_setting_ip_config_get_num_dns (NMSettingIPConfig *setting);
-

Parameters

+

Parameters

@@ -2096,7 +2224,7 @@ nm_setting_ip_config_get_num_dns (
-

Returns

+

Returns

the number of configured DNS servers

@@ -2105,9 +2233,9 @@ nm_setting_ip_config_get_num_dns (

nm_setting_ip_config_get_dns ()

const char *
 nm_setting_ip_config_get_dns (NMSettingIPConfig *setting,
-                              int i);
+ int idx);
-

Parameters

+

Parameters

@@ -2121,7 +2249,7 @@ nm_setting_ip_config_get_dns (  - + @@ -2129,8 +2257,8 @@ nm_setting_ip_config_get_dns ( -

Returns

-

the IP address of the DNS server at index i +

Returns

+

the IP address of the DNS server at index idx

@@ -2142,7 +2270,7 @@ nm_setting_ip_config_add_dns (const char *dns);

Adds a new DNS server to the setting.

-

Parameters

+

Parameters

i

idx

index number of the DNS server to return

 
@@ -2164,7 +2292,7 @@ nm_setting_ip_config_add_dns ( -

Returns

+

Returns

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

@@ -2174,11 +2302,11 @@ known

nm_setting_ip_config_remove_dns ()

void
 nm_setting_ip_config_remove_dns (NMSettingIPConfig *setting,
-                                 int i);
-

Removes the DNS server at index i + int idx); +

Removes the DNS server at index idx .

-

Parameters

+

Parameters

@@ -2192,7 +2320,7 @@ nm_setting_ip_config_remove_dns (  - + @@ -2210,7 +2338,7 @@ nm_setting_ip_config_remove_dns_by_value

Removes the DNS server dns .

-

Parameters

+

Parameters

i

idx

index number of the DNS server to remove

 
@@ -2232,7 +2360,7 @@ nm_setting_ip_config_remove_dns_by_value
-

Returns

+

Returns

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

@@ -2243,7 +2371,7 @@ nm_setting_ip_config_remove_dns_by_value nm_setting_ip_config_clear_dns (NMSettingIPConfig *setting);

Removes all configured DNS servers.

-

Parameters

+

Parameters

@@ -2265,7 +2393,7 @@ nm_setting_ip_config_clear_dns (NMSettingIPConfig *setting);
-

Parameters

+

Parameters

@@ -2280,7 +2408,7 @@ nm_setting_ip_config_get_num_dns_searches
-

Returns

+

Returns

the number of configured DNS search domains

@@ -2289,9 +2417,9 @@ nm_setting_ip_config_get_num_dns_searches

nm_setting_ip_config_get_dns_search ()

const char *
 nm_setting_ip_config_get_dns_search (NMSettingIPConfig *setting,
-                                     int i);
+ int idx);
-

Parameters

+

Parameters

@@ -2305,7 +2433,7 @@ nm_setting_ip_config_get_dns_search (  - + @@ -2313,8 +2441,8 @@ nm_setting_ip_config_get_dns_search (
-

Returns

-

the DNS search domain at index i +

Returns

+

the DNS search domain at index idx

@@ -2326,7 +2454,7 @@ nm_setting_ip_config_add_dns_search (const char *dns_search);

Adds a new DNS search domain to the setting.

-

Parameters

+

Parameters

i

idx

index number of the DNS search domain to return

 
@@ -2348,7 +2476,7 @@ nm_setting_ip_config_add_dns_search (
-

Returns

+

Returns

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

@@ -2359,11 +2487,11 @@ domain was already known

void
 nm_setting_ip_config_remove_dns_search
                                (NMSettingIPConfig *setting,
-                                int i);
-

Removes the DNS search domain at index i + int idx); +

Removes the DNS search domain at index idx .

-

Parameters

+

Parameters

@@ -2377,7 +2505,7 @@ nm_setting_ip_config_remove_dns_search - + @@ -2395,7 +2523,7 @@ nm_setting_ip_config_remove_dns_search_by_value

Removes the DNS search domain dns_search .

-

Parameters

+

Parameters

 

i

idx

index number of the DNS search domain

 
@@ -2417,7 +2545,7 @@ nm_setting_ip_config_remove_dns_search_by_value
-

Returns

+

Returns

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

Since 0.9.10

@@ -2430,7 +2558,60 @@ nm_setting_ip_config_clear_dns_searches (NMSettingIPConfig *setting);

Removes all configured DNS search domains.

-

Parameters

+

Parameters

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

setting

the NMSettingIPConfig

 
+
+ +
+
+

nm_setting_ip_config_get_num_dns_options ()

+
guint
+nm_setting_ip_config_get_num_dns_options
+                               (NMSettingIPConfig *setting);
+
+

Parameters

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

setting

the NMSettingIPConfig

 
+
+
+

Returns

+

the number of configured DNS options

+
+

Since: 1.2

+
+
+
+

nm_setting_ip_config_has_dns_options ()

+
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. +Either the options are explicitly set to have no values, +or the options are left undefined. The latter means to use +a default configuration, while the former explicitly means "no-options".

+
+

Parameters

@@ -2444,6 +2625,220 @@ nm_setting_ip_config_clear_dns_searches
+
+

Returns

+

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

+
+
+
+
+

nm_setting_ip_config_get_dns_option ()

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

Parameters

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

setting

the NMSettingIPConfig

 

idx

index number of the DNS option

 
+
+
+

Returns

+

the DNS option at index idx +

+
+

Since: 1.2

+
+
+
+

nm_setting_ip_config_next_valid_dns_option ()

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

Parameters

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

setting

the NMSettingIPConfig

 

idx

index to start the search from

 
+
+
+

Returns

+

the index, greater or equal than idx +, of the first valid +DNS option, or -1 if no valid option is found

+
+

Since: 1.2

+
+
+
+

nm_setting_ip_config_add_dns_option ()

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

Adds a new DNS option to the setting.

+
+

Parameters

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

setting

the NMSettingIPConfig

 

dns_option

the DNS option to add

 
+
+
+

Returns

+

TRUE if the DNS option was added; FALSE otherwise

+
+

Since: 1.2

+
+
+
+

nm_setting_ip_config_remove_dns_option ()

+
void
+nm_setting_ip_config_remove_dns_option
+                               (NMSettingIPConfig *setting,
+                                int idx);
+

Removes the DNS option at index idx +.

+
+

Parameters

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

setting

the NMSettingIPConfig

 

idx

index number of the DNS option

 
+
+

Since: 1.2

+
+
+
+

nm_setting_ip_config_remove_dns_option_by_value ()

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

Removes the DNS option dns_option +.

+
+

Parameters

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

setting

the NMSettingIPConfig

 

dns_option

the DNS option to remove

 
+
+
+

Returns

+

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

+
+

Since: 1.2

+
+
+
+

nm_setting_ip_config_clear_dns_options ()

+
void
+nm_setting_ip_config_clear_dns_options
+                               (NMSettingIPConfig *setting,
+                                gboolean is_set);
+

Removes all configured DNS options.

+
+

Parameters

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

setting

the NMSettingIPConfig

 

is_set

the dns-options can be either empty or unset (default). +Specify how to clear the options.

 
+
+

Since: 1.2


@@ -2452,7 +2847,7 @@ nm_setting_ip_config_clear_dns_searches nm_setting_ip_config_get_num_addresses (NMSettingIPConfig *setting);
-

Parameters

+

Parameters

@@ -2467,7 +2862,7 @@ nm_setting_ip_config_get_num_addresses
-

Returns

+

Returns

the number of configured addresses

@@ -2476,9 +2871,9 @@ nm_setting_ip_config_get_num_addresses

nm_setting_ip_config_get_address ()

NMIPAddress *
 nm_setting_ip_config_get_address (NMSettingIPConfig *setting,
-                                  int i);
+ int idx);
-

Parameters

+

Parameters

@@ -2492,7 +2887,7 @@ nm_setting_ip_config_get_address (  - + @@ -2500,8 +2895,8 @@ nm_setting_ip_config_get_address (
-

Returns

-

the address at index i +

Returns

+

the address at index idx .

[transfer none]

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

-

Parameters

+

Parameters

i

idx

index number of the address to return

 
@@ -2537,7 +2932,7 @@ given address is duplicated internally and is not changed by this function.

-

Returns

+

Returns

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

@@ -2547,11 +2942,11 @@ known.

nm_setting_ip_config_remove_address ()

void
 nm_setting_ip_config_remove_address (NMSettingIPConfig *setting,
-                                     int i);
-

Removes the address at index i + int idx); +

Removes the address at index idx .

-

Parameters

+

Parameters

@@ -2565,7 +2960,7 @@ nm_setting_ip_config_remove_address (  - + @@ -2583,7 +2978,7 @@ nm_setting_ip_config_remove_address_by_value

Removes the address address .

-

Parameters

+

Parameters

i

idx

index number of the address to remove

 
@@ -2605,7 +3000,7 @@ nm_setting_ip_config_remove_address_by_value
-

Returns

+

Returns

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

@@ -2616,7 +3011,7 @@ nm_setting_ip_config_remove_address_by_value nm_setting_ip_config_clear_addresses (NMSettingIPConfig *setting);

Removes all configured addresses.

-

Parameters

+

Parameters

@@ -2637,7 +3032,7 @@ nm_setting_ip_config_clear_addresses (const char * nm_setting_ip_config_get_gateway (NMSettingIPConfig *setting);
-

Parameters

+

Parameters

@@ -2652,7 +3047,7 @@ nm_setting_ip_config_get_gateway (
-

Returns

+

Returns

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

@@ -2663,7 +3058,7 @@ nm_setting_ip_config_get_gateway (guint nm_setting_ip_config_get_num_routes (NMSettingIPConfig *setting);
-

Parameters

+

Parameters

@@ -2678,7 +3073,7 @@ nm_setting_ip_config_get_num_routes (
-

Returns

+

Returns

the number of configured routes

@@ -2687,9 +3082,9 @@ nm_setting_ip_config_get_num_routes (

nm_setting_ip_config_get_route ()

NMIPRoute *
 nm_setting_ip_config_get_route (NMSettingIPConfig *setting,
-                                int i);
+ int idx);
-

Parameters

+

Parameters

@@ -2703,7 +3098,7 @@ nm_setting_ip_config_get_route (  - + @@ -2711,8 +3106,8 @@ nm_setting_ip_config_get_route (
-

Returns

-

the route at index i +

Returns

+

the route at index idx .

[transfer none]

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

-

Parameters

+

Parameters

i

idx

index number of the route to return

 
@@ -2748,7 +3143,7 @@ given route is duplicated internally and is not changed by this function.

-

Returns

+

Returns

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

@@ -2757,11 +3152,11 @@ given route is duplicated internally and is not changed by this function.

nm_setting_ip_config_remove_route ()

void
 nm_setting_ip_config_remove_route (NMSettingIPConfig *setting,
-                                   int i);
-

Removes the route at index i + int idx); +

Removes the route at index idx .

-

Parameters

+

Parameters

@@ -2775,7 +3170,7 @@ nm_setting_ip_config_remove_route (  - + @@ -2793,7 +3188,7 @@ nm_setting_ip_config_remove_route_by_value

Removes the route route .

-

Parameters

+

Parameters

i

idx

index number of the route

 
@@ -2815,7 +3210,7 @@ nm_setting_ip_config_remove_route_by_value
-

Returns

+

Returns

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

@@ -2826,7 +3221,7 @@ nm_setting_ip_config_remove_route_by_value nm_setting_ip_config_clear_routes (NMSettingIPConfig *setting);

Removes all configured routes.

-

Parameters

+

Parameters

@@ -2849,7 +3244,7 @@ nm_setting_ip_config_get_route_metric (“route-metric” property.

-

Parameters

+

Parameters

@@ -2864,7 +3259,7 @@ property.

-

Returns

+

Returns

the route metric that is used for routes that don't explicitly specify a metric. See “route-metric” for more details.

@@ -2878,7 +3273,7 @@ nm_setting_ip_config_get_ignore_auto_routes

Returns the value contained in the “ignore-auto-routes” property.

-

Parameters

+

Parameters

@@ -2893,7 +3288,7 @@ property.

-

Returns

+

Returns

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

@@ -2907,7 +3302,7 @@ nm_setting_ip_config_get_ignore_auto_dns

Returns the value contained in the “ignore-auto-dns” property.

-

Parameters

+

Parameters

@@ -2922,7 +3317,7 @@ property.

-

Returns

+

Returns

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

@@ -2936,7 +3331,7 @@ nm_setting_ip_config_get_dhcp_hostname

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

-

Parameters

+

Parameters

@@ -2951,7 +3346,7 @@ property.

-

Returns

+

Returns

the configured hostname to send to the DHCP server

@@ -2964,7 +3359,7 @@ nm_setting_ip_config_get_dhcp_send_hostname

Returns the value contained in the “dhcp-send-hostname” property.

-

Parameters

+

Parameters

@@ -2979,7 +3374,7 @@ property.

-

Returns

+

Returns

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.

@@ -2994,7 +3389,7 @@ nm_setting_ip_config_get_never_default

Returns the value contained in the “never-default” property.

-

Parameters

+

Parameters

@@ -3009,7 +3404,7 @@ property.

-

Returns

+

Returns

TRUE if this connection should never be the default connection

@@ -3022,7 +3417,7 @@ nm_setting_ip_config_get_may_fail (Returns the value contained in the “may-fail” property.

-

Parameters

+

Parameters

@@ -3037,7 +3432,7 @@ property.

-

Returns

+

Returns

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

@@ -3064,6 +3459,12 @@ addressing to complete for the connection to succeed.


+

NM_SETTING_IP_CONFIG_DNS_OPTIONS

+
#define NM_SETTING_IP_CONFIG_DNS_OPTIONS        "dns-options"
+
+
+
+

NM_SETTING_IP_CONFIG_ADDRESSES

#define NM_SETTING_IP_CONFIG_ADDRESSES          "addresses"
 
@@ -3122,6 +3523,90 @@ addressing to complete for the connection to succeed.

#define NM_SETTING_IP_CONFIG_MAY_FAIL           "may-fail"
 
+
+
+

NM_SETTING_DNS_OPTION_DEBUG

+
#define NM_SETTING_DNS_OPTION_DEBUG                     "debug"
+
+
+
+
+

NM_SETTING_DNS_OPTION_NDOTS

+
#define NM_SETTING_DNS_OPTION_NDOTS                     "ndots"
+
+
+
+
+

NM_SETTING_DNS_OPTION_TIMEOUT

+
#define NM_SETTING_DNS_OPTION_TIMEOUT                   "timeout"
+
+
+
+
+

NM_SETTING_DNS_OPTION_ATTEMPTS

+
#define NM_SETTING_DNS_OPTION_ATTEMPTS                  "attempts"
+
+
+
+
+

NM_SETTING_DNS_OPTION_ROTATE

+
#define NM_SETTING_DNS_OPTION_ROTATE                    "rotate"
+
+
+
+
+

NM_SETTING_DNS_OPTION_NO_CHECK_NAMES

+
#define NM_SETTING_DNS_OPTION_NO_CHECK_NAMES            "no-check-names"
+
+
+
+
+

NM_SETTING_DNS_OPTION_INET6

+
#define NM_SETTING_DNS_OPTION_INET6                     "inet6"
+
+
+
+
+

NM_SETTING_DNS_OPTION_IP6_BYTESTRING

+
#define NM_SETTING_DNS_OPTION_IP6_BYTESTRING            "ip6-bytestring"
+
+
+
+
+

NM_SETTING_DNS_OPTION_IP6_DOTINT

+
#define NM_SETTING_DNS_OPTION_IP6_DOTINT                "ip6-dotint"
+
+
+
+
+

NM_SETTING_DNS_OPTION_NO_IP6_DOTINT

+
#define NM_SETTING_DNS_OPTION_NO_IP6_DOTINT             "no-ip6-dotint"
+
+
+
+
+

NM_SETTING_DNS_OPTION_EDNS0

+
#define NM_SETTING_DNS_OPTION_EDNS0                     "edns0"
+
+
+
+
+

NM_SETTING_DNS_OPTION_SINGLE_REQUEST

+
#define NM_SETTING_DNS_OPTION_SINGLE_REQUEST            "single-request"
+
+
+
+
+

NM_SETTING_DNS_OPTION_SINGLE_REQUEST_REOPEN

+
#define NM_SETTING_DNS_OPTION_SINGLE_REQUEST_REOPEN     "single-request-reopen"
+
+
+
+
+

NM_SETTING_DNS_OPTION_NO_TLD_QUERY

+
#define NM_SETTING_DNS_OPTION_NO_TLD_QUERY              "no-tld-query"
+
+

Property Details

@@ -3137,7 +3622,9 @@ addressing to complete for the connection to succeed.

The “dhcp-hostname” property

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

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

Flags: Read / Write

Default value: NULL

@@ -3162,6 +3649,17 @@ providing a static hostname for the computer. If the
+

The “dns-options” property

+
  “dns-options”              GStrv
+

Array of DNS options.

+

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

+

Since: 1.2

+
+
+

The “dns-search” property

  “dns-search”               GStrv

Array of DNS search domains.

-- cgit 1.3.0-6-gf8a5