IPConfig
Object Hierarchy:
Description:
[
CCode ( type_id =
"nm_ip_config_get_type ()" ) ]
public abstract class IPConfig :
Object
Content:
Constants:
Properties:
- public GenericArray<void*> addresses { get; }
A GenericArray containing the addresses (
IPAddress) of the configuration.
- public string[] domains { get; }
The array containing domain strings of the configuration.
- public int family { get; }
The IP address family of the configuration; either <literal>
AF_INET</literal> or <literal>AF_INET6</literal>.
- public string gateway { get; }
The IP gateway address of the configuration as string.
- public string[] nameservers { get; }
The array containing name server IP addresses of the configuration.
- public GenericArray<IPRoute> routes { get; }
A GenericArray containing the routes (
IPRoute) of the configuration.
- public string[] searches { get; }
The array containing DNS search strings of the configuration.
- public string[] wins_servers { get; }
The array containing WINS server IP addresses of the configuration.
Creation methods:
Methods:
- public unowned GenericArray<IPAddress> get_addresses ()
Gets the IP addresses (containing the address, prefix, and gateway).
- public unowned string[] get_domains ()
Gets the domain names.
- public int get_family ()
Gets the IP address family
- public unowned string get_gateway ()
Gets the IP gateway address.
- public unowned string[] get_nameservers ()
Gets the domain name servers (DNS).
- public unowned GenericArray<IPRoute> get_routes ()
Gets the routes.
- public unowned string[] get_searches ()
Gets the DNS searches.
- public unowned string[] get_wins_servers ()
Gets the Windows Internet Name Service servers (WINS).
Inherited Members:
All known members inherited from class NM.Object
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref