Top | ![]() |
![]() |
![]() |
![]() |
NMSetting * | nm_setting_ip4_config_new () |
const char * | nm_setting_ip4_config_get_dhcp_client_id () |
const char * | nm_setting_ip4_config_get_dhcp_fqdn () |
const char * | nm_setting_ip4_config_get_dhcp_vendor_class_identifier () |
NMSettingIP4LinkLocal | nm_setting_ip4_config_get_link_local () |
const char *
nm_setting_ip4_config_get_dhcp_client_id
(NMSettingIP4Config *setting
);
const char *
nm_setting_ip4_config_get_dhcp_fqdn (NMSettingIP4Config *setting
);
const char *
nm_setting_ip4_config_get_dhcp_vendor_class_identifier
(NMSettingIP4Config *setting
);
NMSettingIP4LinkLocal
nm_setting_ip4_config_get_link_local (NMSettingIP4Config *setting
);
#define NM_SETTING_IP4_CONFIG_DHCP_VENDOR_CLASS_IDENTIFIER "dhcp-vendor-class-identifier"
#define NM_SETTING_IP4_CONFIG_METHOD_AUTO "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.
#define NM_SETTING_IP4_CONFIG_METHOD_LINK_LOCAL "link-local"
IPv4 configuration should be automatically configured for link-local-only operation.
#define NM_SETTING_IP4_CONFIG_METHOD_MANUAL "manual"
All necessary IPv4 configuration (addresses, prefix, DNS, etc) is specified in the setting's properties.
#define NM_SETTING_IP4_CONFIG_METHOD_SHARED "shared"
This connection specifies configuration that allows other computers to connect through it to the default network (usually the Internet). The connection's interface will be assigned a private address, and a DHCP server, caching DNS server, and Network Address Translation (NAT) functionality will be started on this connection's interface to allow other devices to connect through that interface to the default network.
#define NM_SETTING_IP4_CONFIG_METHOD_DISABLED "disabled"
This connection does not use or require IPv4 address and it should be disabled.
NMSettingIP4LinkLocal values indicate whether IPv4 link-local address protocol should be enabled.
Allow fallback to a globally configured default. If unspecified, fallback to "auto". Note that if "ipv4.method" is "disabled", this always implies link-local addresses disabled too. |
||
Special value which enables LL if "ipv4.method" is set to "link-local". |
||
Disable IPv4 link-local protocol. |
||
Enable the IPv4 link-local protocol regardless what other protocols such as DHCP or manually assigned IP addresses might be active. |
Since: 1.40