Top |
int | nm_ip_config_get_family () |
const char * | nm_ip_config_get_gateway () |
GPtrArray * | nm_ip_config_get_addresses () |
GPtrArray * | nm_ip_config_get_routes () |
const char *const * | nm_ip_config_get_nameservers () |
const char *const * | nm_ip_config_get_domains () |
const char *const * | nm_ip_config_get_searches () |
const char *const * | nm_ip_config_get_wins_servers () |
GPtrArray * | addresses | Read |
GStrv | domains | Read |
int | family | Read |
char * | gateway | Read |
GStrv | nameservers | Read |
GPtrArray * | routes | Read |
GStrv | searches | Read |
GStrv | wins-servers | Read |
#define | NM_IP_CONFIG_FAMILY |
#define | NM_IP_CONFIG_GATEWAY |
#define | NM_IP_CONFIG_ADDRESSES |
#define | NM_IP_CONFIG_ROUTES |
#define | NM_IP_CONFIG_NAMESERVERS |
#define | NM_IP_CONFIG_DOMAINS |
#define | NM_IP_CONFIG_SEARCHES |
#define | NM_IP_CONFIG_WINS_SERVERS |
NMIPConfig |
int
nm_ip_config_get_family (NMIPConfig *config
);
Gets the IP address family
const char *
nm_ip_config_get_gateway (NMIPConfig *config
);
Gets the IP gateway address.
GPtrArray *
nm_ip_config_get_addresses (NMIPConfig *config
);
Gets the IP addresses (containing the address, prefix, and gateway).
the GPtrArray containing NMIPAddresses. This is the internal copy used by the configuration and must not be modified. The library never modifies the returned array and thus it is safe for callers to reference and keep using it.
[element-type NMIPAddress][transfer none]
GPtrArray *
nm_ip_config_get_routes (NMIPConfig *config
);
Gets the routes.
the GPtrArray containing NMIPRoutes. This is the internal copy used by the configuration, and must not be modified. The library never modifies the returned array and thus it is safe for callers to reference and keep using it.
[element-type NMIPRoute][transfer none]
const char *const *
nm_ip_config_get_nameservers (NMIPConfig *config
);
Gets the domain name servers (DNS).
const char *const *
nm_ip_config_get_domains (NMIPConfig *config
);
Gets the domain names.
const char *const *
nm_ip_config_get_searches (NMIPConfig *config
);
Gets the DNS searches.
const char *const *
nm_ip_config_get_wins_servers (NMIPConfig *config
);
Gets the Windows Internet Name Service servers (WINS).
“addresses”
property “addresses” GPtrArray *
A GPtrArray containing the addresses (NMIPAddress) of the configuration.
Owner: NMIPConfig
Flags: Read
“domains”
property “domains” GStrv
The array containing domain strings of the configuration.
Owner: NMIPConfig
Flags: Read
“family”
property “family” int
The IP address family of the configuration; either
AF_INET
or AF_INET6
.
Owner: NMIPConfig
Flags: Read
Allowed values: [0,255]
Default value: 0
“gateway”
property “gateway” char *
The IP gateway address of the configuration as string.
Owner: NMIPConfig
Flags: Read
Default value: NULL
“nameservers”
property “nameservers” GStrv
The array containing name server IP addresses of the configuration.
Owner: NMIPConfig
Flags: Read
“routes”
property “routes” GPtrArray *
A GPtrArray containing the routes (NMIPRoute) of the configuration.
[type GPtrArray(NMIPRoute)]
Owner: NMIPConfig
Flags: Read
“searches”
property “searches” GStrv
The array containing DNS search strings of the configuration.
Owner: NMIPConfig
Flags: Read