From 34bb501be08aa2b313d88e67d6e0a7e0a3f9cfa6 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sun, 5 May 2024 00:07:30 +0200 Subject: New upstream version 1.47.90 --- docs/libnm/html/NMSettingIPConfig.html | 485 ++++++++++++++++++--------------- 1 file changed, 265 insertions(+), 220 deletions(-) (limited to 'docs/libnm/html/NMSettingIPConfig.html') diff --git a/docs/libnm/html/NMSettingIPConfig.html b/docs/libnm/html/NMSettingIPConfig.html index b9eb2cb7..c4d6f352 100644 --- a/docs/libnm/html/NMSettingIPConfig.html +++ b/docs/libnm/html/NMSettingIPConfig.html @@ -75,7 +75,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_ip_address_equal () @@ -138,7 +138,7 @@ addressing, routing, and name service properties

-guint +guint nm_ip_address_get_prefix () @@ -162,7 +162,7 @@ addressing, routing, and name service properties

-GVariant * +GVariant * nm_ip_address_get_attribute () @@ -210,7 +210,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_ip_route_equal () @@ -218,7 +218,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_ip_route_equal_full () @@ -273,7 +273,7 @@ addressing, routing, and name service properties

-guint +guint nm_ip_route_get_prefix () @@ -304,7 +304,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_ip_route_get_next_hop_binary () @@ -320,7 +320,7 @@ addressing, routing, and name service properties

-gint64 +gint64 nm_ip_route_get_metric () @@ -344,7 +344,7 @@ addressing, routing, and name service properties

-GVariant * +GVariant * nm_ip_route_get_attribute () @@ -367,7 +367,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_ip_route_attribute_validate () @@ -407,7 +407,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_ip_routing_rule_is_sealed () @@ -431,7 +431,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_ip_routing_rule_get_invert () @@ -447,7 +447,7 @@ addressing, routing, and name service properties

-gint64 +gint64 nm_ip_routing_rule_get_priority () @@ -463,7 +463,7 @@ addressing, routing, and name service properties

-guint8 +guint8 nm_ip_routing_rule_get_tos () @@ -479,7 +479,7 @@ addressing, routing, and name service properties

-guint8 +guint8 nm_ip_routing_rule_get_ipproto () @@ -495,7 +495,7 @@ addressing, routing, and name service properties

-guint16 +guint16 nm_ip_routing_rule_get_source_port_start () @@ -503,7 +503,7 @@ addressing, routing, and name service properties

-guint16 +guint16 nm_ip_routing_rule_get_source_port_end () @@ -519,7 +519,7 @@ addressing, routing, and name service properties

-guint16 +guint16 nm_ip_routing_rule_get_destination_port_start () @@ -527,7 +527,7 @@ addressing, routing, and name service properties

-guint16 +guint16 nm_ip_routing_rule_get_destination_port_end () @@ -543,7 +543,7 @@ addressing, routing, and name service properties

-guint32 +guint32 nm_ip_routing_rule_get_fwmark () @@ -551,7 +551,7 @@ addressing, routing, and name service properties

-guint32 +guint32 nm_ip_routing_rule_get_fwmask () @@ -567,7 +567,7 @@ addressing, routing, and name service properties

-guint8 +guint8 nm_ip_routing_rule_get_from_len () @@ -590,7 +590,7 @@ addressing, routing, and name service properties

-guint8 +guint8 nm_ip_routing_rule_get_to_len () @@ -643,7 +643,7 @@ addressing, routing, and name service properties

-guint8 +guint8 nm_ip_routing_rule_get_action () @@ -659,7 +659,7 @@ addressing, routing, and name service properties

-guint32 +guint32 nm_ip_routing_rule_get_table () @@ -675,7 +675,7 @@ addressing, routing, and name service properties

