From 2c032d8f1c6292c1338a615e6ec40252889ba85c Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Thu, 22 Jan 2015 00:29:39 +0100 Subject: Imported Upstream version 1.0.0 --- docs/libnm-util/html/NMSettingIP4Config.html | 68 ++++++++++++++++++++++++---- 1 file changed, 59 insertions(+), 9 deletions(-) (limited to 'docs/libnm-util/html/NMSettingIP4Config.html') diff --git a/docs/libnm-util/html/NMSettingIP4Config.html b/docs/libnm-util/html/NMSettingIP4Config.html index e44b6d49..20a04ac1 100644 --- a/docs/libnm-util/html/NMSettingIP4Config.html +++ b/docs/libnm-util/html/NMSettingIP4Config.html @@ -53,6 +53,7 @@ enum NM_SETTING_IP4_CONFIG_DNS_SEARCH #define NM_SETTING_IP4_CONFIG_ADDRESSES #define NM_SETTING_IP4_CONFIG_ROUTES +#define NM_SETTING_IP4_CONFIG_ROUTE_METRIC #define NM_SETTING_IP4_CONFIG_IGNORE_AUTO_ROUTES #define NM_SETTING_IP4_CONFIG_IGNORE_AUTO_DNS #define NM_SETTING_IP4_CONFIG_DHCP_CLIENT_ID @@ -157,6 +158,8 @@ const char * NMSettingIP4Config *setting, NMIP4Route *route); void nm_setting_ip4_config_clear_routes (NMSettingIP4Config *setting); +gint64 nm_setting_ip4_config_get_route_metric + (NMSettingIP4Config *setting); gboolean nm_setting_ip4_config_get_ignore_auto_routes (NMSettingIP4Config *setting); gboolean nm_setting_ip4_config_get_ignore_auto_dns @@ -195,7 +198,6 @@ const char *

Properties

-  "address-labels"           GSList_gchararray_*   : Read / Write
   "addresses"                GPtrArray_GArray_guint__*  : Read / Write
   "dhcp-client-id"           gchar*                : Read / Write
   "dhcp-hostname"            gchar*                : Read / Write
@@ -207,6 +209,7 @@ const char *        may-fail"                 gboolean              : Read / Write / Construct
   "method"                   gchar*                : Read / Write
   "never-default"            gboolean              : Read / Write / Construct
+  "route-metric"             gint64                : Read / Write / Construct
   "routes"                   GPtrArray_GArray_guint__*  : Read / Write
 
@@ -335,6 +338,14 @@ Registers an error quark for
+

NM_SETTING_IP4_CONFIG_ROUTE_METRIC

+
#define NM_SETTING_IP4_CONFIG_ROUTE_METRIC       "route-metric"
+
+

+

+
+
+

NM_SETTING_IP4_CONFIG_IGNORE_AUTO_ROUTES

#define NM_SETTING_IP4_CONFIG_IGNORE_AUTO_ROUTES "ignore-auto-routes"
 
@@ -1765,6 +1776,35 @@ Removes all configured routes.

+

nm_setting_ip4_config_get_route_metric ()

+
gint64              nm_setting_ip4_config_get_route_metric
+                                                        (NMSettingIP4Config *setting);
+

+Returns the value contained in the "route-metric" +property. +

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

setting :

the NMSettingIP4Config +

Returns :

the route metric that is used for IPv4 routes that don't explicitly +specify a metric. See "route-metric" for more details.
+

Since 1.0

+
+
+

nm_setting_ip4_config_get_ignore_auto_routes ()

gboolean            nm_setting_ip4_config_get_ignore_auto_routes
                                                         (NMSettingIP4Config *setting);
@@ -1967,14 +2007,6 @@ for the connection to succeed.

Property Details

-

The "address-labels" property

-
  "address-labels"           GSList_gchararray_*   : Read / Write
-

-Internal use only. -

-
-
-

The "addresses" property

  "addresses"                GPtrArray_GArray_guint__*  : Read / Write

@@ -2116,6 +2148,24 @@ meaning it will never be assigned the default route by NetworkManager.


+

The "route-metric" property

+
  "route-metric"             gint64                : Read / Write / Construct
+

+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. +The metric applies to dynamic routes, manual (static) routes that +don't have an explicit metric setting, address prefix routes, and +the default route. +As the linux kernel accepts zero (0) as a valid metric, zero is +a valid value. +

+

Allowed values: [-1,4294967295]

+

Default value: -1

+

Since 1.0

+
+
+

The "routes" property

  "routes"                   GPtrArray_GArray_guint__*  : Read / Write

-- cgit 1.3.0-6-gf8a5