NMIP6Config

NMIP6Config

Synopsis

                    NMIP6Config;
                    NMIP6ConfigClass;
#define             NM_IP6_CONFIG_ADDRESSES
#define             NM_IP6_CONFIG_NAMESERVERS
#define             NM_IP6_CONFIG_DOMAINS
#define             NM_IP6_CONFIG_ROUTES
GObject *           nm_ip6_config_new                   (DBusGConnection *connection,
                                                         const char *object_path);
const GSList *      nm_ip6_config_get_addresses         (NMIP6Config *config);
const GSList *      nm_ip6_config_get_nameservers       (NMIP6Config *config);
const GPtrArray *   nm_ip6_config_get_domains           (NMIP6Config *config);
const GSList *      nm_ip6_config_get_routes            (NMIP6Config *config);

Object Hierarchy

  GObject
   +----NMObject
         +----NMIP6Config

Properties

  "addresses"                nm-ip6-address-object-array*  : Read
  "domains"                  nm-string-array*      : Read
  "nameservers"              nm-ip6-address-array*  : Read
  "routes"                   nm-ip6-route-object-array*  : Read

Description

Details

NMIP6Config

typedef struct _NMIP6Config NMIP6Config;


NMIP6ConfigClass

typedef struct {
	NMObjectClass parent;

	/* Padding for future expansion */
	void (*_reserved1) (void);
	void (*_reserved2) (void);
	void (*_reserved3) (void);
	void (*_reserved4) (void);
	void (*_reserved5) (void);
	void (*_reserved6) (void);
} NMIP6ConfigClass;


NM_IP6_CONFIG_ADDRESSES

#define NM_IP6_CONFIG_ADDRESSES "addresses"


NM_IP6_CONFIG_NAMESERVERS

#define NM_IP6_CONFIG_NAMESERVERS "nameservers"


NM_IP6_CONFIG_DOMAINS

#define NM_IP6_CONFIG_DOMAINS "domains"


NM_IP6_CONFIG_ROUTES

#define NM_IP6_CONFIG_ROUTES "routes"


nm_ip6_config_new ()

GObject *           nm_ip6_config_new                   (DBusGConnection *connection,
                                                         const char *object_path);

Creates a new NMIP6Config.

connection :

the DBusGConnection

object_path :

the DBus object path of the device

Returns :

a new IP6 configuration

nm_ip6_config_get_addresses ()

const GSList *      nm_ip6_config_get_addresses         (NMIP6Config *config);

Gets the IP6 addresses (containing the address, prefix, and gatewa