SettingIP4Config
Object Hierarchy:
Description:
[ CCode ( type_id = "nm_setting_ip4_config_get_type ()" ) ]
public sealed class SettingIP4Config : SettingIPConfig
public sealed class SettingIP4Config : SettingIPConfig
IPv4 Settings
Namespace: NM
Package: libnm
Content:
Constants:
- public const string DHCP_CLIENT_ID
- public const string DHCP_FQDN
- public const string DHCP_VENDOR_CLASS_IDENTIFIER
- public const string LINK_LOCAL
- public const string METHOD_AUTO
IPv4 configuration should be automatically determined via a method appropriate for the hardware interface, ie DHCP or PPP or some other device-specific manner.
- public const string METHOD_DISABLED
This connection does not use or require IPv4 address and it should be disabled.
- public const string METHOD_LINK_LOCAL
IPv4 configuration should be automatically configured for link-local-only operation.
- public const string METHOD_MANUAL
All necessary IPv4 configuration (addresses, prefix, DNS, etc) is specified in the setting's properties.
- public const string METHOD_SHARED
This connection specifies configuration that allows other computers to connect through it to the default network (usually the Internet).
- public const string SETTING_NAME
Properties:
- public string dhcp_client_id { owned get; set; }
A string sent to the DHCP server to identify the local machine which the DHCP server may use to customize the DHCP lease and options.
- public string dhcp_fqdn { owned get; set; }
If the dhcp_send_hostname property is true, then the specified FQDN will be sent to the DHCP server when acquiring a lease.
- public string dhcp_vendor_class_identifier { owned get; set; }
The Vendor Class Identifier DHCP option (60).
- public int link_local { get; set; }
Enable and disable the IPv4 link-local configuration independently of the ipv4.
Creation methods:
- public SettingIP4Config ()
Creates a new SettingIP4Config object with default values.
Methods:
- public unowned string get_dhcp_client_id ()
Returns the value contained in the dhcp_client_id property.
- public unowned string get_dhcp_fqdn ()
Returns the value contained in the dhcp_fqdn property.
- public unowned string get_dhcp_vendor_class_identifier ()
Returns the value contained in the dhcp_vendor_class_identifier property.
- public SettingIP4LinkLocal get_link_local ()
Returns the value contained in the link_local property.
Inherited Members:
All known members inherited from class NM.SettingIPConfig
- ADDRESSES
- AUTO_ROUTE_EXT_GW
- DAD_TIMEOUT
- DAD_TIMEOUT_MAX
- DHCP_HOSTNAME
- DHCP_HOSTNAME_FLAGS
- DHCP_IAID
- DHCP_REJECT_SERVERS
- DHCP_SEND_HOSTNAME
- DHCP_TIMEOUT
- DNS
- DNS_OPTIONS
- DNS_PRIORITY
- DNS_SEARCH
- GATEWAY
- IGNORE_AUTO_DNS
- IGNORE_AUTO_ROUTES
- MAY_FAIL
- METHOD
- NEVER_DEFAULT
- REPLACE_LOCAL_RULE
- REQUIRED_TIMEOUT
- ROUTES
- ROUTE_METRIC
- ROUTE_TABLE
- ROUTING_RULES
- add_address
- add_dhcp_reject_server
- add_dns
- add_dns_option
- add_dns_search
- add_route
- add_routing_rule
- addresses
- auto_route_ext_gw
- clear_addresses
- clear_dhcp_reject_servers
- clear_dns
- clear_dns_options
- clear_dns_searches
- clear_routes
- clear_routing_rules
- dad_timeout
- dhcp_hostname
- dhcp_hostname_flags
- dhcp_iaid
- dhcp_reject_servers
- dhcp_send_hostname
- dhcp_timeout
- dns
- dns_options
- dns_priority
- dns_search
- gateway
- get_address
- get_auto_route_ext_gw
- get_dad_timeout
- get_dhcp_hostname
- get_dhcp_hostname_flags
- get_dhcp_iaid
- get_dhcp_reject_servers
- get_dhcp_send_hostname
- get_dhcp_timeout
- get_dns
- get_dns_option
- get_dns_priority
- get_dns_search
- get_gateway
- get_ignore_auto_dns
- get_ignore_auto_routes
- get_may_fail
- get_method
- get_never_default
- get_num_addresses
- get_num_dns
- get_num_dns_options
- get_num_dns_searches
- get_num_routes
- get_num_routing_rules
- get_replace_local_rule
- get_required_timeout
- get_route
- get_route_metric
- get_route_table
- get_routing_rule
- has_dns_options
- ignore_auto_dns
- ignore_auto_routes
- may_fail
- method
- never_default
- remove_address
- remove_address_by_value
- remove_dhcp_reject_server
- remove_dns
- remove_dns_by_value
- remove_dns_option
- remove_dns_option_by_value
- remove_dns_search
- remove_dns_search_by_value
- remove_route
- remove_route_by_value
- remove_routing_rule
- replace_local_rule
- required_timeout
- route_metric
- route_table
- routes
All known members inherited from class NM.Setting
All known members inherited from class GLib.Object