From b436a68a20ff3114ded32a7a3d70cdd4954039f9 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sat, 12 Nov 2011 01:36:14 +0100 Subject: Imported Upstream version 0.9.2.0 --- docs/libnm-util/html/NMSettingIP6Config.html | 1078 ++++++++++++-------------- 1 file changed, 516 insertions(+), 562 deletions(-) (limited to 'docs/libnm-util/html/NMSettingIP6Config.html') diff --git a/docs/libnm-util/html/NMSettingIP6Config.html b/docs/libnm-util/html/NMSettingIP6Config.html index 0fe4cc5b..e0d39277 100644 --- a/docs/libnm-util/html/NMSettingIP6Config.html +++ b/docs/libnm-util/html/NMSettingIP6Config.html @@ -8,7 +8,7 @@ - + @@ -41,129 +41,118 @@

Synopsis

-
+
 #include <nm-setting-ip6-config.h>
 
-#define             NM_SETTING_IP6_CONFIG_SETTING_NAME
-enum                NMSettingIP6ConfigError;
-#define             NM_TYPE_SETTING_IP6_CONFIG_ERROR
-#define             NM_SETTING_IP6_CONFIG_ERROR
-GQuark              nm_setting_ip6_config_error_quark   (void);
-#define             NM_SETTING_IP6_CONFIG_METHOD
+typedef             NMIP6Address;
+typedef             NMIP6Route;
+                    NMSettingIP6Config;
+                    NMSettingIP6ConfigClass;
+enum                NMSettingIP6ConfigError;
+#define             NM_SETTING_IP6_CONFIG_ADDRESSES
 #define             NM_SETTING_IP6_CONFIG_DNS
 #define             NM_SETTING_IP6_CONFIG_DNS_SEARCH
-#define             NM_SETTING_IP6_CONFIG_ADDRESSES
-#define             NM_SETTING_IP6_CONFIG_ROUTES
-#define             NM_SETTING_IP6_CONFIG_IGNORE_AUTO_ROUTES
 #define             NM_SETTING_IP6_CONFIG_IGNORE_AUTO_DNS
-#define             NM_SETTING_IP6_CONFIG_NEVER_DEFAULT
+#define             NM_SETTING_IP6_CONFIG_IGNORE_AUTO_ROUTES
 #define             NM_SETTING_IP6_CONFIG_MAY_FAIL
-#define             NM_SETTING_IP6_CONFIG_METHOD_IGNORE
+#define             NM_SETTING_IP6_CONFIG_METHOD
 #define             NM_SETTING_IP6_CONFIG_METHOD_AUTO
 #define             NM_SETTING_IP6_CONFIG_METHOD_DHCP
+#define             NM_SETTING_IP6_CONFIG_METHOD_IGNORE
 #define             NM_SETTING_IP6_CONFIG_METHOD_LINK_LOCAL
 #define             NM_SETTING_IP6_CONFIG_METHOD_MANUAL
 #define             NM_SETTING_IP6_CONFIG_METHOD_SHARED
-typedef             NMIP6Address;
-GType               nm_ip6_address_get_type             (void);
-NMIP6Address *          nm_ip6_address_new              (void);
-NMIP6Address *          nm_ip6_address_dup              (NMIP6Address *source);
-void                nm_ip6_address_ref                  (NMIP6Address *address);
-void                nm_ip6_address_unref                (NMIP6Address *address);
+#define             NM_SETTING_IP6_CONFIG_NEVER_DEFAULT
+#define             NM_SETTING_IP6_CONFIG_ROUTES
+#define             NM_SETTING_IP6_CONFIG_SETTING_NAME
 gboolean            nm_ip6_address_compare              (NMIP6Address *address,
                                                          NMIP6Address *other);
+NMIP6Address *      nm_ip6_address_dup                  (NMIP6Address *source);
 const struct in6_addr * nm_ip6_address_get_address      (NMIP6Address *address);
+const struct in6_addr * nm_ip6_address_get_gateway      (NMIP6Address *address);
+guint32             nm_ip6_address_get_prefix           (NMIP6Address *address);
+NMIP6Address *      nm_ip6_address_new                  (void);
+void                nm_ip6_address_ref                  (NMIP6Address *address);
 void                nm_ip6_address_set_address          (NMIP6Address *address,
                                                          const struct in6_addr *addr);
-guint32             nm_ip6_address_get_prefix           (NMIP6Address *address);
-void                nm_ip6_address_set_prefix           (NMIP6Address *address,
-                                                         guint32 prefix);
-const struct in6_addr * nm_ip6_address_get_gateway      (NMIP6Address *address);
 void                nm_ip6_address_set_gateway          (NMIP6Address *address,
                                                          const struct in6_addr *gateway);
-typedef             NMIP6Route;
-GType               nm_ip6_route_get_type               (void);
-NMIP6Route *            nm_ip6_route_new                (void);
-NMIP6Route *            nm_ip6_route_dup                (NMIP6Route *source);
-void                nm_ip6_route_ref                    (NMIP6Route *route);
-void                nm_ip6_route_unref                  (NMIP6Route *route);
+void                nm_ip6_address_set_prefix           (NMIP6Address *address,
+                                                         guint32 prefix);
+void                nm_ip6_address_unref                (NMIP6Address *address);
 gboolean            nm_ip6_route_compare                (NMIP6Route *route,
                                                          NMIP6Route *other);
+NMIP6Route *        nm_ip6_route_dup                    (NMIP6Route *source);
 const struct in6_addr * nm_ip6_route_get_dest           (NMIP6Route *route);
+guint32             nm_ip6_route_get_metric             (NMIP6Route *route);
+const struct in6_addr * nm_ip6_route_get_next_hop       (NMIP6Route *route);
+guint32             nm_ip6_route_get_prefix             (NMIP6Route *route);
+NMIP6Route *        nm_ip6_route_new                    (void);
+void                nm_ip6_route_ref                    (NMIP6Route *route);
 void                nm_ip6_route_set_dest               (NMIP6Route *route,
                                                          const struct in6_addr *dest);
-guint32             nm_ip6_route_get_prefix             (NMIP6Route *route);
-void                nm_ip6_route_set_prefix             (NMIP6Route *route,
-                                                         guint32 prefix);
-const struct in6_addr * nm_ip6_route_get_next_hop       (NMIP6Route *route);
-void                nm_ip6_route_set_next_hop           (NMIP6Route *route,
-                                                         const struct in6_addr *next_hop);
-guint32             nm_ip6_route_get_metric             (NMIP6Route *route);
 void                nm_ip6_route_set_metric             (NMIP6Route *route,
                                                          guint32 metric);
-                    NMSettingIP6Config;
-                    NMSettingIP6ConfigClass;
-GType               nm_setting_ip6_config_get_type      (void);
-NMSetting *             nm_setting_ip6_config_new       (void);
-const char *            nm_setting_ip6_config_get_method
-                                                        (NMSettingIP6Config *setting);
-guint32             nm_setting_ip6_config_get_num_dns   (NMSettingIP6Config *setting);
-const struct in6_addr * nm_setting_ip6_config_get_dns   (NMSettingIP6Config *setting,
-                                                         guint32 i);
+void                nm_ip6_route_set_next_hop           (NMIP6Route *route,
+                                                         const struct in6_addr *next_hop);
+void                nm_ip6_route_set_prefix             (NMIP6Route *route,
+                                                         guint32 prefix);
+void                nm_ip6_route_unref                  (NMIP6Route *route);
+gboolean            nm_setting_ip6_config_add_address   (NMSettingIP6Config *setting,
+                                                         NMIP6Address *address);
 gboolean            nm_setting_ip6_config_add_dns       (NMSettingIP6Config *setting,
                                                          const struct in6_addr *dns);
-void                nm_setting_ip6_config_remove_dns    (NMSettingIP6Config *setting,
-                                                         guint32 i);
-void                nm_setting_ip6_config_clear_dns     (NMSettingIP6Config *setting);
-guint32             nm_setting_ip6_config_get_num_dns_searches
-                                                        (NMSettingIP6Config *setting);
-const char *            nm_setting_ip6_config_get_dns_search
-                                                        (NMSettingIP6Config *setting,
-                                                         guint32 i);
 gboolean            nm_setting_ip6_config_add_dns_search
                                                         (NMSettingIP6Config *setting,
                                                          const char *dns_search);
-void                nm_setting_ip6_config_remove_dns_search
+gboolean            nm_setting_ip6_config_add_route     (NMSettingIP6Config *setting,
+                                                         NMIP6Route *route);
+void                nm_setting_ip6_config_clear_addresses
+                                                        (NMSettingIP6Config *setting);
+void                nm_setting_ip6_config_clear_dns     (NMSettingIP6Config *setting);
+void                nm_setting_ip6_config_clear_dns_searches
+                                                        (NMSettingIP6Config *setting);
+void                nm_setting_ip6_config_clear_routes  (NMSettingIP6Config *setting);
+GQuark              nm_setting_ip6_config_error_quark   (void);
+NMIP6Address *      nm_setting_ip6_config_get_address   (NMSettingIP6Config *setting,
+                                                         guint32 i);
+const struct in6_addr * nm_setting_ip6_config_get_dns   (NMSettingIP6Config *setting,
+                                                         guint32 i);
+const char *        nm_setting_ip6_config_get_dns_search
                                                         (NMSettingIP6Config *setting,
                                                          guint32 i);
-void                nm_setting_ip6_config_clear_dns_searches
+gboolean            nm_setting_ip6_config_get_ignore_auto_dns
+                                                        (NMSettingIP6Config *setting);
+gboolean            nm_setting_ip6_config_get_ignore_auto_routes
+                                                        (NMSettingIP6Config *setting);
+gboolean            nm_setting_ip6_config_get_may_fail  (NMSettingIP6Config *setting);
+const char *        nm_setting_ip6_config_get_method    (NMSettingIP6Config *setting);
+gboolean            nm_setting_ip6_config_get_never_default
                                                         (NMSettingIP6Config *setting);
 guint32             nm_setting_ip6_config_get_num_addresses
                                                         (NMSettingIP6Config *setting);
