IPConfig
Object Hierarchy:
Description:
Namespace: NM
Package: libnm
Content:
Constants:
- public const string ADDRESSES
- public const string DOMAINS
- public const string FAMILY
- public const string GATEWAY
- public const string NAMESERVERS
- public const string ROUTES
- public const string SEARCHES
- public const string WINS_SERVERS
Properties:
- public GenericArray<IPAddress> 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:
- protected IPConfig ()
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 GLib.Object