## NMSettingIPConfig NMSettingIPConfig |

## Functions

NMIPAddress * | nm_ip_address_new ()
NMIPAddress * | nm_ip_address_new_binary ()
void | nm_ip_address_ref ()
void | nm_ip_address_unref ()
gboolean | nm_ip_address_equal ()
int | nm_ip_address_cmp_full ()
NMIPAddress * | nm_ip_address_dup ()
int | nm_ip_address_get_family ()
const char * | nm_ip_address_get_address ()
void | nm_ip_address_set_address ()
void | nm_ip_address_get_address_binary ()
void | nm_ip_address_set_address_binary ()
guint | nm_ip_address_get_prefix ()
void | nm_ip_address_set_prefix ()
char ** | nm_ip_address_get_attribute_names ()
GVariant * | nm_ip_address_get_attribute ()
void | nm_ip_address_set_attribute ()
NMIPRoute * | nm_ip_route_new ()
NMIPRoute * | nm_ip_route_new_binary ()
void | nm_ip_route_ref ()
void | nm_ip_route_unref ()
gboolean | nm_ip_route_equal ()
gboolean | nm_ip_route_equal_full ()
NMIPRoute * | nm_ip_route_dup ()
int | nm_ip_route_get_family ()
const char * | nm_ip_route_get_dest ()
void | nm_ip_route_set_dest ()
void | nm_ip_route_get_dest_binary ()
void | nm_ip_route_set_dest_binary ()
guint | nm_ip_route_get_prefix ()
void | nm_ip_route_set_prefix ()
const char * | nm_ip_route_get_next_hop ()
void | nm_ip_route_set_next_hop ()
gboolean | nm_ip_route_get_next_hop_binary ()
void | nm_ip_route_set_next_hop_binary ()
gint64 | nm_ip_route_get_metric ()
void | nm_ip_route_set_metric ()
char ** | nm_ip_route_get_attribute_names ()
GVariant * | nm_ip_route_get_attribute ()
void | nm_ip_route_set_attribute ()
const NMVariantAttributeSpec *const * | nm_ip_route_get_variant_attribute_spec ()
gboolean | nm_ip_route_attribute_validate ()
NMIPRoutingRule * | nm_ip_routing_rule_new ()
NMIPRoutingRule * | nm_ip_routing_rule_new_clone ()
NMIPRoutingRule * | nm_ip_routing_rule_ref ()
void | nm_ip_routing_rule_unref ()
gboolean | nm_ip_routing_rule_is_sealed ()
void | nm_ip_routing_rule_seal ()
int | nm_ip_routing_rule_get_addr_family ()
gboolean | nm_ip_routing_rule_get_invert ()
void | nm_ip_routing_rule_set_invert ()
gint64 | nm_ip_routing_rule_get_priority ()
void | nm_ip_routing_rule_set_priority ()
guint8 | nm_ip_routing_rule_get_tos ()
void | nm_ip_routing_rule_set_tos ()
guint8 | nm_ip_routing_rule_get_ipproto ()
void | nm_ip_routing_rule_set_ipproto ()
guint16 | nm_ip_routing_rule_get_source_port_start ()
guint16 | nm_ip_routing_rule_get_source_port_end ()
void | nm_ip_routing_rule_set_source_port ()
guint16 | nm_ip_routing_rule_get_destination_port_start ()
guint16 | nm_ip_routing_rule_get_destination_port_end ()
void | nm_ip_routing_rule_set_destination_port ()
guint32 | nm_ip_routing_rule_get_fwmark ()
guint32 | nm_ip_routing_rule_get_fwmask ()
void | nm_ip_routing_rule_set_fwmark ()
guint8 | nm_ip_routing_rule_get_from_len ()
const char * | nm_ip_routing_rule_get_from ()
void | nm_ip_routing_rule_set_from ()
guint8 | nm_ip_routing_rule_get_to_len ()
const char * | nm_ip_routing_rule_get_to ()
void | nm_ip_routing_rule_set_to ()
const char * | nm_ip_routing_rule_get_iifname ()
void | nm_ip_routing_rule_set_iifname ()
const char * | nm_ip_routing_rule_get_oifname ()
void | nm_ip_routing_rule_set_oifname ()
guint8 | nm_ip_routing_rule_get_action ()
void | nm_ip_routing_rule_set_action ()
guint32 | nm_ip_routing_rule_get_table ()
void | nm_ip_routing_rule_set_table ()
gint32 | nm_ip_routing_rule_get_suppress_prefixlength ()
void | nm_ip_routing_rule_set_suppress_prefixlength ()
gboolean | nm_ip_routing_rule_get_uid_range ()
void | nm_ip_routing_rule_set_uid_range ()
int | nm_ip_routing_rule_cmp ()
gboolean | nm_ip_routing_rule_validate ()
NMIPRoutingRule * | nm_ip_routing_rule_from_string ()
char * | nm_ip_routing_rule_to_string ()
const char * | nm_setting_ip_config_get_method ()
guint | nm_setting_ip_config_get_num_dns ()
const char * | nm_setting_ip_config_get_dns ()
gboolean | nm_setting_ip_config_add_dns ()
void | nm_setting_ip_config_remove_dns ()
gboolean | nm_setting_ip_config_remove_dns_by_value ()
void | nm_setting_ip_config_clear_dns ()
guint | nm_setting_ip_config_get_num_dns_searches ()
const char * | nm_setting_ip_config_get_dns_search ()
gboolean | nm_setting_ip_config_add_dns_search ()
void | nm_setting_ip_config_remove_dns_search ()
gboolean | nm_setting_ip_config_remove_dns_search_by_value ()
void | nm_setting_ip_config_clear_dns_searches ()
guint | nm_setting_ip_config_get_num_dns_options ()
gboolean | nm_setting_ip_config_has_dns_options ()
const char * | nm_setting_ip_config_get_dns_option ()
gboolean | nm_setting_ip_config_add_dns_option ()
void | nm_setting_ip_config_remove_dns_option ()
gboolean | nm_setting_ip_config_remove_dns_option_by_value ()
void | nm_setting_ip_config_clear_dns_options ()
int | nm_setting_ip_config_get_dns_priority ()
guint | nm_setting_ip_config_get_num_addresses ()
NMIPAddress * | nm_setting_ip_config_get_address ()
gboolean | nm_setting_ip_config_add_address ()
void | nm_setting_ip_config_remove_address ()
gboolean | nm_setting_ip_config_remove_address_by_value ()
void | nm_setting_ip_config_clear_addresses ()
const char * | nm_setting_ip_config_get_gateway ()
guint | nm_setting_ip_config_get_num_routes ()
NMIPRoute * | nm_setting_ip_config_get_route ()
gboolean | nm_setting_ip_config_add_route ()
void | nm_setting_ip_config_remove_route ()
gboolean | nm_setting_ip_config_remove_route_by_value ()
void | nm_setting_ip_config_clear_routes ()
gint64 | nm_setting_ip_config_get_route_metric ()
guint32 | nm_setting_ip_config_get_route_table ()
guint | nm_setting_ip_config_get_num_routing_rules ()
NMIPRoutingRule * | nm_setting_ip_config_get_routing_rule ()
void | nm_setting_ip_config_add_routing_rule ()
void | nm_setting_ip_config_remove_routing_rule ()
void | nm_setting_ip_config_clear_routing_rules ()
gboolean | nm_setting_ip_config_get_ignore_auto_routes ()
gboolean | nm_setting_ip_config_get_ignore_auto_dns ()
const char * | nm_setting_ip_config_get_dhcp_hostname ()
gboolean | nm_setting_ip_config_get_dhcp_send_hostname ()
gboolean | nm_setting_ip_config_get_never_default ()
gboolean | nm_setting_ip_config_get_may_fail ()
int | nm_setting_ip_config_get_dad_timeout ()
int | nm_setting_ip_config_get_dhcp_timeout ()
const char * | nm_setting_ip_config_get_dhcp_iaid ()
NMDhcpHostnameFlags | nm_setting_ip_config_get_dhcp_hostname_flags ()
const char *const * | nm_setting_ip_config_get_dhcp_reject_servers ()
void | nm_setting_ip_config_add_dhcp_reject_server ()
void | nm_setting_ip_config_remove_dhcp_reject_server ()
void | nm_setting_ip_config_clear_dhcp_reject_servers ()

