NMSettingIP4Config
NMSettingIP4Config
|
|
Synopsis
#define NM_SETTING_IP4_CONFIG_SETTING_NAME
enum NMSettingIP4ConfigError;
#define NM_TYPE_SETTING_IP4_CONFIG_ERROR
#define NM_SETTING_IP4_CONFIG_ERROR
GQuark nm_setting_ip4_config_error_quark (void);
#define NM_SETTING_IP4_CONFIG_METHOD
#define NM_SETTING_IP4_CONFIG_DNS
#define NM_SETTING_IP4_CONFIG_DNS_SEARCH
#define NM_SETTING_IP4_CONFIG_ADDRESSES
#define NM_SETTING_IP4_CONFIG_ROUTES
#define NM_SETTING_IP4_CONFIG_IGNORE_AUTO_ROUTES
#define NM_SETTING_IP4_CONFIG_IGNORE_AUTO_DNS
#define NM_SETTING_IP4_CONFIG_DHCP_CLIENT_ID
#define NM_SETTING_IP4_CONFIG_DHCP_SEND_HOSTNAME
#define NM_SETTING_IP4_CONFIG_DHCP_HOSTNAME
#define NM_SETTING_IP4_CONFIG_NEVER_DEFAULT
#define NM_SETTING_IP4_CONFIG_MAY_FAIL
#define NM_SETTING_IP4_CONFIG_METHOD_AUTO
#define NM_SETTING_IP4_CONFIG_METHOD_LINK_LOCAL
#define NM_SETTING_IP4_CONFIG_METHOD_MANUAL
#define NM_SETTING_IP4_CONFIG_METHOD_SHARED
#define NM_SETTING_IP4_CONFIG_METHOD_DISABLED
typedef NMIP4Address;
NMIP4Address * nm_ip4_address_new (void);
NMIP4Address * nm_ip4_address_dup (NMIP4Address *source);
void nm_ip4_address_ref (NMIP4Address *address);
void nm_ip4_address_unref (NMIP4Address *address);
gboolean nm_ip4_address_compare (NMIP4Address *address,
NMIP4Address *other);
guint32 nm_ip4_address_get_address (NMIP4Address *address);
void nm_ip4_address_set_address (NMIP4Address *address,
guint32 addr);
guint32 nm_ip4_address_get_prefix (NMIP4Address *address);
void nm_ip4_address_set_prefix (NMIP4Address *address,
guint32 prefix);
guint32 nm_ip4_address_get_gateway (NMIP4Address *address);
void nm_ip4_address_set_gateway (NMIP4Address *address,
guint32 gateway);
typedef NMIP4Route;
NMIP4Route * nm_ip4_route_new (void);
NMIP4Route * nm_ip4_route_dup (NMIP4Route *route);
void nm_ip4_route_ref (NMIP4Route *route);
void nm_ip4_route_unref (NMIP4Route *route);
gboolean nm_ip4_route_compare (NMIP4Route *route,
NMIP4Route *other);
guint32 nm_ip4_route_get_dest (NMIP4Route *route);
void nm_ip4_route_set_dest (NMIP4Route *route,
guint32 dest);
guint32 nm_ip4_route_get_prefix (NMIP4Route *route);
void nm_ip4_route_set_prefix (NMIP4Route *route,
guint32 prefix);
guint32 nm_ip4_route_get_next_hop (NMIP4Route *route);
void nm_ip4_route_set_next_hop (NMIP4Route *route,
guint32 next_hop);
guint32 nm_ip4_route_get_metric (NMIP4Route *route);
void nm_ip4_route_set_metric (NMIP4Route *route,
guint32 metric);
NMSettingIP4Config;
NMSettingIP4ConfigClass;
GType nm_setting_ip4_config_get_type (void);
NMSetting * nm_setting_ip4_config_new (void);
const char * nm_setting_ip4_config_get_method (NMSettingIP4Config *setting);
guint32 nm_setting_ip4_config_get_num_dns (NMSettingIP4Config *setting);
guint32 nm_setting_ip4_config_get_dns (NMSettingIP4Config *setting,
guint32 i);
gboolean nm_setting_ip4_config_add_dns (NMSettingIP4Config *setting,
guint32 dns);
void nm_setting_ip4_config_remove_dns (NMSettingIP4Config *setting,
guint32 i);
void nm_setting_ip4_config_clear_dns (NMSettingIP4Config *setting);
guint32 nm_setting_ip4_config_get_num_dns_searches
(NMSettingIP4Config *setting);
const char * nm_setting_ip4_config_get_dns_search
(NMSettingIP4Config *setting,
guint32 i);
gboolean nm_setting_ip4_config_add_dns_search
(NMSettingIP4Config *setting,
const char *dns_search);
void nm_setting_ip4_config_remove_dns_search
(NMSettingIP4Config *setting,
guint32 i);
void nm_setting_ip4_config_clear_dns_searches
(NMSettingIP4Config *setting);
guint32 nm_setting_ip4_config_get_num_addresses
(NMSettingIP4Config *setting);
NMIP4Address * nm_setting_ip4_config_get_address (NMSettingIP4Config *setting,
guint32 i);
gboolean nm_setting_ip4_config_add_address (NMSettingIP4Config *setting,
NMIP4Address *address);
void nm_setting_ip4_config_remove_address
(NMSettingIP4Config *setting,
guint32 i);
void nm_setting_ip4_config_clear_addresses
(NMSettingIP4Config *setting);
guint32 nm_setting_ip4_config_get_num_routes
(NMSettingIP4Config *setting);
NMIP4Route * nm_setting_ip4_config_get_route (NMSettingIP4Config *setting,
guint32 i);
gboolean nm_setting_ip4_config_add_route (NMSettingIP4Config *setting,
NMIP4Route *route);
void nm_setting_ip4_config_remove_route (NMSettingIP4Config *setting,
guint32 i);
void nm_setting_ip4_config_clear_routes (NMSettingIP4Config *setting);
gboolean nm_setting_ip4_config_get_ignore_auto_routes
(NMSettingIP4Config *setting);
gboolean nm_setting_ip4_config_get_ignore_auto_dns
(NMSettingIP4Config *setting);
const char * nm_setting_ip4_config_get_dhcp_client_id
(NMSettingIP4Config *setting);
gboolean nm_setting_ip4_config_get_dhcp_send_hostname
(NMSettingIP4Config *setting);
const char * nm_setting_ip4_config_get_dhcp_hostname
(NMSettingIP4Config *setting);
gboolean nm_setting_ip4_config_get_never_default
(NMSettingIP4Config *setting);
gboolean nm_setting_ip4_config_get_may_fail (NMSettingIP4Config *setting);
Object Hierarchy
GObject
+----NMSetting
+----NMSettingIP4Config