| libnm-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
NMIP6Config;
#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);
"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
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 |
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 NMSettingIP6Addresses. This is the internal copy used by the configuration and must not be modified. |
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. |
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. |
const GSList * nm_ip6_config_get_routes (NMIP6Config *config);
Gets the routes.
|
a NMIP6Config |
Returns : |
the GSList containing NMSettingIP6Routes. This is the internal copy used by the configuration, and must not be modified. |
"addresses" property"addresses" nm-ip6-address-object-array* : Read
The GPtrArray containing the IPv6 addresses; use
nm_utils_ip6_addresses_from_gvalue() to return a GSList of
NMSettingIP6Address objects that is more usable than the raw data.
"domains" property"domains" nm-string-array* : Read
The GPtrArray containing domain strings of the configuration.
"nameservers" property"nameservers" nm-ip6-address-array* : Read
The GPtrArray containing elements of type 'struct ip6_addr' which contain the addresses of nameservers of the configuration.
"routes" property"routes" nm-ip6-route-object-array* : Read
The GPtrArray containing the IPv6 routes; use
nm_utils_ip6_routes_from_gvalue() to return a GSList of
NMSettingIP6Address objects that is more usable than the raw data.