-gint32 +gint32 nm_ip_routing_rule_get_suppress_prefixlength () @@ -691,7 +691,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_ip_routing_rule_get_uid_range () @@ -715,7 +715,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_ip_routing_rule_validate () @@ -746,7 +746,7 @@ addressing, routing, and name service properties

-guint +guint nm_setting_ip_config_get_num_dns () @@ -761,7 +761,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_setting_ip_config_add_dns () @@ -777,7 +777,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_setting_ip_config_remove_dns_by_value () @@ -793,7 +793,7 @@ addressing, routing, and name service properties

-guint +guint nm_setting_ip_config_get_num_dns_searches () @@ -808,7 +808,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_setting_ip_config_add_dns_search () @@ -824,7 +824,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_setting_ip_config_remove_dns_search_by_value () @@ -840,7 +840,7 @@ addressing, routing, and name service properties

-guint +guint nm_setting_ip_config_get_num_dns_options () @@ -848,7 +848,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_setting_ip_config_has_dns_options () @@ -863,7 +863,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_setting_ip_config_add_dns_option () @@ -879,7 +879,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_setting_ip_config_remove_dns_option_by_value () @@ -903,7 +903,7 @@ addressing, routing, and name service properties

-guint +guint nm_setting_ip_config_get_num_addresses () @@ -919,7 +919,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_setting_ip_config_add_address () @@ -935,7 +935,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_setting_ip_config_remove_address_by_value () @@ -958,7 +958,7 @@ addressing, routing, and name service properties

-guint +guint nm_setting_ip_config_get_num_routes () @@ -974,7 +974,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_setting_ip_config_add_route () @@ -990,7 +990,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_setting_ip_config_remove_route_by_value () @@ -1006,7 +1006,7 @@ addressing, routing, and name service properties

-gint64 +gint64 nm_setting_ip_config_get_route_metric () @@ -1014,7 +1014,7 @@ addressing, routing, and name service properties

-guint32 +guint32 nm_setting_ip_config_get_route_table () @@ -1022,7 +1022,7 @@ addressing, routing, and name service properties

-guint +guint nm_setting_ip_config_get_num_routing_rules () @@ -1062,7 +1062,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_setting_ip_config_get_ignore_auto_routes () @@ -1070,7 +1070,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_setting_ip_config_get_ignore_auto_dns () @@ -1085,7 +1085,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_setting_ip_config_get_dhcp_send_hostname () @@ -1100,7 +1100,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_setting_ip_config_get_never_default () @@ -1108,7 +1108,7 @@ addressing, routing, and name service properties

-gboolean +gboolean nm_setting_ip_config_get_may_fail () @@ -1200,6 +1200,14 @@ addressing, routing, and name service properties

nm_setting_ip_config_get_replace_local_rule () + + +NMTernary + + +nm_setting_ip_config_get_dhcp_send_release () + + @@ -1417,6 +1425,10 @@ addressing, routing, and name service properties

#define +NM_SETTING_IP_CONFIG_DHCP_SEND_RELEASE + + +#define NM_SETTING_IP_CONFIG_ROUTING_RULES @@ -1536,8 +1548,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

@@ -1566,7 +1578,7 @@ nm_ip_address_new (int fam

error

-

location to store error, or NULL

+

location to store error, or NULL

  @@ -1574,7 +1586,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]

@@ -1583,9 +1595,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 @@ -1617,7 +1629,7 @@ correct size for family

error

-

location to store error, or NULL

+

location to store error, or NULL

  @@ -1625,7 +1637,7 @@ correct size for family

Returns

-

the new NMIPAddress object, or NULL on error.

+

the new NMIPAddress object, or NULL on error.

[transfer full]

@@ -1677,7 +1689,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 @@ -1707,7 +1719,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.


@@ -1882,7 +1894,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 @@ -1916,7 +1928,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 @@ -1948,7 +1960,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.

@@ -1977,7 +1989,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