## Types and Values

#define | NM_IP_ADDRESS_ATTRIBUTE_LABEL
enum | NMIPAddressCmpFlags
#define | NM_IP_ROUTE_ATTRIBUTE_CWND
#define | NM_IP_ROUTE_ATTRIBUTE_FROM
#define | NM_IP_ROUTE_ATTRIBUTE_INITCWND
#define | NM_IP_ROUTE_ATTRIBUTE_INITRWND
#define | NM_IP_ROUTE_ATTRIBUTE_LOCK_CWND
#define | NM_IP_ROUTE_ATTRIBUTE_LOCK_INITCWND
#define | NM_IP_ROUTE_ATTRIBUTE_LOCK_INITRWND
#define | NM_IP_ROUTE_ATTRIBUTE_LOCK_MTU
#define | NM_IP_ROUTE_ATTRIBUTE_LOCK_WINDOW
#define | NM_IP_ROUTE_ATTRIBUTE_MTU
#define | NM_IP_ROUTE_ATTRIBUTE_ONLINK
#define | NM_IP_ROUTE_ATTRIBUTE_SCOPE
#define | NM_IP_ROUTE_ATTRIBUTE_SRC
#define | NM_IP_ROUTE_ATTRIBUTE_TABLE
#define | NM_IP_ROUTE_ATTRIBUTE_TOS
#define | NM_IP_ROUTE_ATTRIBUTE_TYPE
#define | NM_IP_ROUTE_ATTRIBUTE_WINDOW
enum | NMIPRoutingRuleAsStringFlags
#define | NM_SETTING_IP_CONFIG_DAD_TIMEOUT_MAX
#define | NM_SETTING_IP_CONFIG_METHOD
#define | NM_SETTING_IP_CONFIG_DNS
#define | NM_SETTING_IP_CONFIG_DNS_SEARCH
#define | NM_SETTING_IP_CONFIG_DNS_OPTIONS
#define | NM_SETTING_IP_CONFIG_DNS_PRIORITY
#define | NM_SETTING_IP_CONFIG_ADDRESSES
#define | NM_SETTING_IP_CONFIG_GATEWAY
#define | NM_SETTING_IP_CONFIG_ROUTES
#define | NM_SETTING_IP_CONFIG_ROUTE_METRIC
#define | NM_SETTING_IP_CONFIG_ROUTE_TABLE
#define | NM_SETTING_IP_CONFIG_IGNORE_AUTO_ROUTES
#define | NM_SETTING_IP_CONFIG_IGNORE_AUTO_DNS
#define | NM_SETTING_IP_CONFIG_DHCP_HOSTNAME
#define | NM_SETTING_IP_CONFIG_DHCP_SEND_HOSTNAME
#define | NM_SETTING_IP_CONFIG_DHCP_HOSTNAME_FLAGS
#define | NM_SETTING_IP_CONFIG_NEVER_DEFAULT
#define | NM_SETTING_IP_CONFIG_MAY_FAIL
#define | NM_SETTING_IP_CONFIG_DAD_TIMEOUT
#define | NM_SETTING_IP_CONFIG_DHCP_TIMEOUT
#define | NM_SETTING_IP_CONFIG_DHCP_IAID
#define | NM_SETTING_IP_CONFIG_DHCP_REJECT_SERVERS
#define | NM_SETTING_IP_CONFIG_ROUTING_RULES
#define | NM_SETTING_DNS_OPTION_DEBUG
#define | NM_SETTING_DNS_OPTION_NDOTS
#define | NM_SETTING_DNS_OPTION_TIMEOUT
#define | NM_SETTING_DNS_OPTION_ATTEMPTS
#define | NM_SETTING_DNS_OPTION_ROTATE
#define | NM_SETTING_DNS_OPTION_NO_CHECK_NAMES
#define | NM_SETTING_DNS_OPTION_INET6
#define | NM_SETTING_DNS_OPTION_IP6_BYTESTRING
#define | NM_SETTING_DNS_OPTION_IP6_DOTINT
#define | NM_SETTING_DNS_OPTION_NO_IP6_DOTINT
#define | NM_SETTING_DNS_OPTION_EDNS0
#define | NM_SETTING_DNS_OPTION_SINGLE_REQUEST
#define | NM_SETTING_DNS_OPTION_SINGLE_REQUEST_REOPEN
#define | NM_SETTING_DNS_OPTION_NO_TLD_QUERY
#define | NM_SETTING_DNS_OPTION_USE_VC
#define | NM_SETTING_DNS_OPTION_NO_RELOAD
#define | NM_SETTING_DNS_OPTION_TRUST_AD
enum | NMDhcpHostnameFlags