-NMIP6Address *          nm_setting_ip6_config_get_address
-                                                        (NMSettingIP6Config *setting,
+guint32             nm_setting_ip6_config_get_num_dns   (NMSettingIP6Config *setting);
+guint32             nm_setting_ip6_config_get_num_dns_searches
+                                                        (NMSettingIP6Config *setting);
+guint32             nm_setting_ip6_config_get_num_routes
+                                                        (NMSettingIP6Config *setting);
+NMIP6Route *        nm_setting_ip6_config_get_route     (NMSettingIP6Config *setting,
                                                          guint32 i);
-gboolean            nm_setting_ip6_config_add_address   (NMSettingIP6Config *setting,
-                                                         NMIP6Address *address);
+NMSetting *         nm_setting_ip6_config_new           (void);
 void                nm_setting_ip6_config_remove_address
                                                         (NMSettingIP6Config *setting,
                                                          guint32 i);
-void                nm_setting_ip6_config_clear_addresses
-                                                        (NMSettingIP6Config *setting);
-guint32             nm_setting_ip6_config_get_num_routes
-                                                        (NMSettingIP6Config *setting);
-NMIP6Route *            nm_setting_ip6_config_get_route (NMSettingIP6Config *setting,
+void                nm_setting_ip6_config_remove_dns    (NMSettingIP6Config *setting,
+                                                         guint32 i);
+void                nm_setting_ip6_config_remove_dns_search
+                                                        (NMSettingIP6Config *setting,
                                                          guint32 i);
-gboolean            nm_setting_ip6_config_add_route     (NMSettingIP6Config *setting,
-                                                         NMIP6Route *route);
 void                nm_setting_ip6_config_remove_route  (NMSettingIP6Config *setting,
                                                          guint32 i);
-void                nm_setting_ip6_config_clear_routes  (NMSettingIP6Config *setting);
-gboolean            nm_setting_ip6_config_get_ignore_auto_routes
-                                                        (NMSettingIP6Config *setting);
-gboolean            nm_setting_ip6_config_get_ignore_auto_dns
-                                                        (NMSettingIP6Config *setting);
-gboolean            nm_setting_ip6_config_get_never_default
-                                                        (NMSettingIP6Config *setting);
-gboolean            nm_setting_ip6_config_get_may_fail  (NMSettingIP6Config *setting);
 

Object Hierarchy

-
-  GEnum
-   +----NMSettingIP6ConfigError
-
   GBoxed
    +----NMIP6Address
@@ -177,6 +166,10 @@ const char *            NMSetting
          +----NMSettingIP6Config
 
+
+  GEnum
+   +----NMSettingIP6ConfigError
+

Properties

@@ -202,15 +195,46 @@ properties related to IPv6 addressing, routing, and Domain Name Service

Details

-

NM_SETTING_IP6_CONFIG_SETTING_NAME

-
#define NM_SETTING_IP6_CONFIG_SETTING_NAME "ipv6"
+

NMIP6Address

+
typedef struct NMIP6Address NMIP6Address;
+
+

+

+
+
+
+

NMIP6Route

+
typedef struct NMIP6Route NMIP6Route;
+
+

+

+
+
+
+

NMSettingIP6Config

+
typedef struct _NMSettingIP6Config NMSettingIP6Config;
+

+

+
+
+
+

NMSettingIP6ConfigClass

+
typedef struct {
+	NMSettingClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+} NMSettingIP6ConfigClass;
 


-

enum NMSettingIP6ConfigError

+

enum NMSettingIP6ConfigError

typedef enum {
 	NM_SETTING_IP6_CONFIG_ERROR_UNKNOWN = 0,
 	NM_SETTING_IP6_CONFIG_ERROR_INVALID_PROPERTY,
@@ -248,39 +272,8 @@ not valid with the given IPv6 method
 

-

NM_TYPE_SETTING_IP6_CONFIG_ERROR

-
#define NM_TYPE_SETTING_IP6_CONFIG_ERROR (nm_setting_ip6_config_error_get_type ()) 
-
-

-

-
-
-
-

NM_SETTING_IP6_CONFIG_ERROR

-
#define NM_SETTING_IP6_CONFIG_ERROR nm_setting_ip6_config_error_quark ()
-
-

-

-
-
-
-

nm_setting_ip6_config_error_quark ()

-
GQuark              nm_setting_ip6_config_error_quark   (void);
-

-Registers an error quark for NMSettingIP6Config if necessary. -

-
-- - - - -

Returns :

the error quark used for NMSettingIP6Config errors.
-
-
-
-

NM_SETTING_IP6_CONFIG_METHOD

-
#define NM_SETTING_IP6_CONFIG_METHOD             "method"
+

NM_SETTING_IP6_CONFIG_ADDRESSES

+
#define NM_SETTING_IP6_CONFIG_ADDRESSES          "addresses"
 

@@ -303,30 +296,6 @@ Registers an error quark for
-

NM_SETTING_IP6_CONFIG_ADDRESSES

-
#define NM_SETTING_IP6_CONFIG_ADDRESSES          "addresses"
-
-

-

-
-
-
-

NM_SETTING_IP6_CONFIG_ROUTES

-
#define NM_SETTING_IP6_CONFIG_ROUTES             "routes"
-
-

-

-
-
-
-

NM_SETTING_IP6_CONFIG_IGNORE_AUTO_ROUTES

-
#define NM_SETTING_IP6_CONFIG_IGNORE_AUTO_ROUTES "ignore-auto-routes"
-
-

-

-
-
-

NM_SETTING_IP6_CONFIG_IGNORE_AUTO_DNS

#define NM_SETTING_IP6_CONFIG_IGNORE_AUTO_DNS    "ignore-auto-dns"
 
@@ -335,8 +304,8 @@ Registers an error quark for
-

NM_SETTING_IP6_CONFIG_NEVER_DEFAULT

-
#define NM_SETTING_IP6_CONFIG_NEVER_DEFAULT      "never-default"
+

NM_SETTING_IP6_CONFIG_IGNORE_AUTO_ROUTES

+
#define NM_SETTING_IP6_CONFIG_IGNORE_AUTO_ROUTES "ignore-auto-routes"
 

@@ -351,12 +320,10 @@ Registers an error quark for
-

NM_SETTING_IP6_CONFIG_METHOD_IGNORE

-
#define NM_SETTING_IP6_CONFIG_METHOD_IGNORE     "ignore"
+

NM_SETTING_IP6_CONFIG_METHOD

+
#define NM_SETTING_IP6_CONFIG_METHOD             "method"
 

-IPv6 is not required or is handled by some other mechanism, and NetworkManager -should not configure IPv6 for this connection.


@@ -382,6 +349,16 @@ router advertisements should be ignored.

+

NM_SETTING_IP6_CONFIG_METHOD_IGNORE

+
#define NM_SETTING_IP6_CONFIG_METHOD_IGNORE     "ignore"
+
+

+IPv6 is not required or is handled by some other mechanism, and NetworkManager +should not configure IPv6 for this connection. +

+
+
+

NM_SETTING_IP6_CONFIG_METHOD_LINK_LOCAL

#define NM_SETTING_IP6_CONFIG_METHOD_LINK_LOCAL "link-local"
 
@@ -417,114 +394,74 @@ supported for IPv6)

-

NMIP6Address

-
typedef struct NMIP6Address NMIP6Address;
+

NM_SETTING_IP6_CONFIG_NEVER_DEFAULT

+
#define NM_SETTING_IP6_CONFIG_NEVER_DEFAULT      "never-default"
 


-

nm_ip6_address_get_type ()

-
GType               nm_ip6_address_get_type             (void);
+

NM_SETTING_IP6_CONFIG_ROUTES

+
#define NM_SETTING_IP6_CONFIG_ROUTES             "routes"
+


-

nm_ip6_address_new ()

-
NMIP6Address *          nm_ip6_address_new              (void);
+

NM_SETTING_IP6_CONFIG_SETTING_NAME

+
#define NM_SETTING_IP6_CONFIG_SETTING_NAME "ipv6"
+

-Creates and returns a new NMIP6Address object.

-
-- - - - -

Returns :

the new empty NMIP6Address object. [transfer full] -

-

nm_ip6_address_dup ()

-
NMIP6Address *          nm_ip6_address_dup              (NMIP6Address *source);
+

nm_ip6_address_compare ()

+
gboolean            nm_ip6_address_compare              (NMIP6Address *address,
+                                                         NMIP6Address *other);

-Copies a given NMIP6Address object and returns the copy. +Determines if two NMIP6Address objects contain the same values.

- - + + + + + + - +

source :

the NMIP6Address object to copy

address :

the NMIP6Address +

other :

the NMIP6Address to compare address to.

Returns :

the copy of the given NMIP6Address copy. [transfer full] - +TRUE if the objects contain the same values, FALSE if they do not.

-

nm_ip6_address_ref ()

-
void                nm_ip6_address_ref                  (NMIP6Address *address);
-

-Increases the reference count of the object. -

-
-- - - - -

address :

the NMIP6Address -
-
-
-
-

nm_ip6_address_unref ()

-
void                nm_ip6_address_unref                (NMIP6Address *address);
-

-Decreases the reference count of the object. If the reference count -reaches zero, the object will be destroyed. -

-
-- - - - -

address :

the NMIP6Address -
-
-
-
-

nm_ip6_address_compare ()

-
gboolean            nm_ip6_address_compare              (NMIP6Address *address,
-                                                         NMIP6Address *other);
+

nm_ip6_address_dup ()

+
NMIP6Address *      nm_ip6_address_dup                  (NMIP6Address *source);

-Determines if two NMIP6Address objects contain the same values. +Copies a given NMIP6Address object and returns the copy.

- - - - - - + + - +

address :

the NMIP6Address -

other :

the NMIP6Address to compare address to.

source :

the NMIP6Address object to copy

Returns :

-TRUE if the objects contain the same values, FALSE if they do not.the copy of the given NMIP6Address copy. [transfer full] +
@@ -554,11 +491,10 @@ Gets the IPv6 address property of this address object.

-

nm_ip6_address_set_address ()

-
void                nm_ip6_address_set_address          (NMIP6Address *address,
-                                                         const struct in6_addr *addr);
+

nm_ip6_address_get_gateway ()

+
const struct in6_addr * nm_ip6_address_get_gateway      (NMIP6Address *address);

-Sets the IPv6 address property of this object. +Gets the IPv6 default gateway property of this address object.

@@ -569,8 +505,9 @@ Sets the IPv6 address property of this object. - - + +

addr :

the IPv6 address

Returns :

the IPv6 gateway address. [transfer none] +
@@ -599,33 +536,43 @@ Gets the IPv6 address prefix property of this address object.

-

nm_ip6_address_set_prefix ()

-
void                nm_ip6_address_set_prefix           (NMIP6Address *address,
-                                                         guint32 prefix);
+

nm_ip6_address_new ()

+
NMIP6Address *      nm_ip6_address_new                  (void);

-Sets the IPv6 address prefix. +Creates and returns a new NMIP6Address object.

- - + + + + +

Returns :

the new empty NMIP6Address object. [transfer full] +
+
+
+
+

nm_ip6_address_ref ()

+
void                nm_ip6_address_ref                  (NMIP6Address *address);
+

+Increases the reference count of the object. +

+
++ - - - - - - +

address :

the NMIP6Address

prefix :

the address prefix, a number between 0 and 128 inclusive

-

nm_ip6_address_get_gateway ()

-
const struct in6_addr * nm_ip6_address_get_gateway      (NMIP6Address *address);
+

nm_ip6_address_set_address ()

+
void                nm_ip6_address_set_address          (NMIP6Address *address,
+                                                         const struct in6_addr *addr);

-Gets the IPv6 default gateway property of this address object. +Sets the IPv6 address property of this object.

@@ -636,9 +583,8 @@ Gets the IPv6 default gateway property of this address object. - - + +

Returns :

the IPv6 gateway address. [transfer none] -

addr :

the IPv6 address
@@ -668,77 +614,31 @@ Sets the IPv6 default gateway property of this address object.

-

NMIP6Route

-
typedef struct NMIP6Route NMIP6Route;
-
-

-

-
-
-
-

nm_ip6_route_get_type ()

-
GType               nm_ip6_route_get_type               (void);
-

-

-
-
-
-

nm_ip6_route_new ()

-
NMIP6Route *            nm_ip6_route_new                (void);
-

-Creates and returns a new NMIP6Route object. -

-
-- - - - -

Returns :

the new empty NMIP6Route object. [transfer full] -
-
-
-
-

nm_ip6_route_dup ()

-
NMIP6Route *            nm_ip6_route_dup                (NMIP6Route *source);
+

nm_ip6_address_set_prefix ()

+
void                nm_ip6_address_set_prefix           (NMIP6Address *address,
+                                                         guint32 prefix);

-Copies a given NMIP6Route object and returns the copy. +Sets the IPv6 address prefix.

- - + + - - + +

source :

the NMIP6Route object to copy

address :

the NMIP6Address +

Returns :

the copy of the given NMIP6Route copy. [transfer full] -

prefix :

the address prefix, a number between 0 and 128 inclusive

-

nm_ip6_route_ref ()

-
void                nm_ip6_route_ref                    (NMIP6Route *route);
-

-Increases the reference count of the object. -

-
-- - - - -

route :

the NMIP6Route -
-
-
-
-

nm_ip6_route_unref ()

-
void                nm_ip6_route_unref                  (NMIP6Route *route);
+

nm_ip6_address_unref ()

+
void                nm_ip6_address_unref                (NMIP6Address *address);

Decreases the reference count of the object. If the reference count reaches zero, the object will be destroyed. @@ -746,8 +646,8 @@ reaches zero, the object will be destroyed.

- - +

route :

the NMIP6Route +

address :

the NMIP6Address
@@ -782,33 +682,32 @@ Determines if two
-

nm_ip6_route_get_dest ()

-
const struct in6_addr * nm_ip6_route_get_dest           (NMIP6Route *route);
+

nm_ip6_route_dup ()

+
NMIP6Route *        nm_ip6_route_dup                    (NMIP6Route *source);

-Gets the IPv6 destination address property of this route object. +Copies a given NMIP6Route object and returns the copy.

- - + + - +

route :

the NMIP6Route -

source :

the NMIP6Route object to copy

Returns :

the IPv6 addressthe copy of the given NMIP6Route copy. [transfer full] +

-

nm_ip6_route_set_dest ()

-
void                nm_ip6_route_set_dest               (NMIP6Route *route,
-                                                         const struct in6_addr *dest);
+

nm_ip6_route_get_dest ()

+
const struct in6_addr * nm_ip6_route_get_dest           (NMIP6Route *route);

-Sets the IPv6 destination address property of this route object. +Gets the IPv6 destination address property of this route object.

@@ -819,18 +718,19 @@ Sets the IPv6 destination address property of this route object. - - + +

dest :

the destination address

Returns :

the IPv6 address

-

nm_ip6_route_get_prefix ()

-
guint32             nm_ip6_route_get_prefix             (NMIP6Route *route);
+

nm_ip6_route_get_metric ()

+
guint32             nm_ip6_route_get_metric             (NMIP6Route *route);

-Gets the IPv6 prefix (ie "32" or "64" etc) of this route. +Gets the route metric property of this route object; lower values indicate +"better" or more preferred routes.

@@ -842,18 +742,17 @@ Gets the IPv6 prefix (ie "32" or "64" etc) of this route. - +

Returns :

the IPv6 prefixthe route metric

-

nm_ip6_route_set_prefix ()

-
void                nm_ip6_route_set_prefix             (NMIP6Route *route,
-                                                         guint32 prefix);
+

nm_ip6_route_get_next_hop ()

+
const struct in6_addr * nm_ip6_route_get_next_hop       (NMIP6Route *route);

-Sets the IPv6 prefix of this route. +Gets the IPv6 address of the next hop of this route.

@@ -864,18 +763,18 @@ Sets the IPv6 prefix of this route. - - + +

prefix :

the prefix, a number between 1 and 128 inclusive

Returns :

the IPv6 address

-

nm_ip6_route_get_next_hop ()

-
const struct in6_addr * nm_ip6_route_get_next_hop       (NMIP6Route *route);
+

nm_ip6_route_get_prefix ()

+
guint32             nm_ip6_route_get_prefix             (NMIP6Route *route);

-Gets the IPv6 address of the next hop of this route. +Gets the IPv6 prefix (ie "32" or "64" etc) of this route.

@@ -887,41 +786,50 @@ Gets the IPv6 address of the next hop of this route. - +

Returns :

the IPv6 addressthe IPv6 prefix

-

nm_ip6_route_set_next_hop ()

-
void                nm_ip6_route_set_next_hop           (NMIP6Route *route,
-                                                         const struct in6_addr *next_hop);
+

nm_ip6_route_new ()

+
NMIP6Route *        nm_ip6_route_new                    (void);

-Sets the IPv6 address of the next hop of this route. +Creates and returns a new NMIP6Route object.

- - + + + + +

Returns :

the new empty NMIP6Route object. [transfer full] +
+
+
+
+

nm_ip6_route_ref ()

+
void                nm_ip6_route_ref                    (NMIP6Route *route);
+

+Increases the reference count of the object. +

+
++ - - - - - - +

route :

the NMIP6Route

next_hop :

the IPv6 address of the next hop

-

nm_ip6_route_get_metric ()

-
guint32             nm_ip6_route_get_metric             (NMIP6Route *route);
+

nm_ip6_route_set_dest ()

+
void                nm_ip6_route_set_dest               (NMIP6Route *route,
+                                                         const struct in6_addr *dest);

-Gets the route metric property of this route object; lower values indicate -"better" or more preferred routes. +Sets the IPv6 destination address property of this route object.

@@ -932,8 +840,8 @@ Gets the route metric property of this route object; lower values indicate - - + +

Returns :

the route metric

dest :

the destination address
@@ -964,55 +872,76 @@ Sets the route metric property of this route object; lower values indicate

-

NMSettingIP6Config

-
typedef struct _NMSettingIP6Config NMSettingIP6Config;
-

-

-
-
-
-

NMSettingIP6ConfigClass

-
typedef struct {
-	NMSettingClass parent;
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-} NMSettingIP6ConfigClass;
-
+

nm_ip6_route_set_next_hop ()

+
void                nm_ip6_route_set_next_hop           (NMIP6Route *route,
+                                                         const struct in6_addr *next_hop);

+Sets the IPv6 address of the next hop of this route.

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

route :

the NMIP6Route +

next_hop :

the IPv6 address of the next hop

-

nm_setting_ip6_config_get_type ()

-
GType               nm_setting_ip6_config_get_type      (void);
+

nm_ip6_route_set_prefix ()

+
void                nm_ip6_route_set_prefix             (NMIP6Route *route,
+                                                         guint32 prefix);

+Sets the IPv6 prefix of this route.

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

route :

the NMIP6Route +

prefix :

the prefix, a number between 1 and 128 inclusive

-

nm_setting_ip6_config_new ()

-
NMSetting *             nm_setting_ip6_config_new       (void);
+

nm_ip6_route_unref ()

+
void                nm_ip6_route_unref                  (NMIP6Route *route);

-Creates a new NMSettingIP6Config object with default values. +Decreases the reference count of the object. If the reference count +reaches zero, the object will be destroyed.

- - +

Returns :

the new empty NMSettingIP6Config object. [transfer full] +

route :

the NMIP6Route

-

nm_setting_ip6_config_get_method ()

-
const char *            nm_setting_ip6_config_get_method
-                                                        (NMSettingIP6Config *setting);
+

nm_setting_ip6_config_add_address ()

+
gboolean            nm_setting_ip6_config_add_address   (NMSettingIP6Config *setting,
+                                                         NMIP6Address *address);
+

+Adds a new IPv6 address and associated information to the setting. The +given address is duplicated internally and is not changed by this function. +

@@ -1022,16 +951,26 @@ Creates a new address :

+
+ + - +
the new address to add

Returns :

the "method" property of the setting +TRUE if the address was added; FALSE if the address was already +known.

-

nm_setting_ip6_config_get_num_dns ()

-
guint32             nm_setting_ip6_config_get_num_dns   (NMSettingIP6Config *setting);
+

nm_setting_ip6_config_add_dns ()

+
gboolean            nm_setting_ip6_config_add_dns       (NMSettingIP6Config *setting,
+                                                         const struct in6_addr *dns);
+

+Adds a new DNS server to the setting. +

@@ -1041,17 +980,27 @@ Creates a new dns :

+
+ + - +
the IPv6 address of the DNS server to add

Returns :

the number of configured DNS servers +TRUE if the DNS server was added; FALSE if the server was already +known

-

nm_setting_ip6_config_get_dns ()

-
const struct in6_addr * nm_setting_ip6_config_get_dns   (NMSettingIP6Config *setting,
-                                                         guint32 i);
+

nm_setting_ip6_config_add_dns_search ()

+
gboolean            nm_setting_ip6_config_add_dns_search
+                                                        (NMSettingIP6Config *setting,
+                                                         const char *dns_search);
+

+Adds a new DNS search domain to the setting. +

@@ -1061,24 +1010,26 @@ Creates a new i :

-
+ + - +
index number of the DNS server to return

dns_search :

the search domain to add

Returns :

the IPv6 address of the DNS server at index i. [transfer none] - +TRUE if the DNS search domain was added; FALSE if the search +domain was already known

-

nm_setting_ip6_config_add_dns ()

-
gboolean            nm_setting_ip6_config_add_dns       (NMSettingIP6Config *setting,
-                                                         const struct in6_addr *dns);
+

nm_setting_ip6_config_add_route ()

+
gboolean            nm_setting_ip6_config_add_route     (NMSettingIP6Config *setting,
+                                                         NMIP6Route *route);

-Adds a new DNS server to the setting. +Adds a new IPv6 route and associated information to the setting. The +given route is duplicated internally and is not changed by this function.

@@ -1089,39 +1040,32 @@ Adds a new DNS server to the setting. - - + + +TRUE if the route was added; FALSE if the route was already known.

dns :

the IPv6 address of the DNS server to add

route :

the route to add

Returns :

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

-

nm_setting_ip6_config_remove_dns ()

-
void                nm_setting_ip6_config_remove_dns    (NMSettingIP6Config *setting,
-                                                         guint32 i);
+

nm_setting_ip6_config_clear_addresses ()

+
void                nm_setting_ip6_config_clear_addresses
+                                                        (NMSettingIP6Config *setting);

-Removes the DNS server at index i. +Removes all configured addresses.

- - + - - - - - - +

setting :

the NMSettingIP6Config

i :

index number of the DNS server to remove

@@ -1137,14 +1081,87 @@ Removes all configured DNS servers.

setting :

the NMSettingIP6Config - + +
+
+
+
+

nm_setting_ip6_config_clear_dns_searches ()

+
void                nm_setting_ip6_config_clear_dns_searches
+                                                        (NMSettingIP6Config *setting);
+

+Removes all configured DNS search domains. +

+
++ + + + +

setting :

the NMSettingIP6Config +
+
+
+
+

nm_setting_ip6_config_clear_routes ()

+
void                nm_setting_ip6_config_clear_routes  (NMSettingIP6Config *setting);
+

+Removes all configured routes. +

+
++ + + + +

setting :

the NMSettingIP6Config +
+
+
+
+

nm_setting_ip6_config_error_quark ()

+
GQuark              nm_setting_ip6_config_error_quark   (void);
+

+Registers an error quark for NMSettingIP6Config if necessary. +

+
++ + + + +

Returns :

the error quark used for NMSettingIP6Config errors.
+
+
+
+

nm_setting_ip6_config_get_address ()

+
NMIP6Address *      nm_setting_ip6_config_get_address   (NMSettingIP6Config *setting,
+                                                         guint32 i);
+
++ + + + + + + + + + + + + +

setting :

the NMSettingIP6Config +

i :

index number of the address to return

Returns :

the address at index i +

-

nm_setting_ip6_config_get_num_dns_searches ()

-
guint32             nm_setting_ip6_config_get_num_dns_searches
-                                                        (NMSettingIP6Config *setting);
+

nm_setting_ip6_config_get_dns ()

+
const struct in6_addr * nm_setting_ip6_config_get_dns   (NMSettingIP6Config *setting,
+                                                         guint32 i);
@@ -1154,8 +1171,13 @@ Removes all configured DNS servers. + + + + - +

i :

index number of the DNS server to return

Returns :

the number of configured DNS search domainsthe IPv6 address of the DNS server at index i. [transfer none] +
@@ -1163,7 +1185,7 @@ Removes all configured DNS servers.

nm_setting_ip6_config_get_dns_search ()

-
const char *            nm_setting_ip6_config_get_dns_search
+
const char *        nm_setting_ip6_config_get_dns_search
                                                         (NMSettingIP6Config *setting,
                                                          guint32 i);
@@ -1188,12 +1210,12 @@ Removes all configured DNS servers.
-

nm_setting_ip6_config_add_dns_search ()

-
gboolean            nm_setting_ip6_config_add_dns_search
-                                                        (NMSettingIP6Config *setting,
-                                                         const char *dns_search);
+

nm_setting_ip6_config_get_ignore_auto_dns ()

+
gboolean            nm_setting_ip6_config_get_ignore_auto_dns
+                                                        (NMSettingIP6Config *setting);

-Adds a new DNS search domain to the setting. +Returns the value contained in the "ignore-auto-dns" +property.

@@ -1204,26 +1226,22 @@ Adds a new DNS search domain to the setting. - - - - +TRUE if automatically configured (ie via DHCP or router +advertisements) DNS information should be ignored.

dns_search :

the search domain to add

Returns :

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

-

nm_setting_ip6_config_remove_dns_search ()

-
void                nm_setting_ip6_config_remove_dns_search
-                                                        (NMSettingIP6Config *setting,
-                                                         guint32 i);
+

nm_setting_ip6_config_get_ignore_auto_routes ()

+
gboolean            nm_setting_ip6_config_get_ignore_auto_routes
+                                                        (NMSettingIP6Config *setting);

-Removes the DNS search domain at index i. +Returns the value contained in the "ignore-auto-routes" +property.

@@ -1234,36 +1252,24 @@ Removes the DNS search domain at index i - - + +

i :

index number of the DNS search domain

Returns :

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

-

nm_setting_ip6_config_clear_dns_searches ()

-
void                nm_setting_ip6_config_clear_dns_searches
-                                                        (NMSettingIP6Config *setting);
+

nm_setting_ip6_config_get_may_fail ()

+
gboolean            nm_setting_ip6_config_get_may_fail  (NMSettingIP6Config *setting);

-Removes all configured DNS search domains. +Returns the value contained in the "may-fail" +property.

- - - - -

setting :

the NMSettingIP6Config -
-
-
-
-

nm_setting_ip6_config_get_num_addresses ()

-
guint32             nm_setting_ip6_config_get_num_addresses
-                                                        (NMSettingIP6Config *setting);
-
- @@ -1272,17 +1278,17 @@ Removes all configured DNS search domains. - +

setting :

Returns :

the number of configured addresses +TRUE if this connection doesn't require IPv6 addressing to complete +for the connection to succeed.

-

nm_setting_ip6_config_get_address ()

-
NMIP6Address *          nm_setting_ip6_config_get_address
-                                                        (NMSettingIP6Config *setting,
-                                                         guint32 i);
+

nm_setting_ip6_config_get_method ()

+
const char *        nm_setting_ip6_config_get_method    (NMSettingIP6Config *setting);
@@ -1292,25 +1298,20 @@ Removes all configured DNS search domains. - - - - - +

i :

index number of the address to return

Returns :

the address at index i -the "method" property of the setting

-

nm_setting_ip6_config_add_address ()

-
gboolean            nm_setting_ip6_config_add_address   (NMSettingIP6Config *setting,
-                                                         NMIP6Address *address);
+

nm_setting_ip6_config_get_never_default ()

+
gboolean            nm_setting_ip6_config_get_never_default
+                                                        (NMSettingIP6Config *setting);

-Adds a new IPv6 address and associated information to the setting. The -given address is duplicated internally and is not changed by this function. +Returns the value contained in the "never-default" +property.

@@ -1321,27 +1322,19 @@ given address is duplicated internally and is not changed by this function. - - - - +TRUE if this connection should never be the default connection +for IPv6 addressing

address :

the new address to add

Returns :

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

-

nm_setting_ip6_config_remove_address ()

-
void                nm_setting_ip6_config_remove_address
-                                                        (NMSettingIP6Config *setting,
-                                                         guint32 i);
-

-Removes the address at index i. -

+

nm_setting_ip6_config_get_num_addresses ()

+
guint32             nm_setting_ip6_config_get_num_addresses
+                                                        (NMSettingIP6Config *setting);
@@ -1351,34 +1344,16 @@ Removes the address at index i. - - + +

i :

index number of the address to remove

Returns :

the number of configured addresses

-

nm_setting_ip6_config_clear_addresses ()

-
void                nm_setting_ip6_config_clear_addresses
-                                                        (NMSettingIP6Config *setting);
-

-Removes all configured addresses. -

-
-- - - - -

setting :

the NMSettingIP6Config -
-
-
-
-

nm_setting_ip6_config_get_num_routes ()

-
guint32             nm_setting_ip6_config_get_num_routes
-                                                        (NMSettingIP6Config *setting);
+

nm_setting_ip6_config_get_num_dns ()

+
guint32             nm_setting_ip6_config_get_num_dns   (NMSettingIP6Config *setting);
@@ -1389,16 +1364,16 @@ Removes all configured addresses. - +

Returns :

the number of configured routesthe number of configured DNS servers

-

nm_setting_ip6_config_get_route ()

-
NMIP6Route *            nm_setting_ip6_config_get_route (NMSettingIP6Config *setting,
-                                                         guint32 i);
+

nm_setting_ip6_config_get_num_dns_searches ()

+
guint32             nm_setting_ip6_config_get_num_dns_searches
+                                                        (NMSettingIP6Config *setting);
@@ -1408,26 +1383,17 @@ Removes all configured addresses. - - - - - +

i :

index number of the route to return

Returns :

the route at index i -the number of configured DNS search domains

-

nm_setting_ip6_config_add_route ()

-
gboolean            nm_setting_ip6_config_add_route     (NMSettingIP6Config *setting,
-                                                         NMIP6Route *route);
-

-Adds a new IPv6 route and associated information to the setting. The -given route is duplicated internally and is not changed by this function. -

+

nm_setting_ip6_config_get_num_routes ()

+
guint32             nm_setting_ip6_config_get_num_routes
+                                                        (NMSettingIP6Config *setting);
@@ -1437,25 +1403,17 @@ given route is duplicated internally and is not changed by this function. - - - - - +

route :

the route to add

Returns :

-TRUE if the route was added; FALSE if the route was already known.the number of configured routes

-

nm_setting_ip6_config_remove_route ()

-
void                nm_setting_ip6_config_remove_route  (NMSettingIP6Config *setting,
+

nm_setting_ip6_config_get_route ()

+
NMIP6Route *        nm_setting_ip6_config_get_route     (NMSettingIP6Config *setting,
                                                          guint32 i);
-

-Removes the route at index i. -

@@ -1466,35 +1424,40 @@ Removes the route at index i. - + + + + +

i :

index number of the routeindex number of the route to return

Returns :

the route at index i +

-

nm_setting_ip6_config_clear_routes ()

-
void                nm_setting_ip6_config_clear_routes  (NMSettingIP6Config *setting);
+

nm_setting_ip6_config_new ()

+
NMSetting *         nm_setting_ip6_config_new           (void);

-Removes all configured routes. +Creates a new NMSettingIP6Config object with default values.

- - +

setting :

the NMSettingIP6Config +

Returns :

the new empty NMSettingIP6Config object. [transfer full]

-

nm_setting_ip6_config_get_ignore_auto_routes ()

-
gboolean            nm_setting_ip6_config_get_ignore_auto_routes
-                                                        (NMSettingIP6Config *setting);
+

nm_setting_ip6_config_remove_address ()

+
void                nm_setting_ip6_config_remove_address
+                                                        (NMSettingIP6Config *setting,
+                                                         guint32 i);

-Returns the value contained in the "ignore-auto-routes" -property. +Removes the address at index i.

@@ -1505,22 +1468,19 @@ property. - - + +

Returns :

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

i :

index number of the address to remove

-

nm_setting_ip6_config_get_ignore_auto_dns ()

-
gboolean            nm_setting_ip6_config_get_ignore_auto_dns
-                                                        (NMSettingIP6Config *setting);
+

nm_setting_ip6_config_remove_dns ()

+
void                nm_setting_ip6_config_remove_dns    (NMSettingIP6Config *setting,
+                                                         guint32 i);

-Returns the value contained in the "ignore-auto-dns" -property. +Removes the DNS server at index i.

@@ -1531,22 +1491,20 @@ property. - - + +

Returns :

-TRUE if automatically configured (ie via DHCP or router -advertisements) DNS information should be ignored.

i :

index number of the DNS server to remove

-

nm_setting_ip6_config_get_never_default ()

-
gboolean            nm_setting_ip6_config_get_never_default
-                                                        (NMSettingIP6Config *setting);
+

nm_setting_ip6_config_remove_dns_search ()

+
void                nm_setting_ip6_config_remove_dns_search
+                                                        (NMSettingIP6Config *setting,
+                                                         guint32 i);

-Returns the value contained in the "never-default" -property. +Removes the DNS search domain at index i.

@@ -1557,21 +1515,19 @@ property. - - + +

Returns :

-TRUE if this connection should never be the default connection -for IPv6 addressing

i :

index number of the DNS search domain

-

nm_setting_ip6_config_get_may_fail ()

-
gboolean            nm_setting_ip6_config_get_may_fail  (NMSettingIP6Config *setting);
+

nm_setting_ip6_config_remove_route ()

+
void                nm_setting_ip6_config_remove_route  (NMSettingIP6Config *setting,
+                                                         guint32 i);

-Returns the value contained in the "may-fail" -property. +Removes the route at index i.

@@ -1582,10 +1538,8 @@ property. - - + +

Returns :

-TRUE if this connection doesn't require IPv6 addressing to complete -for the connection to succeed.

i :

index number of the route
@@ -1720,6 +1674,6 @@ automatic configuration. Routes cannot be used with the 'shared' or
+ Generated by GTK-Doc V1.18
\ No newline at end of file -- cgit 1.3.0-6-gf8a5