@@ -2026,14 +2038,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 @@ -2066,7 +2078,7 @@ nm_ip_address_get_attribute (name on address -, or NULL if address +, or NULL if address has no such attribute.

[transfer none]

@@ -2077,7 +2089,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.

@@ -2114,10 +2126,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

@@ -2146,7 +2158,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).

[nullable] @@ -2156,7 +2168,7 @@ nm_ip_route_new (int famil

error

-

location to store error, or NULL

+

location to store error, or NULL

  @@ -2164,7 +2176,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]

@@ -2173,14 +2185,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 .

@@ -2210,7 +2222,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).

[nullable] @@ -2220,7 +2232,7 @@ point to buffers of the correct size for family

error

-

location to store error, or NULL

+

location to store error, or NULL

  @@ -2228,7 +2240,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]

@@ -2280,7 +2292,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, @@ -2310,16 +2322,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.

@@ -2354,7 +2366,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

@@ -2483,7 +2495,7 @@ have a valid address, use nm_inet_is_valid() to ch

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 @@ -2517,7 +2529,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 @@ -2549,7 +2561,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.

@@ -2577,7 +2589,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

@@ -2607,7 +2619,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

@@ -2626,7 +2638,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.


@@ -2637,7 +2649,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.

@@ -2667,9 +2679,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 @@ -2699,8 +2711,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)

@@ -2710,10 +2722,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]

@@ -2743,7 +2755,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" @@ -2773,7 +2785,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