## Object Hierarchy

        GBoxed
        ├── NMIPAddress
        ├── NMIPRoute
        ╰── NMIPRoutingRule
        GFlags
        ├── NMDhcpHostnameFlags
        ├── NMIPAddressCmpFlags
        ╰── NMIPRoutingRuleAsStringFlags

## Description

## Functions

### nm_ip_address_new ()

    NMIPAddress *
    nm_ip_address_new (int family,
                       const char *addr,
                       guint prefix,
                       GError **error);

### nm_ip_address_new_binary ()

    NMIPAddress *
    nm_ip_address_new_binary (int family,
                              gconstpointer addr,
                              guint prefix,
                              GError **error);

### nm_ip_address_ref ()

    void
    nm_ip_address_ref (NMIPAddress *address);

### nm_ip_address_unref ()

    void
    nm_ip_address_unref (NMIPAddress *address);

### nm_ip_address_equal ()

    gboolean
    nm_ip_address_equal (NMIPAddress *address,
                         NMIPAddress *other);

### nm_ip_address_cmp_full ()

    int
    nm_ip_address_cmp_full (const NMIPAddress *a,
                            const NMIPAddress *b,
                            NMIPAddressCmpFlags cmp_flags);

### nm_ip_address_dup ()

    NMIPAddress *
    nm_ip_address_dup (NMIPAddress *address);

### nm_ip_address_get_family ()

    int
    nm_ip_address_get_family (NMIPAddress *address);

### nm_ip_address_get_address ()

    const char *
    nm_ip_address_get_address (NMIPAddress *address);

### nm_ip_address_set_address ()

    void
    nm_ip_address_set_address (NMIPAddress *address,
                               const char *addr);

### nm_ip_address_get_address_binary ()

    void
    nm_ip_address_get_address_binary (NMIPAddress *address,
                                      gpointer addr);

### nm_ip_address_set_address_binary ()

    void
    nm_ip_address_set_address_binary (NMIPAddress *address,
                                      gconstpointer addr);

### nm_ip_address_get_prefix ()

    guint
    nm_ip_address_get_prefix (NMIPAddress *address);

### nm_ip_address_set_prefix ()

    void
    nm_ip_address_set_prefix (NMIPAddress *address,
                              guint prefix);

### nm_ip_address_get_attribute_names ()

    char **
    nm_ip_address_get_attribute_names (NMIPAddress *address);

### nm_ip_address_get_attribute ()

    GVariant *
    nm_ip_address_get_attribute (NMIPAddress *address,
                                 const char *name);

### nm_ip_address_set_attribute ()

    void
    nm_ip_address_set_attribute (NMIPAddress *address,
                                 const char *name,
                                 GVariant *value);

### nm_ip_route_new ()

    NMIPRoute *
    nm_ip_route_new (int family,
                     const char *dest,
                     guint prefix,
                     const char *next_hop,
                     gint64 metric,
                     GError **error);

### nm_ip_route_new_binary ()

    NMIPRoute *
    nm_ip_route_new_binary (int family,
                            gconstpointer dest,
                            guint prefix,
                            gconstpointer next_hop,
                            gint64 metric,
                            GError **error);

### nm_ip_route_ref ()

    void
    nm_ip_route_ref (NMIPRoute *route);

### nm_ip_route_unref ()

    void
    nm_ip_route_unref (NMIPRoute *route);

### nm_ip_route_equal ()

    gboolean
    nm_ip_route_equal (NMIPRoute *route,
                       NMIPRoute *other);

### nm_ip_route_equal_full ()

    gboolean
    nm_ip_route_equal_full (NMIPRoute *route,
                            NMIPRoute *other,
                            guint cmp_flags);

### nm_ip_route_dup ()

    NMIPRoute *
    nm_ip_route_dup (NMIPRoute *route);

### nm_ip_route_get_family ()

    int
    nm_ip_route_get_family (NMIPRoute *route);

### nm_ip_route_get_dest ()

    const char *
    nm_ip_route_get_dest (NMIPRoute *route);

### nm_ip_route_set_dest ()

    void
    nm_ip_route_set_dest (NMIPRoute *route,
                          const char *dest);

### nm_ip_route_get_dest_binary ()

    void
    nm_ip_route_get_dest_binary (NMIPRoute *route,
                                 gpointer dest);

### nm_ip_route_set_dest_binary ()

    void
    nm_ip_route_set_dest_binary (NMIPRoute *route,
                                 gconstpointer dest);

### nm_ip_route_get_prefix ()

    guint
    nm_ip_route_get_prefix (NMIPRoute *route);

### nm_ip_route_set_prefix ()

    void
    nm_ip_route_set_prefix (NMIPRoute *route,
                            guint prefix);

### nm_ip_route_get_next_hop ()

    const char *
    nm_ip_route_get_next_hop (NMIPRoute *route);

