| Top |
| GObject * | nm_ip4_config_new () |
| const char * | nm_ip4_config_get_gateway () |
| const GSList * | nm_ip4_config_get_addresses () |
| const GSList * | nm_ip4_config_get_routes () |
| const GArray * | nm_ip4_config_get_nameservers () |
| const GPtrArray * | nm_ip4_config_get_domains () |
| const GPtrArray * | nm_ip4_config_get_searches () |
| const GArray * | nm_ip4_config_get_wins_servers () |
| gpointer | addresses | Read |
| NMStringArray * | domains | Read |
| gchar * | gateway | Read |
| NMUintArray * | nameservers | Read |
| gpointer | routes | Read |
| NMStringArray * | searches | Read |
| NMUintArray * | wins-servers | Read |
| #define | NM_IP4_CONFIG_GATEWAY |
| #define | NM_IP4_CONFIG_ADDRESSES |
| #define | NM_IP4_CONFIG_ROUTES |
| #define | NM_IP4_CONFIG_NAMESERVERS |
| #define | NM_IP4_CONFIG_DOMAINS |
| #define | NM_IP4_CONFIG_SEARCHES |
| #define | NM_IP4_CONFIG_WINS_SERVERS |
GObject * nm_ip4_config_new (DBusGConnection *connection,const char *object_path);
Creates a new NMIP4Config.
const char *
nm_ip4_config_get_gateway (NMIP4Config *config);
Gets the IP4 gateway address.
Since: 0.9.10
const GSList *
nm_ip4_config_get_addresses (NMIP4Config *config);
Gets the IP4 addresses (containing the address, prefix, and gateway).
const GSList *
nm_ip4_config_get_routes (NMIP4Config *config);
Gets the routes.
const GArray *
nm_ip4_config_get_nameservers (NMIP4Config *config);
Gets the domain name servers (DNS).
const GPtrArray *
nm_ip4_config_get_domains (NMIP4Config *config);
Gets the domain names.
const GPtrArray *
nm_ip4_config_get_searches (NMIP4Config *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
const GArray *
nm_ip4_config_get_wins_servers (NMIP4Config *config);
Gets the Windows Internet Name Service servers (WINS).
“addresses” property “addresses” gpointer
The GPtrArray containing NMIP4Addresses of the configuration.
Flags: Read
“domains” property “domains” NMStringArray *
The GPtrArray containing domain strings of the configuration.
Flags: Read
“gateway” property “gateway” gchar *
The IP4 gateway address of the configuration as string.
Flags: Read
Default value: NULL
Since: 0.9.10
“nameservers” property “nameservers” NMUintArray *
The GArray containing name servers (guint32s) of the configuration.
Flags: Read
“routes” property “routes” gpointer
The GPtrArray containing NMSettingIP4Routes of the configuration.
Flags: Read
“searches” property “searches” NMStringArray *
The GPtrArray containing dns search strings of the configuration.
Flags: Read
Since: 0.9.10