| libnm-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
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);
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;
GObject * nm_ip6_config_new (DBusGConnection *connection,const char *object_path);
Creates a new NMIP6Config.
|
the DBusGConnection |
|
the DBus object path of the device |
Returns : |
a new IP6 configuration. [transfer full] |
const GSList * nm_ip6_config_get_addresses (NMIP6Config *config);
Gets the IP6 addresses (containing the address, prefix, and gateway).
|
a NMIP6Config |
Returns : |
the GSList containing NMIP6Addresses. This is the internal copy used by the configuration and must not be modified. [element-type NetworkManager.IP6Address] |
const GSList * nm_ip6_config_get_nameservers (NMIP6Config *config);
Gets the domain name servers (DNS).
|
a NMIP6Config |
Returns : |
a GSList containing elements of type 'struct in6_addr' which contain the addresses of nameservers of the configuration. This is the internal copy used by the configuration and must not be modified. [element-type Posix.in6_addr] |
const GPtrArray * nm_ip6_config_get_domains (NMIP6Config *config);
Gets the domain names.
|
a NMIP6Config |
Returns : |
the GPtrArray containing domains as strings. This is the internal copy used by the configuration, and must not be modified. [element-type utf8] |
const GSList * nm_ip6_config_get_routes (NMIP6Config *config);
Gets the routes.
|
a NMIP6Config |
Returns : |
the GSList containing NMIP6Routes. This is the internal copy used by the configuration, and must not be modified. [element-type NetworkManager.IP6Route] |