### nm_ip_route_set_next_hop ()

    void
    nm_ip_route_set_next_hop (NMIPRoute *route,
                              const char *next_hop);

### nm_ip_route_get_next_hop_binary ()

    gboolean
    nm_ip_route_get_next_hop_binary (NMIPRoute *route,
                                     gpointer next_hop);

### nm_ip_route_set_next_hop_binary ()

    void
    nm_ip_route_set_next_hop_binary (NMIPRoute *route,
                                     gconstpointer next_hop);

### nm_ip_route_get_metric ()

    gint64
    nm_ip_route_get_metric (NMIPRoute *route);

### nm_ip_route_set_metric ()

    void
    nm_ip_route_set_metric (NMIPRoute *route,
                            gint64 metric);

### nm_ip_route_get_attribute_names ()

    char **
    nm_ip_route_get_attribute_names (NMIPRoute *route);

### nm_ip_route_get_attribute ()

    GVariant *
    nm_ip_route_get_attribute (NMIPRoute *route,
                               const char *name);

### nm_ip_route_set_attribute ()

    void
    nm_ip_route_set_attribute (NMIPRoute *route,
                               const char *name,
                               GVariant *value);

### nm_ip_route_get_variant_attribute_spec ()

    const NMVariantAttributeSpec *const *
    nm_ip_route_get_variant_attribute_spec
                                   (void);

### nm_ip_route_attribute_validate ()

    gboolean
    nm_ip_route_attribute_validate (const char *name,
                                    GVariant *value,
                                    int family,
                                    gboolean *known,
                                    GError **error);

### nm_ip_routing_rule_new ()

    NMIPRoutingRule *
    nm_ip_routing_rule_new (int addr_family);

### nm_ip_routing_rule_new_clone ()

    NMIPRoutingRule *
    nm_ip_routing_rule_new_clone (const NMIPRoutingRule *rule);

### nm_ip_routing_rule_ref ()

    NMIPRoutingRule *
    nm_ip_routing_rule_ref (NMIPRoutingRule *self);

### nm_ip_routing_rule_unref ()

    void
    nm_ip_routing_rule_unref (NMIPRoutingRule *self);

### nm_ip_routing_rule_is_sealed ()

    gboolean
    nm_ip_routing_rule_is_sealed (const NMIPRoutingRule *self);

### nm_ip_routing_rule_seal ()

    void
    nm_ip_routing_rule_seal (NMIPRoutingRule *self);

### nm_ip_routing_rule_get_addr_family ()

    int
    nm_ip_routing_rule_get_addr_family (const NMIPRoutingRule *self);

### nm_ip_routing_rule_get_invert ()

    gboolean
    nm_ip_routing_rule_get_invert (const NMIPRoutingRule *self);

### nm_ip_routing_rule_set_invert ()

    void
    nm_ip_routing_rule_set_invert (NMIPRoutingRule *self,
                                   gboolean invert);

### nm_ip_routing_rule_get_priority ()

    gint64
    nm_ip_routing_rule_get_priority (const NMIPRoutingRule *self);

### nm_ip_routing_rule_set_priority ()

    void
    nm_ip_routing_rule_set_priority (NMIPRoutingRule *self,
                                     gint64 priority);

### nm_ip_routing_rule_get_tos ()

    guint8
    nm_ip_routing_rule_get_tos (const NMIPRoutingRule *self);

### nm_ip_routing_rule_set_tos ()

    void
    nm_ip_routing_rule_set_tos (NMIPRoutingRule *self,
                                guint8 tos);

### nm_ip_routing_rule_get_ipproto ()

    guint8
    nm_ip_routing_rule_get_ipproto (const NMIPRoutingRule *self);

### nm_ip_routing_rule_set_ipproto ()

    void
    nm_ip_routing_rule_set_ipproto (NMIPRoutingRule *self,
                                    guint8 ipproto);

### nm_ip_routing_rule_get_source_port_start ()

    guint16
    nm_ip_routing_rule_get_source_port_start
                                   (const NMIPRoutingRule *self);

### nm_ip_routing_rule_get_source_port_end ()

    guint16
    nm_ip_routing_rule_get_source_port_end
                                   (const NMIPRoutingRule *self);

### nm_ip_routing_rule_set_source_port ()

    void
    nm_ip_routing_rule_set_source_port (NMIPRoutingRule *self,
                                        guint16 start,
                                        guint16 end);

### nm_ip_routing_rule_get_destination_port_start ()

    guint16
    nm_ip_routing_rule_get_destination_port_start
                                   (const NMIPRoutingRule *self);

### nm_ip_routing_rule_get_destination_port_end ()

    guint16
    nm_ip_routing_rule_get_destination_port_end
                                   (const NMIPRoutingRule *self);

### nm_ip_routing_rule_set_destination_port ()

    void
    nm_ip_routing_rule_set_destination_port
                                   (NMIPRoutingRule *self,
                                    guint16 start,
                                    guint16 end);

### nm_ip_routing_rule_get_fwmark ()

    guint32
    nm_ip_routing_rule_get_fwmark (const NMIPRoutingRule *self);

### nm_ip_routing_rule_get_fwmask ()

    guint32
    nm_ip_routing_rule_get_fwmask (const NMIPRoutingRule *self);

### nm_ip_routing_rule_set_fwmark ()

    void
    nm_ip_routing_rule_set_fwmark (NMIPRoutingRule *self,
                                   guint32 fwmark,
                                   guint32 fwmask);

### nm_ip_routing_rule_get_from_len ()

    guint8
    nm_ip_routing_rule_get_from_len (const NMIPRoutingRule *self);

### nm_ip_routing_rule_get_from ()

    const char *
    nm_ip_routing_rule_get_from (const NMIPRoutingRule *self);

### nm_ip_routing_rule_set_from ()

    void
    nm_ip_routing_rule_set_from (NMIPRoutingRule *self,
                                 const char *from,
                                 guint8 len);

