Top |
GObject * | nm_ip6_config_new () |
const char * | nm_ip6_config_get_gateway () |
const GSList * | nm_ip6_config_get_addresses () |
const GSList * | nm_ip6_config_get_routes () |
guint32 | nm_ip6_config_get_num_nameservers () |
const struct in6_addr * | nm_ip6_config_get_nameserver () |
const GSList * | nm_ip6_config_get_nameservers () |
const GPtrArray * | nm_ip6_config_get_domains () |
const GPtrArray * | nm_ip6_config_get_searches () |
#define | NM_IP6_CONFIG_GATEWAY |
#define | NM_IP6_CONFIG_ADDRESSES |
#define | NM_IP6_CONFIG_ROUTES |
#define | NM_IP6_CONFIG_NAMESERVERS |
#define | NM_IP6_CONFIG_DOMAINS |
#define | NM_IP6_CONFIG_SEARCHES |
GObject * nm_ip6_config_new (DBusGConnection *connection
,const char *object_path
);
Creates a new NMIP6Config.
const char *
nm_ip6_config_get_gateway (NMIP6Config *config
);
Gets the IP6 gateway.
Since: 0.9.10
const GSList *
nm_ip6_config_get_addresses (NMIP6Config *config
);
Gets the IP6 addresses (containing the address, prefix, and gateway).
the GSList containing NMIP6Addresses. This is the internal copy used by the configuration and must not be modified.
[element-type NMIP6Address]
const GSList *
nm_ip6_config_get_routes (NMIP6Config *config
);
Gets the routes.
the GSList containing NMIP6Routes. This is the internal copy used by the configuration, and must not be modified.
[element-type NMIP6Route]
guint32
nm_ip6_config_get_num_nameservers (NMIP6Config *config
);
Gets the number of the domain name servers in the configuration.
Since: 0.9.10
const struct in6_addr * nm_ip6_config_get_nameserver (NMIP6Config *config
,guint32 idx
);
Gets the domain name server at index idx
in the configuration.
the IPv6 address of domain name server at index iidx
.
[array fixed-size=16][element-type guint8][transfer none]
Since: 0.9.10
const GSList *
nm_ip6_config_get_nameservers (NMIP6Config *config
);
Gets the domain name servers (DNS).
[skip]
const GPtrArray *
nm_ip6_config_get_domains (NMIP6Config *config
);
Gets the domain names.
const GPtrArray *
nm_ip6_config_get_searches (NMIP6Config *config
);
Gets the dns searches.
the GPtrArray containing dns searches as strings. This is the internal copy used by the configuration, and must not be modified.
[element-type utf8]
Since: 0.9.10
“addresses”
property “addresses” NMIP6AddressObjectArray *
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.
Flags: Read
“domains”
property “domains” NMStringArray *
The GPtrArray containing domain strings of the configuration.
Flags: Read
“gateway”
property “gateway” gchar *
The IPv6 gateway as string
Flags: Read
Default value: NULL
Since: 0.9.10
“nameservers”
property “nameservers” NMIP6AddressArray *
The GPtrArray containing elements of type 'struct ip6_addr' which contain the addresses of nameservers of the configuration.
Flags: Read
“routes”
property “routes” NMIP6RouteObjectArray *
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.
Flags: Read