SettingIP6Config
Object Hierarchy:
Description:
Namespace: NM
Package: libnm-util
Content:
Properties:
- public string dhcp_hostname { owned get; set; }
The specified name will be sent to the DHCP server when acquiring a lease.
- public bool ignore_auto_dns { get; set construct; }
When the method is set to "auto" or "dhcp" and this property is set to
true
, automatically configured nameservers and search domains are ignored and only nameservers and search domains specified in theNMSettingIP6Config:dns
s andNMSettingIP6Config:dns-search
properties, if any, are used. - public bool ignore_auto_routes { get; set construct; }
When the method is set to "auto" or "dhcp" and this property is set to
true
, automatically configured routes are ignored and only routes specified in theNMSettingIP6Config:routes
s property, if any, are used. - public int ip6_privacy { get; set construct; }
Configure IPv6 Privacy Extensions for SLAAC, described in RFC4941.
- public bool may_fail { get; set construct; }
If
true
, allow overall network configuration to proceed even if IPv6 configuration times out. - public string method { owned get; set; }
IPv6 configuration method.
- public bool never_default { get; set construct; }
If
true
, this connection will never be the default IPv6 connection, meaning it will never be assigned the default IPv6 route by NetworkManager. - public int64 route_metric { get; set construct; }
The default metric for routes that don't explicitly specify a metric.
Creation methods:
- public SettingIP6Config ()
Creates a new SettingIP6Config object with default values.
Methods:
- public bool add_address (IP6Address address)
Adds a new IPv6 address and associated information to the setting.
- public bool add_dns (void* dns)
Adds a new DNS server to the setting.
- public bool add_dns_search (string dns_search)
Adds a new DNS search domain to the setting.
- public bool add_route (IP6Route route)
Adds a new IPv6 route and associated information to the setting.
- public void clear_addresses ()
Removes all configured addresses.
- public void clear_dns ()
Removes all configured DNS servers.
- public void clear_dns_searches ()
Removes all configured DNS search domains.
- public void clear_routes ()
Removes all configured routes.
- public IP6Address get_address (uint32 i)
- public unowned string get_dhcp_hostname ()
Returns the value contained in the dhcp_hostname property.
- public void* get_dns (uint32 i)
- public unowned string get_dns_search (uint32 i)
- public bool get_ignore_auto_dns ()
Returns the value contained in the ignore_auto_dns property.
- public bool get_ignore_auto_routes ()
Returns the value contained in the ignore_auto_routes property.
- public SettingIP6ConfigPrivacy get_ip6_privacy ()
Returns the value contained in the ip6_privacy property.
- public bool get_may_fail ()
Returns the value contained in the may_fail property.
- public unowned string get_method ()
- public bool get_never_default ()
Returns the value contained in the never_default property.
- public uint32 get_num_addresses ()
- public uint32 get_num_dns ()
- public uint32 get_num_dns_searches ()
- public uint32 get_num_routes ()
- public IP6Route get_route (uint32 i)
- public int64 get_route_metric ()
Returns the value contained in the route_metric property.
- public void remove_address (uint32 i)
Removes the address at index
i
. - public bool remove_address_by_value (IP6Address address)
Removes the address
address
. - public void remove_dns (uint32 i)
Removes the DNS server at index
i
. - public bool remove_dns_by_value (void* dns)
Removes the DNS server at index
i
. - public void remove_dns_search (uint32 i)
Removes the DNS search domain at index
i
. - public bool remove_dns_search_by_value (string dns_search)
Removes the DNS search domain
dns_search
. - public void remove_route (uint32 i)
Removes the route at index
i
. - public bool remove_route_by_value (IP6Route route)
Removes the route
route
.
Inherited Members:
All known members inherited from class NM.Setting
All known members inherited from class GLib.Object