### nm_ip_routing_rule_get_to_len ()

    guint8
    nm_ip_routing_rule_get_to_len (const NMIPRoutingRule *self);

### nm_ip_routing_rule_get_to ()

    const char *
    nm_ip_routing_rule_get_to (const NMIPRoutingRule *self);

### nm_ip_routing_rule_set_to ()

    void
    nm_ip_routing_rule_set_to (NMIPRoutingRule *self,
                               const char *to,
                               guint8 len);

### nm_ip_routing_rule_get_iifname ()

    const char *
    nm_ip_routing_rule_get_iifname (const NMIPRoutingRule *self);

### nm_ip_routing_rule_set_iifname ()

    void
    nm_ip_routing_rule_set_iifname (NMIPRoutingRule *self,
                                    const char *iifname);

### nm_ip_routing_rule_get_oifname ()

    const char *
    nm_ip_routing_rule_get_oifname (const NMIPRoutingRule *self);

### nm_ip_routing_rule_set_oifname ()

    void
    nm_ip_routing_rule_set_oifname (NMIPRoutingRule *self,
                                    const char *oifname);

### nm_ip_routing_rule_get_action ()

    guint8
    nm_ip_routing_rule_get_action (const NMIPRoutingRule *self);

### nm_ip_routing_rule_set_action ()

    void
    nm_ip_routing_rule_set_action (NMIPRoutingRule *self,
                                   guint8 action);

### nm_ip_routing_rule_get_table ()

    guint32
    nm_ip_routing_rule_get_table (const NMIPRoutingRule *self);

### nm_ip_routing_rule_set_table ()

    void
    nm_ip_routing_rule_set_table (NMIPRoutingRule *self,
                                  guint32 table);

### nm_ip_routing_rule_get_suppress_prefixlength ()

    gint32
    nm_ip_routing_rule_get_suppress_prefixlength
                                   (const NMIPRoutingRule *self);

### nm_ip_routing_rule_set_suppress_prefixlength ()

    void
    nm_ip_routing_rule_set_suppress_prefixlength
                                   (NMIPRoutingRule *self,
                                    gint32 suppress_prefixlength);

### nm_ip_routing_rule_get_uid_range ()

    gboolean
    nm_ip_routing_rule_get_uid_range (const NMIPRoutingRule *self,
                                      guint32 *out_range_start,
                                      guint32 *out_range_end);

### nm_ip_routing_rule_set_uid_range ()

    void
    nm_ip_routing_rule_set_uid_range (NMIPRoutingRule *self,
                                      guint32 uid_range_start,
                                      guint32 uid_range_end);

### nm_ip_routing_rule_cmp ()

    int
    nm_ip_routing_rule_cmp (const NMIPRoutingRule *rule,
                            const NMIPRoutingRule *other);

### nm_ip_routing_rule_validate ()

    gboolean
    nm_ip_routing_rule_validate (const NMIPRoutingRule *self,
                                 GError **error);

### nm_ip_routing_rule_from_string ()

    NMIPRoutingRule *
    nm_ip_routing_rule_from_string (const char *str,
                                    NMIPRoutingRuleAsStringFlags to_string_flags,
                                    GHashTable *extra_args,
                                    GError **error);

### nm_ip_routing_rule_to_string ()

    char *
    nm_ip_routing_rule_to_string (const NMIPRoutingRule *self,
                                  NMIPRoutingRuleAsStringFlags to_string_flags,
                                  GHashTable *extra_args,
                                  GError **error);