@@ -2822,14 +2834,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 @@ -2862,7 +2874,7 @@ nm_ip_route_get_attribute (name on route -, or NULL if route +, or NULL if route has no such attribute.

[transfer none]

@@ -2873,7 +2885,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.

@@ -2919,12 +2931,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.

@@ -2958,7 +2970,7 @@ and the value is of the correct type and well-formed.

error

-

return location for a GError, or NULL

+

return location for a GError, or NULL

  @@ -2966,7 +2978,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

@@ -3089,7 +3101,7 @@ the instance if the reference count reaches zero.


nm_ip_routing_rule_is_sealed ()

-
gboolean
+
gboolean
 nm_ip_routing_rule_is_sealed (const NMIPRoutingRule *self);

Parameters

@@ -3169,7 +3181,7 @@ nm_ip_routing_rule_get_addr_family (const

nm_ip_routing_rule_get_invert ()

-
gboolean
+
gboolean
 nm_ip_routing_rule_get_invert (const NMIPRoutingRule *self);

Parameters

@@ -3197,7 +3209,7 @@ nm_ip_routing_rule_get_invert (const

nm_ip_routing_rule_set_invert ()

void
 nm_ip_routing_rule_set_invert (NMIPRoutingRule *self,
-                               gboolean invert);
+ gboolean invert);

Parameters

@@ -3225,7 +3237,7 @@ nm_ip_routing_rule_set_invert (

nm_ip_routing_rule_get_priority ()

-
gint64
+
gint64
 nm_ip_routing_rule_get_priority (const NMIPRoutingRule *self);

Parameters

@@ -3245,7 +3257,7 @@ nm_ip_routing_rule_get_priority (const

Returns

the priority. A valid priority is in the range from -0 to G_MAXUINT32. If unset, -1 is returned.

+0 to G_MAXUINT32. If unset, -1 is returned.

Since: 1.18

@@ -3254,8 +3266,8 @@ nm_ip_routing_rule_get_priority (const

nm_ip_routing_rule_set_priority ()

void
 nm_ip_routing_rule_set_priority (NMIPRoutingRule *self,
-                                 gint64 priority);
-

A valid priority ranges from 0 to G_MAXUINT32. "-1" is also allowed + gint64 priority); +

A valid priority ranges from 0 to G_MAXUINT32. "-1" is also allowed to reset the priority. It is a bug calling this function with any other value.

@@ -3285,7 +3297,7 @@ other value.


nm_ip_routing_rule_get_tos ()

-
guint8
+
guint8
 nm_ip_routing_rule_get_tos (const NMIPRoutingRule *self);

Parameters

@@ -3313,7 +3325,7 @@ nm_ip_routing_rule_get_tos (const

nm_ip_routing_rule_set_tos ()

void
 nm_ip_routing_rule_set_tos (NMIPRoutingRule *self,
-                            guint8 tos);
+ guint8 tos);

Parameters

@@ -3341,7 +3353,7 @@ nm_ip_routing_rule_set_tos (

nm_ip_routing_rule_get_ipproto ()

-
guint8
+
guint8
 nm_ip_routing_rule_get_ipproto (const NMIPRoutingRule *self);

Parameters

@@ -3369,7 +3381,7 @@ nm_ip_routing_rule_get_ipproto (const

nm_ip_routing_rule_set_ipproto ()

void
 nm_ip_routing_rule_set_ipproto (NMIPRoutingRule *self,
-                                guint8 ipproto);
+ guint8 ipproto);

Parameters

@@ -3397,7 +3409,7 @@ nm_ip_routing_rule_set_ipproto (

nm_ip_routing_rule_get_source_port_start ()

-
guint16
+
guint16
 nm_ip_routing_rule_get_source_port_start
                                (const NMIPRoutingRule *self);
@@ -3424,7 +3436,7 @@ nm_ip_routing_rule_get_source_port_start

nm_ip_routing_rule_get_source_port_end ()

-
guint16
+
guint16
 nm_ip_routing_rule_get_source_port_end
                                (const NMIPRoutingRule *self);
@@ -3453,8 +3465,8 @@ nm_ip_routing_rule_get_source_port_end

nm_ip_routing_rule_set_source_port ()

void
 nm_ip_routing_rule_set_source_port (NMIPRoutingRule *self,
-                                    guint16 start,
-                                    guint16 end);
+ guint16 start, + guint16 end);

Parameters

@@ -3487,7 +3499,7 @@ nm_ip_routing_rule_set_source_port (

nm_ip_routing_rule_get_destination_port_start ()

-
guint16
+
guint16
 nm_ip_routing_rule_get_destination_port_start
                                (const NMIPRoutingRule *self);
@@ -3514,7 +3526,7 @@ nm_ip_routing_rule_get_destination_port_start

nm_ip_routing_rule_get_destination_port_end ()

-
guint16
+
guint16
 nm_ip_routing_rule_get_destination_port_end
                                (const NMIPRoutingRule *self);
@@ -3544,8 +3556,8 @@ nm_ip_routing_rule_get_destination_port_end
void
 nm_ip_routing_rule_set_destination_port
                                (NMIPRoutingRule *self,
-                                guint16 start,
-                                guint16 end);
+ guint16 start, + guint16 end);

Parameters

@@ -3578,7 +3590,7 @@ nm_ip_routing_rule_set_destination_port

nm_ip_routing_rule_get_fwmark ()

-
guint32
+
guint32
 nm_ip_routing_rule_get_fwmark (const NMIPRoutingRule *self);

Parameters

@@ -3604,7 +3616,7 @@ nm_ip_routing_rule_get_fwmark (const

nm_ip_routing_rule_get_fwmask ()

-
guint32
+
guint32
 nm_ip_routing_rule_get_fwmask (const NMIPRoutingRule *self);

Parameters

@@ -3632,8 +3644,8 @@ nm_ip_routing_rule_get_fwmask (const

nm_ip_routing_rule_set_fwmark ()

void
 nm_ip_routing_rule_set_fwmark (NMIPRoutingRule *self,
-                               guint32 fwmark,
-                               guint32 fwmask);
+ guint32 fwmark, + guint32 fwmask);

Parameters

@@ -3666,7 +3678,7 @@ nm_ip_routing_rule_set_fwmark (

nm_ip_routing_rule_get_from_len ()

-
guint8
+
guint8
 nm_ip_routing_rule_get_from_len (const NMIPRoutingRule *self);

Parameters

@@ -3712,7 +3724,7 @@ nm_ip_routing_rule_get_from (const

Returns

the set from/src parameter or -NULL, if no value is set.

+NULL, if no value is set.

[transfer none]

Since: 1.18

@@ -3723,7 +3735,7 @@ nm_ip_routing_rule_get_from (const void nm_ip_routing_rule_set_from (NMIPRoutingRule *self, const char *from, - guint8 len);
+ guint8 len);

Setting invalid values is accepted, but will later fail during nm_ip_routing_rule_validate().

@@ -3759,7 +3771,7 @@ The address family must match.


nm_ip_routing_rule_get_to_len ()

-
guint8
+
guint8
 nm_ip_routing_rule_get_to_len (const NMIPRoutingRule *self);

Parameters

@@ -3805,7 +3817,7 @@ nm_ip_routing_rule_get_to (const

Returns

the set to/dst parameter or -NULL, if no value is set.

+NULL, if no value is set.

[transfer none]

Since: 1.18

@@ -3816,7 +3828,7 @@ nm_ip_routing_rule_get_to (const void nm_ip_routing_rule_set_to (NMIPRoutingRule *self, const char *to, - guint8 len);
+ guint8 len);

Setting invalid values is accepted, but will later fail during nm_ip_routing_rule_validate().

@@ -3843,7 +3855,7 @@ The address family must match.

+is NULL, this valid is ignored.

@@ -3873,7 +3885,7 @@ nm_ip_routing_rule_get_iifname (const

Returns

-

the set iifname or NULL if unset.

+

the set iifname or NULL if unset.

[transfer none]

Since: 1.18

@@ -3904,7 +3916,7 @@ representation you'd get double backslashes.

- + @@ -3934,7 +3946,7 @@ nm_ip_routing_rule_get_oifname (const

Returns

-

the set oifname or NULL if unset.

+

the set oifname or NULL if unset.

[transfer none]

Since: 1.18

@@ -3965,7 +3977,7 @@ representation you'd get double backslashes.

- + @@ -3976,7 +3988,7 @@ representation you'd get double backslashes.


nm_ip_routing_rule_get_action ()

-
guint8
+
guint8
 nm_ip_routing_rule_get_action (const NMIPRoutingRule *self);

Parameters

@@ -4004,7 +4016,7 @@ nm_ip_routing_rule_get_action (const

nm_ip_routing_rule_set_action ()

void
 nm_ip_routing_rule_set_action (NMIPRoutingRule *self,
-                               guint8 action);
+ guint8 action);

Note that currently only certain actions are allowed. nm_ip_routing_rule_validate() will reject unsupported actions as invalid.

@@ -4034,7 +4046,7 @@ will reject unsupported actions as invalid.


nm_ip_routing_rule_get_table ()

-
guint32
+
guint32
 nm_ip_routing_rule_get_table (const NMIPRoutingRule *self);

Parameters

@@ -4062,7 +4074,7 @@ nm_ip_routing_rule_get_table (const

nm_ip_routing_rule_set_table ()

void
 nm_ip_routing_rule_set_table (NMIPRoutingRule *self,
-                              guint32 table);
+ guint32 table);

Parameters

len

the corresponding prefix length of the address. If to -is NULL, this valid is ignored.

 

iifname

the iifname to set or NULL to unset.

the iifname to set or NULL to unset.

[nullable]

oifname

the oifname to set or NULL to unset.

the oifname to set or NULL to unset.

[nullable]
@@ -4090,7 +4102,7 @@ nm_ip_routing_rule_set_table (

nm_ip_routing_rule_get_suppress_prefixlength ()

-
gint32
+
gint32
 nm_ip_routing_rule_get_suppress_prefixlength
                                (const NMIPRoutingRule *self);
@@ -4120,7 +4132,7 @@ nm_ip_routing_rule_get_suppress_prefixlength
void
 nm_ip_routing_rule_set_suppress_prefixlength
                                (NMIPRoutingRule *self,
-                                gint32 suppress_prefixlength);
+ gint32 suppress_prefixlength);

Parameters

@@ -4149,10 +4161,10 @@ unset.


nm_ip_routing_rule_get_uid_range ()

-
gboolean
+
gboolean
 nm_ip_routing_rule_get_uid_range (const NMIPRoutingRule *self,
-                                  guint32 *out_range_start,
-                                  guint32 *out_range_end);
+ guint32 *out_range_start, + guint32 *out_range_end);

Parameters

@@ -4184,7 +4196,7 @@ or 0 if the range is not set.

Returns

-

TRUE if a uid range is set.

+

TRUE if a uid range is set.

This API was wrongly introduced in the header files for 1.32, but the symbols were not exported. The API only works since 1.34 and newer.

@@ -4195,8 +4207,8 @@ symbols were not exported. The API only works since 1.34 and newer.

nm_ip_routing_rule_set_uid_range ()

void
 nm_ip_routing_rule_set_uid_range (NMIPRoutingRule *self,
-                                  guint32 uid_range_start,
-                                  guint32 uid_range_end);
+ guint32 uid_range_start, + guint32 uid_range_end);

For a valid range, start must be less or equal to end. If set to an invalid range, the range gets unset.

This API was wrongly introduced in the header files for 1.32, but the @@ -4268,9 +4280,9 @@ equality or how the arguments compare.


nm_ip_routing_rule_validate ()

-
gboolean
+
gboolean
 nm_ip_routing_rule_validate (const NMIPRoutingRule *self,
-                             GError **error);
+ GError **error);

Parameters

@@ -4295,7 +4307,7 @@ nm_ip_routing_rule_validate (const

Returns

-

TRUE if the rule validates.

+

TRUE if the rule validates.

Since: 1.18

@@ -4305,8 +4317,8 @@ nm_ip_routing_rule_validate (const NMIPRoutingRule * nm_ip_routing_rule_from_string (const char *str, NMIPRoutingRuleAsStringFlags to_string_flags, - GHashTable *extra_args, - GError **error); + GHashTable *extra_args, + GError **error);

Parameters

@@ -4343,7 +4355,7 @@ conversion. Currently, not extra arguments are supported.

Returns

-

the new NMIPRoutingRule or NULL on error.

+

the new NMIPRoutingRule or NULL on error.

[transfer full]

Since: 1.18

@@ -4354,8 +4366,8 @@ conversion. Currently, not extra arguments are supported.

char *
 nm_ip_routing_rule_to_string (const NMIPRoutingRule *self,
                               NMIPRoutingRuleAsStringFlags to_string_flags,
-                              GHashTable *extra_args,
-                              GError **error);
+ GHashTable *extra_args, + GError **error);

Parameters

@@ -4392,7 +4404,7 @@ conversion. Currently, not extra arguments are supported.

Returns

-

the string representation or NULL on error.

+

the string representation or NULL on error.

[transfer full]

Since: 1.18

@@ -4427,7 +4439,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

@@ -4486,7 +4498,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.

@@ -4514,7 +4526,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

Before 1.42, setting dns to an invalid string was treated as user-error. @@ -4556,7 +4568,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);
@@ -4586,7 +4598,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.

Before 1.42, setting dns to an invalid string was treated as user-error.

@@ -4616,7 +4628,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);
@@ -4677,7 +4689,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.

@@ -4705,7 +4717,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

@@ -4744,7 +4756,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);
@@ -4774,7 +4786,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.


@@ -4803,7 +4815,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);
@@ -4830,7 +4842,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. @@ -4863,7 +4875,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);

Since 1.46, access at index "len" is allowed and returns NULL.

Parameters

@@ -4897,7 +4909,7 @@ nm_setting_ip_config_get_dns_option (

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.

@@ -4925,7 +4937,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

@@ -4965,7 +4977,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);
@@ -4995,7 +5007,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

@@ -5005,7 +5017,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

@@ -5061,7 +5073,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);
@@ -5122,7 +5134,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 @@ -5151,7 +5163,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.

@@ -5189,7 +5201,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);
@@ -5219,7 +5231,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.


@@ -5267,13 +5279,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

@@ -5333,13 +5345,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.

@@ -5367,7 +5379,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.


@@ -5404,7 +5416,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);
@@ -5437,7 +5449,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.