### nm_setting_ip_config_get_method ()

    const char *
    nm_setting_ip_config_get_method (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_num_dns ()

    guint
    nm_setting_ip_config_get_num_dns (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_dns ()

    const char *
    nm_setting_ip_config_get_dns (NMSettingIPConfig *setting,
                                  int idx);

### nm_setting_ip_config_add_dns ()

    gboolean
    nm_setting_ip_config_add_dns (NMSettingIPConfig *setting,
                                  const char *dns);

### nm_setting_ip_config_remove_dns ()

    void
    nm_setting_ip_config_remove_dns (NMSettingIPConfig *setting,
                                     int idx);

### nm_setting_ip_config_remove_dns_by_value ()

    gboolean
    nm_setting_ip_config_remove_dns_by_value
                                   (NMSettingIPConfig *setting,
                                    const char *dns);

### nm_setting_ip_config_clear_dns ()

    void
    nm_setting_ip_config_clear_dns (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_num_dns_searches ()

    guint
    nm_setting_ip_config_get_num_dns_searches
                                   (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_dns_search ()

    const char *
    nm_setting_ip_config_get_dns_search (NMSettingIPConfig *setting,
                                         int idx);

### nm_setting_ip_config_add_dns_search ()

    gboolean
    nm_setting_ip_config_add_dns_search (NMSettingIPConfig *setting,
                                         const char *dns_search);

### nm_setting_ip_config_remove_dns_search ()

    void
    nm_setting_ip_config_remove_dns_search
                                   (NMSettingIPConfig *setting,
                                    int idx);

### nm_setting_ip_config_remove_dns_search_by_value ()

    gboolean
    nm_setting_ip_config_remove_dns_search_by_value
                                   (NMSettingIPConfig *setting,
                                    const char *dns_search);

### nm_setting_ip_config_clear_dns_searches ()

    void
    nm_setting_ip_config_clear_dns_searches
                                   (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_num_dns_options ()

    guint
    nm_setting_ip_config_get_num_dns_options
                                   (NMSettingIPConfig *setting);

### nm_setting_ip_config_has_dns_options ()

    gboolean
    nm_setting_ip_config_has_dns_options (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_dns_option ()

    const char *
    nm_setting_ip_config_get_dns_option (NMSettingIPConfig *setting,
                                         guint idx);

### nm_setting_ip_config_add_dns_option ()

    gboolean
    nm_setting_ip_config_add_dns_option (NMSettingIPConfig *setting,
                                         const char *dns_option);

### nm_setting_ip_config_remove_dns_option ()

    void
    nm_setting_ip_config_remove_dns_option
                                   (NMSettingIPConfig *setting,
                                    int idx);

### nm_setting_ip_config_remove_dns_option_by_value ()

    gboolean
    nm_setting_ip_config_remove_dns_option_by_value
                                   (NMSettingIPConfig *setting,
                                    const char *dns_option);

### nm_setting_ip_config_clear_dns_options ()

    void
    nm_setting_ip_config_clear_dns_options
                                   (NMSettingIPConfig *setting,
                                    gboolean is_set);

### nm_setting_ip_config_get_dns_priority ()

    int
    nm_setting_ip_config_get_dns_priority (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_num_addresses ()

    guint
    nm_setting_ip_config_get_num_addresses
                                   (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_address ()

    NMIPAddress *
    nm_setting_ip_config_get_address (NMSettingIPConfig *setting,
                                      int idx);

### nm_setting_ip_config_add_address ()

    gboolean
    nm_setting_ip_config_add_address (NMSettingIPConfig *setting,
                                      NMIPAddress *address);

### nm_setting_ip_config_remove_address ()

    void
    nm_setting_ip_config_remove_address (NMSettingIPConfig *setting,
                                         int idx);

### nm_setting_ip_config_remove_address_by_value ()

    gboolean
    nm_setting_ip_config_remove_address_by_value
                                   (NMSettingIPConfig *setting,
                                    NMIPAddress *address);

### nm_setting_ip_config_clear_addresses ()

    void
    nm_setting_ip_config_clear_addresses (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_gateway ()

    const char *
    nm_setting_ip_config_get_gateway (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_num_routes ()

    guint
    nm_setting_ip_config_get_num_routes (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_route ()

    NMIPRoute *
    nm_setting_ip_config_get_route (NMSettingIPConfig *setting,
                                    int idx);

### nm_setting_ip_config_add_route ()

    gboolean
    nm_setting_ip_config_add_route (NMSettingIPConfig *setting,
                                    NMIPRoute *route);

### nm_setting_ip_config_remove_route ()

    void
    nm_setting_ip_config_remove_route (NMSettingIPConfig *setting,
                                       int idx);

### nm_setting_ip_config_remove_route_by_value ()

    gboolean
    nm_setting_ip_config_remove_route_by_value
                                   (NMSettingIPConfig *setting,
                                    NMIPRoute *route);

### nm_setting_ip_config_clear_routes ()

    void
    nm_setting_ip_config_clear_routes (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_route_metric ()

    gint64
    nm_setting_ip_config_get_route_metric (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_route_table ()

    guint32
    nm_setting_ip_config_get_route_table (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_num_routing_rules ()

    guint
    nm_setting_ip_config_get_num_routing_rules
                                   (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_routing_rule ()

    NMIPRoutingRule *
    nm_setting_ip_config_get_routing_rule (NMSettingIPConfig *setting,
                                           guint idx);

### nm_setting_ip_config_add_routing_rule ()

    void
    nm_setting_ip_config_add_routing_rule (NMSettingIPConfig *setting,
                                           NMIPRoutingRule *routing_rule);

### nm_setting_ip_config_remove_routing_rule ()

    void
    nm_setting_ip_config_remove_routing_rule
                                   (NMSettingIPConfig *setting,
                                    guint idx);

### nm_setting_ip_config_clear_routing_rules ()

    void
    nm_setting_ip_config_clear_routing_rules
                                   (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_ignore_auto_routes ()

    gboolean
    nm_setting_ip_config_get_ignore_auto_routes
                                   (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_ignore_auto_dns ()

    gboolean
    nm_setting_ip_config_get_ignore_auto_dns
                                   (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_dhcp_hostname ()

    const char *
    nm_setting_ip_config_get_dhcp_hostname
                                   (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_dhcp_send_hostname ()

    gboolean
    nm_setting_ip_config_get_dhcp_send_hostname
                                   (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_never_default ()

    gboolean
    nm_setting_ip_config_get_never_default
                                   (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_may_fail ()

    gboolean
    nm_setting_ip_config_get_may_fail (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_dad_timeout ()

    int
    nm_setting_ip_config_get_dad_timeout (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_dhcp_timeout ()

    int
    nm_setting_ip_config_get_dhcp_timeout (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_dhcp_iaid ()

    const char *
    nm_setting_ip_config_get_dhcp_iaid (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_dhcp_hostname_flags ()

    NMDhcpHostnameFlags
    nm_setting_ip_config_get_dhcp_hostname_flags
                                   (NMSettingIPConfig *setting);

### nm_setting_ip_config_get_dhcp_reject_servers ()

    const char *const *
    nm_setting_ip_config_get_dhcp_reject_servers
                                   (NMSettingIPConfig *setting,
                                    guint *out_len);

### nm_setting_ip_config_add_dhcp_reject_server ()

    void
    nm_setting_ip_config_add_dhcp_reject_server
                                   (NMSettingIPConfig *setting,
                                    const char *server);

### nm_setting_ip_config_remove_dhcp_reject_server ()

    void
    nm_setting_ip_config_remove_dhcp_reject_server
                                   (NMSettingIPConfig *setting,
                                    guint idx);

### nm_setting_ip_config_clear_dhcp_reject_servers ()

    void
    nm_setting_ip_config_clear_dhcp_reject_servers
                                   (NMSettingIPConfig *setting);

## Types and Values

### NM_IP_ADDRESS_ATTRIBUTE_LABEL

    #define NM_IP_ADDRESS_ATTRIBUTE_LABEL "label"

### enum NMIPAddressCmpFlags

Compare flags for `nm_ip_address_cmp_full()`.

#### Members

NM_IP_ADDRESS_CMP_FLAGS_NONE | no flags. |
NM_IP_ADDRESS_CMP_FLAGS_WITH_ATTRS | when comparing two addresses, also consider their attributes. Warning: note that attributes are GVariants and they don't have a total order. In other words, if the address differs only by their attributes, the returned compare order is not total. In that case, the return value merely indicates equality (zero) or inequality. |

Since: 1.22

### NM_IP_ROUTE_ATTRIBUTE_CWND

    #define NM_IP_ROUTE_ATTRIBUTE_CWND          "cwnd"

### NM_IP_ROUTE_ATTRIBUTE_FROM

    #define NM_IP_ROUTE_ATTRIBUTE_FROM          "from"

### NM_IP_ROUTE_ATTRIBUTE_INITCWND

    #define NM_IP_ROUTE_ATTRIBUTE_INITCWND      "initcwnd"

### NM_IP_ROUTE_ATTRIBUTE_INITRWND

    #define NM_IP_ROUTE_ATTRIBUTE_INITRWND      "initrwnd"

### NM_IP_ROUTE_ATTRIBUTE_LOCK_CWND

    #define NM_IP_ROUTE_ATTRIBUTE_LOCK_CWND     "lock-cwnd"

### NM_IP_ROUTE_ATTRIBUTE_LOCK_INITCWND

    #define NM_IP_ROUTE_ATTRIBUTE_LOCK_INITCWND "lock-initcwnd"

### NM_IP_ROUTE_ATTRIBUTE_LOCK_INITRWND

    #define NM_IP_ROUTE_ATTRIBUTE_LOCK_INITRWND "lock-initrwnd"

### NM_IP_ROUTE_ATTRIBUTE_LOCK_MTU

    #define NM_IP_ROUTE_ATTRIBUTE_LOCK_MTU      "lock-mtu"

### NM_IP_ROUTE_ATTRIBUTE_LOCK_WINDOW

    #define NM_IP_ROUTE_ATTRIBUTE_LOCK_WINDOW   "lock-window"

### NM_IP_ROUTE_ATTRIBUTE_MTU

    #define NM_IP_ROUTE_ATTRIBUTE_MTU           "mtu"

### NM_IP_ROUTE_ATTRIBUTE_ONLINK

    #define NM_IP_ROUTE_ATTRIBUTE_ONLINK        "onlink"

### NM_IP_ROUTE_ATTRIBUTE_SCOPE

    #define NM_IP_ROUTE_ATTRIBUTE_SCOPE         "scope"

### NM_IP_ROUTE_ATTRIBUTE_SRC

    #define NM_IP_ROUTE_ATTRIBUTE_SRC           "src"

### NM_IP_ROUTE_ATTRIBUTE_TABLE

    #define NM_IP_ROUTE_ATTRIBUTE_TABLE         "table"

### NM_IP_ROUTE_ATTRIBUTE_TOS

    #define NM_IP_ROUTE_ATTRIBUTE_TOS           "tos"

### NM_IP_ROUTE_ATTRIBUTE_TYPE

    #define NM_IP_ROUTE_ATTRIBUTE_TYPE          "type"

### NM_IP_ROUTE_ATTRIBUTE_WINDOW

    #define NM_IP_ROUTE_ATTRIBUTE_WINDOW        "window"

### enum NMIPRoutingRuleAsStringFlags

#### Members

NM_IP_ROUTING_RULE_AS_STRING_FLAGS_NONE | no flags selected. |
NM_IP_ROUTING_RULE_AS_STRING_FLAGS_AF_INET | whether to allow parsing IPv4 addresses. |
NM_IP_ROUTING_RULE_AS_STRING_FLAGS_AF_INET6 | whether to allow parsing IPv6 addresses. If both `NM_IP_ROUTING_RULE_AS_STRING_FLAGS_AF_INET` and `NM_IP_ROUTING_RULE_AS_STRING_FLAGS_AF_INET6` are unset, it's the same as setting them both. |
NM_IP_ROUTING_RULE_AS_STRING_FLAGS_VALIDATE | if set, ensure that the rule verfies or fail. |

Since: 1.18

### NM_SETTING_IP_CONFIG_DAD_TIMEOUT_MAX

    #define NM_SETTING_IP_CONFIG_DAD_TIMEOUT_MAX 30000

### NM_SETTING_IP_CONFIG_METHOD

    #define NM_SETTING_IP_CONFIG_METHOD              "method"

### NM_SETTING_IP_CONFIG_DNS

    #define NM_SETTING_IP_CONFIG_DNS                 "dns"

### NM_SETTING_IP_CONFIG_DNS_SEARCH

    #define NM_SETTING_IP_CONFIG_DNS_SEARCH          "dns-search"

### NM_SETTING_IP_CONFIG_DNS_OPTIONS

    #define NM_SETTING_IP_CONFIG_DNS_OPTIONS         "dns-options"

### NM_SETTING_IP_CONFIG_DNS_PRIORITY

    #define NM_SETTING_IP_CONFIG_DNS_PRIORITY        "dns-priority"

### NM_SETTING_IP_CONFIG_ADDRESSES

    #define NM_SETTING_IP_CONFIG_ADDRESSES           "addresses"

### NM_SETTING_IP_CONFIG_GATEWAY

    #define NM_SETTING_IP_CONFIG_GATEWAY             "gateway"

### NM_SETTING_IP_CONFIG_ROUTES

    #define NM_SETTING_IP_CONFIG_ROUTES              "routes"

### NM_SETTING_IP_CONFIG_ROUTE_METRIC

    #define NM_SETTING_IP_CONFIG_ROUTE_METRIC        "route-metric"

### NM_SETTING_IP_CONFIG_ROUTE_TABLE

    #define NM_SETTING_IP_CONFIG_ROUTE_TABLE         "route-table"

### NM_SETTING_IP_CONFIG_IGNORE_AUTO_ROUTES

    #define NM_SETTING_IP_CONFIG_IGNORE_AUTO_ROUTES  "ignore-auto-routes"

### NM_SETTING_IP_CONFIG_IGNORE_AUTO_DNS

    #define NM_SETTING_IP_CONFIG_IGNORE_AUTO_DNS     "ignore-auto-dns"

### NM_SETTING_IP_CONFIG_DHCP_HOSTNAME

    #define NM_SETTING_IP_CONFIG_DHCP_HOSTNAME       "dhcp-hostname"

### NM_SETTING_IP_CONFIG_DHCP_SEND_HOSTNAME

    #define NM_SETTING_IP_CONFIG_DHCP_SEND_HOSTNAME  "dhcp-send-hostname"

### NM_SETTING_IP_CONFIG_DHCP_HOSTNAME_FLAGS

    #define NM_SETTING_IP_CONFIG_DHCP_HOSTNAME_FLAGS "dhcp-hostname-flags"

### NM_SETTING_IP_CONFIG_NEVER_DEFAULT

    #define NM_SETTING_IP_CONFIG_NEVER_DEFAULT       "never-default"

### NM_SETTING_IP_CONFIG_MAY_FAIL

    #define NM_SETTING_IP_CONFIG_MAY_FAIL            "may-fail"

### NM_SETTING_IP_CONFIG_DAD_TIMEOUT

    #define NM_SETTING_IP_CONFIG_DAD_TIMEOUT         "dad-timeout"

### NM_SETTING_IP_CONFIG_DHCP_TIMEOUT

    #define NM_SETTING_IP_CONFIG_DHCP_TIMEOUT        "dhcp-timeout"

### NM_SETTING_IP_CONFIG_DHCP_IAID

    #define NM_SETTING_IP_CONFIG_DHCP_IAID           "dhcp-iaid"

### NM_SETTING_IP_CONFIG_DHCP_REJECT_SERVERS

    #define NM_SETTING_IP_CONFIG_DHCP_REJECT_SERVERS "dhcp-reject-servers"

### NM_SETTING_IP_CONFIG_ROUTING_RULES

    #define NM_SETTING_IP_CONFIG_ROUTING_RULES "routing-rules"

### NM_SETTING_DNS_OPTION_DEBUG

    #define NM_SETTING_DNS_OPTION_DEBUG                 "debug"

### NM_SETTING_DNS_OPTION_NDOTS

    #define NM_SETTING_DNS_OPTION_NDOTS                 "ndots"

### NM_SETTING_DNS_OPTION_TIMEOUT

    #define NM_SETTING_DNS_OPTION_TIMEOUT               "timeout"

### NM_SETTING_DNS_OPTION_ATTEMPTS

    #define NM_SETTING_DNS_OPTION_ATTEMPTS              "attempts"

### NM_SETTING_DNS_OPTION_ROTATE

    #define NM_SETTING_DNS_OPTION_ROTATE                "rotate"

### NM_SETTING_DNS_OPTION_NO_CHECK_NAMES

    #define NM_SETTING_DNS_OPTION_NO_CHECK_NAMES        "no-check-names"

### NM_SETTING_DNS_OPTION_INET6

    #define NM_SETTING_DNS_OPTION_INET6                 "inet6"

### NM_SETTING_DNS_OPTION_IP6_BYTESTRING

    #define NM_SETTING_DNS_OPTION_IP6_BYTESTRING        "ip6-bytestring"

### NM_SETTING_DNS_OPTION_IP6_DOTINT

    #define NM_SETTING_DNS_OPTION_IP6_DOTINT            "ip6-dotint"

### NM_SETTING_DNS_OPTION_NO_IP6_DOTINT

    #define NM_SETTING_DNS_OPTION_NO_IP6_DOTINT         "no-ip6-dotint"

### NM_SETTING_DNS_OPTION_EDNS0

    #define NM_SETTING_DNS_OPTION_EDNS0                 "edns0"

### NM_SETTING_DNS_OPTION_SINGLE_REQUEST

    #define NM_SETTING_DNS_OPTION_SINGLE_REQUEST        "single-request"

### NM_SETTING_DNS_OPTION_SINGLE_REQUEST_REOPEN

    #define NM_SETTING_DNS_OPTION_SINGLE_REQUEST_REOPEN "single-request-reopen"

### NM_SETTING_DNS_OPTION_NO_TLD_QUERY

    #define NM_SETTING_DNS_OPTION_NO_TLD_QUERY          "no-tld-query"

### NM_SETTING_DNS_OPTION_USE_VC

    #define NM_SETTING_DNS_OPTION_USE_VC                "use-vc"

### NM_SETTING_DNS_OPTION_NO_RELOAD

    #define NM_SETTING_DNS_OPTION_NO_RELOAD             "no-reload"

### NM_SETTING_DNS_OPTION_TRUST_AD

    #define NM_SETTING_DNS_OPTION_TRUST_AD              "trust-ad"

### enum NMDhcpHostnameFlags

NMDhcpHostnameFlags describe flags related to the DHCP hostname and FQDN.

#### Members

NM_DHCP_HOSTNAME_FLAG_NONE | no flag set. The default value from Networkmanager global configuration is used. If such value is unset or still zero, the DHCP request will use standard FQDN flags, i.e. `NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE` and `NM_DHCP_HOSTNAME_FLAG_FQDN_ENCODED` for IPv4 and `NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE` for IPv6. |
NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE | whether the server should do the A RR (FQDN-to-address) DNS updates. |
NM_DHCP_HOSTNAME_FLAG_FQDN_ENCODED | if set, the FQDN is encoded using canonical wire format. Otherwise it uses the deprecated ASCII encoding. This flag is allowed only for DHCPv4. |
NM_DHCP_HOSTNAME_FLAG_FQDN_NO_UPDATE | when not set, request the server to perform updates (the PTR RR and possibly the A RR based on the `NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE` flag). If this is set, the `NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE` flag should be cleared. |
NM_DHCP_HOSTNAME_FLAG_FQDN_CLEAR_FLAGS | when set, no FQDN flags are sent in the DHCP FQDN option. When cleared and all other FQDN flags are zero, standard FQDN flags are sent. This flag is incompatible with any other FQDN flag. |

Since: 1.22