@@ -5465,7 +5477,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.

@@ -5493,7 +5505,7 @@ specify a metric. See “route-metric” for more deta

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.

@@ -5521,7 +5533,7 @@ property.


nm_setting_ip_config_get_num_routing_rules ()

-
guint
+
guint
 nm_setting_ip_config_get_num_routing_rules
                                (NMSettingIPConfig *setting);
@@ -5550,7 +5562,7 @@ nm_setting_ip_config_get_num_routing_rules

nm_setting_ip_config_get_routing_rule ()

NMIPRoutingRule *
 nm_setting_ip_config_get_routing_rule (NMSettingIPConfig *setting,
-                                       guint idx);
+ guint idx);

Parameters

@@ -5622,7 +5634,7 @@ of the added rule must be compatible with the setting.

void
 nm_setting_ip_config_remove_routing_rule
                                (NMSettingIPConfig *setting,
-                                guint idx);
+ guint idx);

Removes the routing_rule at index idx .

@@ -5676,7 +5688,7 @@ nm_setting_ip_config_clear_routing_rules

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” @@ -5698,14 +5710,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” @@ -5727,7 +5739,7 @@ property.

Returns

-

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

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

@@ -5762,7 +5774,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” @@ -5784,7 +5796,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.

@@ -5820,7 +5832,7 @@ property.


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” @@ -5842,14 +5854,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.

@@ -5870,7 +5882,7 @@ 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.

@@ -6021,7 +6033,7 @@ property.

const char *const *
 nm_setting_ip_config_get_dhcp_reject_servers
                                (NMSettingIPConfig *setting,
-                                guint *out_len);
+ guint *out_len);

Parameters

@@ -6046,8 +6058,8 @@ nm_setting_ip_config_get_dhcp_reject_servers

Returns

-

A NULL terminated array of DHCP reject servers. Even if no reject -servers are configured, this always returns a non NULL value.

+

A NULL terminated array of DHCP reject servers. Even if no reject +servers are configured, this always returns a non NULL value.

[array length=out_len zero-terminated=1][transfer none]

Since: 1.28

@@ -6090,7 +6102,7 @@ nm_setting_ip_config_add_dhcp_reject_server
void
 nm_setting_ip_config_remove_dhcp_reject_server
                                (NMSettingIPConfig *setting,
-                                guint idx);
+ guint idx);

Removes the DHCP reject server at index idx .

@@ -6195,6 +6207,33 @@ nm_setting_ip_config_get_replace_local_rule

Since: 1.44

+
+
+

nm_setting_ip_config_get_dhcp_send_release ()

+
NMTernary
+nm_setting_ip_config_get_dhcp_send_release
+                               (NMSettingIPConfig *setting);
+
+

Parameters

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

setting

the NMSettingIPConfig

 
+
+
+

Returns

+

the “dhcp-send-release” property of the setting

+
+

Since: 1.48

+

Types and Values

@@ -6581,6 +6620,12 @@ rule verfies or fail.


+

NM_SETTING_IP_CONFIG_DHCP_SEND_RELEASE

+
#define NM_SETTING_IP_CONFIG_DHCP_SEND_RELEASE   "dhcp-send-release"
+
+
+
+

NM_SETTING_IP_CONFIG_ROUTING_RULES

#define NM_SETTING_IP_CONFIG_ROUTING_RULES "routing-rules"
 
-- cgit 1.3.0-6-gf8a5