<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="NMSettingIP4Config">
<refmeta>
<refentrytitle role="top_of_page">NMSettingIP4Config</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBNM-UTIL Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>NMSettingIP4Config</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>



#define             <link linkend="NM-SETTING-IP4-CONFIG-SETTING-NAME:CAPS">NM_SETTING_IP4_CONFIG_SETTING_NAME</link>
enum                <link linkend="NMSettingIP4ConfigError">NMSettingIP4ConfigError</link>;
#define             <link linkend="NM-TYPE-SETTING-IP4-CONFIG-ERROR:CAPS">NM_TYPE_SETTING_IP4_CONFIG_ERROR</link>
#define             <link linkend="NM-SETTING-IP4-CONFIG-ERROR:CAPS">NM_SETTING_IP4_CONFIG_ERROR</link>
<link linkend="GQuark">GQuark</link>              <link linkend="nm-setting-ip4-config-error-quark">nm_setting_ip4_config_error_quark</link>   (void);
#define             <link linkend="NM-SETTING-IP4-CONFIG-METHOD:CAPS">NM_SETTING_IP4_CONFIG_METHOD</link>
#define             <link linkend="NM-SETTING-IP4-CONFIG-DNS:CAPS">NM_SETTING_IP4_CONFIG_DNS</link>
#define             <link linkend="NM-SETTING-IP4-CONFIG-DNS-SEARCH:CAPS">NM_SETTING_IP4_CONFIG_DNS_SEARCH</link>
#define             <link linkend="NM-SETTING-IP4-CONFIG-ADDRESSES:CAPS">NM_SETTING_IP4_CONFIG_ADDRESSES</link>
#define             <link linkend="NM-SETTING-IP4-CONFIG-ROUTES:CAPS">NM_SETTING_IP4_CONFIG_ROUTES</link>
#define             <link linkend="NM-SETTING-IP4-CONFIG-IGNORE-AUTO-ROUTES:CAPS">NM_SETTING_IP4_CONFIG_IGNORE_AUTO_ROUTES</link>
#define             <link linkend="NM-SETTING-IP4-CONFIG-IGNORE-AUTO-DNS:CAPS">NM_SETTING_IP4_CONFIG_IGNORE_AUTO_DNS</link>
#define             <link linkend="NM-SETTING-IP4-CONFIG-DHCP-CLIENT-ID:CAPS">NM_SETTING_IP4_CONFIG_DHCP_CLIENT_ID</link>
#define             <link linkend="NM-SETTING-IP4-CONFIG-DHCP-HOSTNAME:CAPS">NM_SETTING_IP4_CONFIG_DHCP_HOSTNAME</link>
#define             <link linkend="NM-SETTING-IP4-CONFIG-NEVER-DEFAULT:CAPS">NM_SETTING_IP4_CONFIG_NEVER_DEFAULT</link>
#define             <link linkend="NM-SETTING-IP4-CONFIG-METHOD-AUTO:CAPS">NM_SETTING_IP4_CONFIG_METHOD_AUTO</link>
#define             <link linkend="NM-SETTING-IP4-CONFIG-METHOD-LINK-LOCAL:CAPS">NM_SETTING_IP4_CONFIG_METHOD_LINK_LOCAL</link>
#define             <link linkend="NM-SETTING-IP4-CONFIG-METHOD-MANUAL:CAPS">NM_SETTING_IP4_CONFIG_METHOD_MANUAL</link>
#define             <link linkend="NM-SETTING-IP4-CONFIG-METHOD-SHARED:CAPS">NM_SETTING_IP4_CONFIG_METHOD_SHARED</link>
typedef             <link linkend="NMIP4Address">NMIP4Address</link>;
<link linkend="NMIP4Address">NMIP4Address</link>*       <link linkend="nm-ip4-address-new">nm_ip4_address_new</link>                  (void);
<link linkend="NMIP4Address">NMIP4Address</link>*       <link linkend="nm-ip4-address-dup">nm_ip4_address_dup</link>                  (<link linkend="NMIP4Address">NMIP4Address</link> *source);
<link linkend="void">void</link>                <link linkend="nm-ip4-address-ref">nm_ip4_address_ref</link>                  (<link linkend="NMIP4Address">NMIP4Address</link> *address);
<link linkend="void">void</link>                <link linkend="nm-ip4-address-unref">nm_ip4_address_unref</link>                (<link linkend="NMIP4Address">NMIP4Address</link> *address);
<link linkend="gboolean">gboolean</link>            <link linkend="nm-ip4-address-compare">nm_ip4_address_compare</link>              (<link linkend="NMIP4Address">NMIP4Address</link> *address,
                                                         <link linkend="NMIP4Address">NMIP4Address</link> *other);
<link linkend="guint32">guint32</link>             <link linkend="nm-ip4-address-get-address">nm_ip4_address_get_address</link>          (<link linkend="NMIP4Address">NMIP4Address</link> *address);
<link linkend="void">void</link>                <link linkend="nm-ip4-address-set-address">nm_ip4_address_set_address</link>          (<link linkend="NMIP4Address">NMIP4Address</link> *address,
                                                         <link linkend="guint32">guint32</link> addr);
<link linkend="guint32">guint32</link>             <link linkend="nm-ip4-address-get-prefix">nm_ip4_address_get_prefix</link>           (<link linkend="NMIP4Address">NMIP4Address</link> *address);
<link linkend="void">void</link>                <link linkend="nm-ip4-address-set-prefix">nm_ip4_address_set_prefix</link>           (<link linkend="NMIP4Address">NMIP4Address</link> *address,
                                                         <link linkend="guint32">guint32</link> prefix);
<link linkend="guint32">guint32</link>             <link linkend="nm-ip4-address-get-gateway">nm_ip4_address_get_gateway</link>          (<link linkend="NMIP4Address">NMIP4Address</link> *address);
<link linkend="void">void</link>                <link linkend="nm-ip4-address-set-gateway">nm_ip4_address_set_gateway</link>          (<link linkend="NMIP4Address">NMIP4Address</link> *address,
                                                         <link linkend="guint32">guint32</link> gateway);
typedef             <link linkend="NMIP4Route">NMIP4Route</link>;
<link linkend="NMIP4Route">NMIP4Route</link>*         <link linkend="nm-ip4-route-new">nm_ip4_route_new</link>                    (void);
<link linkend="NMIP4Route">NMIP4Route</link>*         <link linkend="nm-ip4-route-dup">nm_ip4_route_dup</link>                    (<link linkend="NMIP4Route">NMIP4Route</link> *route);
<link linkend="void">void</link>                <link linkend="nm-ip4-route-ref">nm_ip4_route_ref</link>                    (<link linkend="NMIP4Route">NMIP4Route</link> *route);
<link linkend="void">void</link>                <link linkend="nm-ip4-route-unref">nm_ip4_route_unref</link>                  (<link linkend="NMIP4Route">NMIP4Route</link> *route);
<link linkend="gboolean">gboolean</link>            <link linkend="nm-ip4-route-compare">nm_ip4_route_compare</link>                (<link linkend="NMIP4Route">NMIP4Route</link> *route,
                                                         <link linkend="NMIP4Route">NMIP4Route</link> *other);
<link linkend="guint32">guint32</link>             <link linkend="nm-ip4-route-get-dest">nm_ip4_route_get_dest</link>               (<link linkend="NMIP4Route">NMIP4Route</link> *route);
<link linkend="void">void</link>                <link linkend="nm-ip4-route-set-dest">nm_ip4_route_set_dest</link>               (<link linkend="NMIP4Route">NMIP4Route</link> *route,
                                                         <link linkend="guint32">guint32</link> dest);
<link linkend="guint32">guint32</link>             <link linkend="nm-ip4-route-get-prefix">nm_ip4_route_get_prefix</link>             (<link linkend="NMIP4Route">NMIP4Route</link> *route);
<link linkend="void">void</link>                <link linkend="nm-ip4-route-set-prefix">nm_ip4_route_set_prefix</link>             (<link linkend="NMIP4Route">NMIP4Route</link> *route,
                                                         <link linkend="guint32">guint32</link> prefix);
<link linkend="guint32">guint32</link>             <link linkend="nm-ip4-route-get-next-hop">nm_ip4_route_get_next_hop</link>           (<link linkend="NMIP4Route">NMIP4Route</link> *route);
<link linkend="void">void</link>                <link linkend="nm-ip4-route-set-next-hop">nm_ip4_route_set_next_hop</link>           (<link linkend="NMIP4Route">NMIP4Route</link> *route,
                                                         <link linkend="guint32">guint32</link> next_hop);
<link linkend="guint32">guint32</link>             <link linkend="nm-ip4-route-get-metric">nm_ip4_route_get_metric</link>             (<link linkend="NMIP4Route">NMIP4Route</link> *route);
<link linkend="void">void</link>                <link linkend="nm-ip4-route-set-metric">nm_ip4_route_set_metric</link>             (<link linkend="NMIP4Route">NMIP4Route</link> *route,
                                                         <link linkend="guint32">guint32</link> metric);
                    <link linkend="NMSettingIP4Config-struct">NMSettingIP4Config</link>;
<link linkend="GType">GType</link>               <link linkend="nm-setting-ip4-config-get-type">nm_setting_ip4_config_get_type</link>      (void);
<link linkend="NMSetting">NMSetting</link>*          <link linkend="nm-setting-ip4-config-new">nm_setting_ip4_config_new</link>           (void);
const <link linkend="char">char</link>*         <link linkend="nm-setting-ip4-config-get-method">nm_setting_ip4_config_get_method</link>    (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);
<link linkend="guint32">guint32</link>             <link linkend="nm-setting-ip4-config-get-num-dns">nm_setting_ip4_config_get_num_dns</link>   (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);
<link linkend="guint32">guint32</link>             <link linkend="nm-setting-ip4-config-get-dns">nm_setting_ip4_config_get_dns</link>       (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="guint32">guint32</link> i);
<link linkend="gboolean">gboolean</link>            <link linkend="nm-setting-ip4-config-add-dns">nm_setting_ip4_config_add_dns</link>       (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="guint32">guint32</link> dns);
<link linkend="void">void</link>                <link linkend="nm-setting-ip4-config-remove-dns">nm_setting_ip4_config_remove_dns</link>    (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="guint32">guint32</link> i);
<link linkend="void">void</link>                <link linkend="nm-setting-ip4-config-clear-dns">nm_setting_ip4_config_clear_dns</link>     (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);
<link linkend="guint32">guint32</link>             <link linkend="nm-setting-ip4-config-get-num-dns-searches">nm_setting_ip4_config_get_num_dns_searches</link>
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);
const <link linkend="char">char</link>*         <link linkend="nm-setting-ip4-config-get-dns-search">nm_setting_ip4_config_get_dns_search</link>
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="guint32">guint32</link> i);
<link linkend="gboolean">gboolean</link>            <link linkend="nm-setting-ip4-config-add-dns-search">nm_setting_ip4_config_add_dns_search</link>
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         const <link linkend="char">char</link> *dns_search);
<link linkend="void">void</link>                <link linkend="nm-setting-ip4-config-remove-dns-search">nm_setting_ip4_config_remove_dns_search</link>
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="guint32">guint32</link> i);
<link linkend="void">void</link>                <link linkend="nm-setting-ip4-config-clear-dns-searches">nm_setting_ip4_config_clear_dns_searches</link>
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);
<link linkend="guint32">guint32</link>             <link linkend="nm-setting-ip4-config-get-num-addresses">nm_setting_ip4_config_get_num_addresses</link>
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);
<link linkend="NMIP4Address">NMIP4Address</link>*       <link linkend="nm-setting-ip4-config-get-address">nm_setting_ip4_config_get_address</link>   (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="guint32">guint32</link> i);
<link linkend="gboolean">gboolean</link>            <link linkend="nm-setting-ip4-config-add-address">nm_setting_ip4_config_add_address</link>   (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="NMIP4Address">NMIP4Address</link> *address);
<link linkend="void">void</link>                <link linkend="nm-setting-ip4-config-remove-address">nm_setting_ip4_config_remove_address</link>
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="guint32">guint32</link> i);
<link linkend="void">void</link>                <link linkend="nm-setting-ip4-config-clear-addresses">nm_setting_ip4_config_clear_addresses</link>
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);
<link linkend="guint32">guint32</link>             <link linkend="nm-setting-ip4-config-get-num-routes">nm_setting_ip4_config_get_num_routes</link>
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);
<link linkend="NMIP4Route">NMIP4Route</link>*         <link linkend="nm-setting-ip4-config-get-route">nm_setting_ip4_config_get_route</link>     (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="guint32">guint32</link> i);
<link linkend="gboolean">gboolean</link>            <link linkend="nm-setting-ip4-config-add-route">nm_setting_ip4_config_add_route</link>     (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="NMIP4Route">NMIP4Route</link> *route);
<link linkend="void">void</link>                <link linkend="nm-setting-ip4-config-remove-route">nm_setting_ip4_config_remove_route</link>  (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="guint32">guint32</link> i);
<link linkend="void">void</link>                <link linkend="nm-setting-ip4-config-clear-routes">nm_setting_ip4_config_clear_routes</link>  (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);
<link linkend="gboolean">gboolean</link>            <link linkend="nm-setting-ip4-config-get-ignore-auto-routes">nm_setting_ip4_config_get_ignore_auto_routes</link>
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);
<link linkend="gboolean">gboolean</link>            <link linkend="nm-setting-ip4-config-get-ignore-auto-dns">nm_setting_ip4_config_get_ignore_auto_dns</link>
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);
const <link linkend="char">char</link>*         <link linkend="nm-setting-ip4-config-get-dhcp-client-id">nm_setting_ip4_config_get_dhcp_client_id</link>
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);
const <link linkend="char">char</link>*         <link linkend="nm-setting-ip4-config-get-dhcp-hostname">nm_setting_ip4_config_get_dhcp_hostname</link>
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);
<link linkend="gboolean">gboolean</link>            <link linkend="nm-setting-ip4-config-get-never-default">nm_setting_ip4_config_get_never_default</link>
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);

</synopsis>
</refsynopsisdiv>

<refsect1 role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>

  <link linkend="GObject">GObject</link>
   +----<link linkend="NMSetting">NMSetting</link>
         +----NMSettingIP4Config
</synopsis>

</refsect1>





<refsect1 role="properties">
<title role="properties.title">Properties</title>
<synopsis>

  &quot;<link linkend="NMSettingIP4Config--dhcp-client-id">dhcp-client-id</link>&quot;           <link linkend="gchararray">gchararray</link>            : Read / Write
  &quot;<link linkend="NMSettingIP4Config--dhcp-hostname">dhcp-hostname</link>&quot;            <link linkend="gchararray">gchararray</link>            : Read / Write
  &quot;<link linkend="NMSettingIP4Config--ignore-auto-dns">ignore-auto-dns</link>&quot;          <link linkend="gboolean">gboolean</link>              : Read / Write / Construct
  &quot;<link linkend="NMSettingIP4Config--ignore-auto-routes">ignore-auto-routes</link>&quot;       <link linkend="gboolean">gboolean</link>              : Read / Write / Construct
  &quot;<link linkend="NMSettingIP4Config--method">method</link>&quot;                   <link linkend="gchararray">gchararray</link>            : Read / Write
  &quot;<link linkend="NMSettingIP4Config--never-default">never-default</link>&quot;            <link linkend="gboolean">gboolean</link>              : Read / Write / Construct
</synopsis>
</refsect1>



<refsect1 role="desc">
<title role="desc.title">Description</title>
<para>

</para>
</refsect1>

<refsect1 role="details">
<title role="details.title">Details</title>
<refsect2>
<title><anchor id="NM-SETTING-IP4-CONFIG-SETTING-NAME:CAPS" role="macro"/>NM_SETTING_IP4_CONFIG_SETTING_NAME</title>
<indexterm><primary>NM_SETTING_IP4_CONFIG_SETTING_NAME</primary></indexterm><programlisting>#define NM_SETTING_IP4_CONFIG_SETTING_NAME "ipv4"
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="NMSettingIP4ConfigError" role="enum"/>enum NMSettingIP4ConfigError</title>
<indexterm><primary>NMSettingIP4ConfigError</primary></indexterm><programlisting>typedef enum
{
	NM_SETTING_IP4_CONFIG_ERROR_UNKNOWN = 0,
	NM_SETTING_IP4_CONFIG_ERROR_INVALID_PROPERTY,
	NM_SETTING_IP4_CONFIG_ERROR_MISSING_PROPERTY,
	NM_SETTING_IP4_CONFIG_ERROR_NOT_ALLOWED_FOR_METHOD
} NMSettingIP4ConfigError;
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="NM-TYPE-SETTING-IP4-CONFIG-ERROR:CAPS" role="macro"/>NM_TYPE_SETTING_IP4_CONFIG_ERROR</title>
<indexterm><primary>NM_TYPE_SETTING_IP4_CONFIG_ERROR</primary></indexterm><programlisting>#define NM_TYPE_SETTING_IP4_CONFIG_ERROR (nm_setting_ip4_config_error_get_type ()) 
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="NM-SETTING-IP4-CONFIG-ERROR:CAPS" role="macro"/>NM_SETTING_IP4_CONFIG_ERROR</title>
<indexterm><primary>NM_SETTING_IP4_CONFIG_ERROR</primary></indexterm><programlisting>#define NM_SETTING_IP4_CONFIG_ERROR nm_setting_ip4_config_error_quark ()
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-error-quark" role="function"/>nm_setting_ip4_config_error_quark ()</title>
<indexterm><primary>nm_setting_ip4_config_error_quark</primary></indexterm><programlisting><link linkend="GQuark">GQuark</link>              nm_setting_ip4_config_error_quark   (void);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="NM-SETTING-IP4-CONFIG-METHOD:CAPS" role="macro"/>NM_SETTING_IP4_CONFIG_METHOD</title>
<indexterm><primary>NM_SETTING_IP4_CONFIG_METHOD</primary></indexterm><programlisting>#define NM_SETTING_IP4_CONFIG_METHOD             "method"
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="NM-SETTING-IP4-CONFIG-DNS:CAPS" role="macro"/>NM_SETTING_IP4_CONFIG_DNS</title>
<indexterm><primary>NM_SETTING_IP4_CONFIG_DNS</primary></indexterm><programlisting>#define NM_SETTING_IP4_CONFIG_DNS                "dns"
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="NM-SETTING-IP4-CONFIG-DNS-SEARCH:CAPS" role="macro"/>NM_SETTING_IP4_CONFIG_DNS_SEARCH</title>
<indexterm><primary>NM_SETTING_IP4_CONFIG_DNS_SEARCH</primary></indexterm><programlisting>#define NM_SETTING_IP4_CONFIG_DNS_SEARCH         "dns-search"
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="NM-SETTING-IP4-CONFIG-ADDRESSES:CAPS" role="macro"/>NM_SETTING_IP4_CONFIG_ADDRESSES</title>
<indexterm><primary>NM_SETTING_IP4_CONFIG_ADDRESSES</primary></indexterm><programlisting>#define NM_SETTING_IP4_CONFIG_ADDRESSES          "addresses"
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="NM-SETTING-IP4-CONFIG-ROUTES:CAPS" role="macro"/>NM_SETTING_IP4_CONFIG_ROUTES</title>
<indexterm><primary>NM_SETTING_IP4_CONFIG_ROUTES</primary></indexterm><programlisting>#define NM_SETTING_IP4_CONFIG_ROUTES             "routes"
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="NM-SETTING-IP4-CONFIG-IGNORE-AUTO-ROUTES:CAPS" role="macro"/>NM_SETTING_IP4_CONFIG_IGNORE_AUTO_ROUTES</title>
<indexterm><primary>NM_SETTING_IP4_CONFIG_IGNORE_AUTO_ROUTES</primary></indexterm><programlisting>#define NM_SETTING_IP4_CONFIG_IGNORE_AUTO_ROUTES "ignore-auto-routes"
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="NM-SETTING-IP4-CONFIG-IGNORE-AUTO-DNS:CAPS" role="macro"/>NM_SETTING_IP4_CONFIG_IGNORE_AUTO_DNS</title>
<indexterm><primary>NM_SETTING_IP4_CONFIG_IGNORE_AUTO_DNS</primary></indexterm><programlisting>#define NM_SETTING_IP4_CONFIG_IGNORE_AUTO_DNS    "ignore-auto-dns"
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="NM-SETTING-IP4-CONFIG-DHCP-CLIENT-ID:CAPS" role="macro"/>NM_SETTING_IP4_CONFIG_DHCP_CLIENT_ID</title>
<indexterm><primary>NM_SETTING_IP4_CONFIG_DHCP_CLIENT_ID</primary></indexterm><programlisting>#define NM_SETTING_IP4_CONFIG_DHCP_CLIENT_ID     "dhcp-client-id"
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="NM-SETTING-IP4-CONFIG-DHCP-HOSTNAME:CAPS" role="macro"/>NM_SETTING_IP4_CONFIG_DHCP_HOSTNAME</title>
<indexterm><primary>NM_SETTING_IP4_CONFIG_DHCP_HOSTNAME</primary></indexterm><programlisting>#define NM_SETTING_IP4_CONFIG_DHCP_HOSTNAME      "dhcp-hostname"
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="NM-SETTING-IP4-CONFIG-NEVER-DEFAULT:CAPS" role="macro"/>NM_SETTING_IP4_CONFIG_NEVER_DEFAULT</title>
<indexterm><primary>NM_SETTING_IP4_CONFIG_NEVER_DEFAULT</primary></indexterm><programlisting>#define NM_SETTING_IP4_CONFIG_NEVER_DEFAULT      "never-default"
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="NM-SETTING-IP4-CONFIG-METHOD-AUTO:CAPS" role="macro"/>NM_SETTING_IP4_CONFIG_METHOD_AUTO</title>
<indexterm><primary>NM_SETTING_IP4_CONFIG_METHOD_AUTO</primary></indexterm><programlisting>#define NM_SETTING_IP4_CONFIG_METHOD_AUTO       "auto"
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="NM-SETTING-IP4-CONFIG-METHOD-LINK-LOCAL:CAPS" role="macro"/>NM_SETTING_IP4_CONFIG_METHOD_LINK_LOCAL</title>
<indexterm><primary>NM_SETTING_IP4_CONFIG_METHOD_LINK_LOCAL</primary></indexterm><programlisting>#define NM_SETTING_IP4_CONFIG_METHOD_LINK_LOCAL "link-local"
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="NM-SETTING-IP4-CONFIG-METHOD-MANUAL:CAPS" role="macro"/>NM_SETTING_IP4_CONFIG_METHOD_MANUAL</title>
<indexterm><primary>NM_SETTING_IP4_CONFIG_METHOD_MANUAL</primary></indexterm><programlisting>#define NM_SETTING_IP4_CONFIG_METHOD_MANUAL     "manual"
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="NM-SETTING-IP4-CONFIG-METHOD-SHARED:CAPS" role="macro"/>NM_SETTING_IP4_CONFIG_METHOD_SHARED</title>
<indexterm><primary>NM_SETTING_IP4_CONFIG_METHOD_SHARED</primary></indexterm><programlisting>#define NM_SETTING_IP4_CONFIG_METHOD_SHARED     "shared"
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="NMIP4Address" role="typedef"/>NMIP4Address</title>
<indexterm><primary>NMIP4Address</primary></indexterm><programlisting>typedef struct NMIP4Address NMIP4Address;
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="nm-ip4-address-new" role="function"/>nm_ip4_address_new ()</title>
<indexterm><primary>nm_ip4_address_new</primary></indexterm><programlisting><link linkend="NMIP4Address">NMIP4Address</link>*       nm_ip4_address_new                  (void);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-address-dup" role="function"/>nm_ip4_address_dup ()</title>
<indexterm><primary>nm_ip4_address_dup</primary></indexterm><programlisting><link linkend="NMIP4Address">NMIP4Address</link>*       nm_ip4_address_dup                  (<link linkend="NMIP4Address">NMIP4Address</link> *source);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>source</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-address-ref" role="function"/>nm_ip4_address_ref ()</title>
<indexterm><primary>nm_ip4_address_ref</primary></indexterm><programlisting><link linkend="void">void</link>                nm_ip4_address_ref                  (<link linkend="NMIP4Address">NMIP4Address</link> *address);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>address</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-address-unref" role="function"/>nm_ip4_address_unref ()</title>
<indexterm><primary>nm_ip4_address_unref</primary></indexterm><programlisting><link linkend="void">void</link>                nm_ip4_address_unref                (<link linkend="NMIP4Address">NMIP4Address</link> *address);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>address</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-address-compare" role="function"/>nm_ip4_address_compare ()</title>
<indexterm><primary>nm_ip4_address_compare</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            nm_ip4_address_compare              (<link linkend="NMIP4Address">NMIP4Address</link> *address,
                                                         <link linkend="NMIP4Address">NMIP4Address</link> *other);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>address</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>other</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-address-get-address" role="function"/>nm_ip4_address_get_address ()</title>
<indexterm><primary>nm_ip4_address_get_address</primary></indexterm><programlisting><link linkend="guint32">guint32</link>             nm_ip4_address_get_address          (<link linkend="NMIP4Address">NMIP4Address</link> *address);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>address</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-address-set-address" role="function"/>nm_ip4_address_set_address ()</title>
<indexterm><primary>nm_ip4_address_set_address</primary></indexterm><programlisting><link linkend="void">void</link>                nm_ip4_address_set_address          (<link linkend="NMIP4Address">NMIP4Address</link> *address,
                                                         <link linkend="guint32">guint32</link> addr);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>address</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>addr</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-address-get-prefix" role="function"/>nm_ip4_address_get_prefix ()</title>
<indexterm><primary>nm_ip4_address_get_prefix</primary></indexterm><programlisting><link linkend="guint32">guint32</link>             nm_ip4_address_get_prefix           (<link linkend="NMIP4Address">NMIP4Address</link> *address);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>address</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-address-set-prefix" role="function"/>nm_ip4_address_set_prefix ()</title>
<indexterm><primary>nm_ip4_address_set_prefix</primary></indexterm><programlisting><link linkend="void">void</link>                nm_ip4_address_set_prefix           (<link linkend="NMIP4Address">NMIP4Address</link> *address,
                                                         <link linkend="guint32">guint32</link> prefix);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>address</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>prefix</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-address-get-gateway" role="function"/>nm_ip4_address_get_gateway ()</title>
<indexterm><primary>nm_ip4_address_get_gateway</primary></indexterm><programlisting><link linkend="guint32">guint32</link>             nm_ip4_address_get_gateway          (<link linkend="NMIP4Address">NMIP4Address</link> *address);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>address</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-address-set-gateway" role="function"/>nm_ip4_address_set_gateway ()</title>
<indexterm><primary>nm_ip4_address_set_gateway</primary></indexterm><programlisting><link linkend="void">void</link>                nm_ip4_address_set_gateway          (<link linkend="NMIP4Address">NMIP4Address</link> *address,
                                                         <link linkend="guint32">guint32</link> gateway);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>address</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>gateway</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="NMIP4Route" role="typedef"/>NMIP4Route</title>
<indexterm><primary>NMIP4Route</primary></indexterm><programlisting>typedef struct NMIP4Route NMIP4Route;
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="nm-ip4-route-new" role="function"/>nm_ip4_route_new ()</title>
<indexterm><primary>nm_ip4_route_new</primary></indexterm><programlisting><link linkend="NMIP4Route">NMIP4Route</link>*         nm_ip4_route_new                    (void);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-route-dup" role="function"/>nm_ip4_route_dup ()</title>
<indexterm><primary>nm_ip4_route_dup</primary></indexterm><programlisting><link linkend="NMIP4Route">NMIP4Route</link>*         nm_ip4_route_dup                    (<link linkend="NMIP4Route">NMIP4Route</link> *route);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>route</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-route-ref" role="function"/>nm_ip4_route_ref ()</title>
<indexterm><primary>nm_ip4_route_ref</primary></indexterm><programlisting><link linkend="void">void</link>                nm_ip4_route_ref                    (<link linkend="NMIP4Route">NMIP4Route</link> *route);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>route</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-route-unref" role="function"/>nm_ip4_route_unref ()</title>
<indexterm><primary>nm_ip4_route_unref</primary></indexterm><programlisting><link linkend="void">void</link>                nm_ip4_route_unref                  (<link linkend="NMIP4Route">NMIP4Route</link> *route);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>route</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-route-compare" role="function"/>nm_ip4_route_compare ()</title>
<indexterm><primary>nm_ip4_route_compare</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            nm_ip4_route_compare                (<link linkend="NMIP4Route">NMIP4Route</link> *route,
                                                         <link linkend="NMIP4Route">NMIP4Route</link> *other);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>route</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>other</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-route-get-dest" role="function"/>nm_ip4_route_get_dest ()</title>
<indexterm><primary>nm_ip4_route_get_dest</primary></indexterm><programlisting><link linkend="guint32">guint32</link>             nm_ip4_route_get_dest               (<link linkend="NMIP4Route">NMIP4Route</link> *route);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>route</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-route-set-dest" role="function"/>nm_ip4_route_set_dest ()</title>
<indexterm><primary>nm_ip4_route_set_dest</primary></indexterm><programlisting><link linkend="void">void</link>                nm_ip4_route_set_dest               (<link linkend="NMIP4Route">NMIP4Route</link> *route,
                                                         <link linkend="guint32">guint32</link> dest);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>route</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>dest</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-route-get-prefix" role="function"/>nm_ip4_route_get_prefix ()</title>
<indexterm><primary>nm_ip4_route_get_prefix</primary></indexterm><programlisting><link linkend="guint32">guint32</link>             nm_ip4_route_get_prefix             (<link linkend="NMIP4Route">NMIP4Route</link> *route);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>route</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-route-set-prefix" role="function"/>nm_ip4_route_set_prefix ()</title>
<indexterm><primary>nm_ip4_route_set_prefix</primary></indexterm><programlisting><link linkend="void">void</link>                nm_ip4_route_set_prefix             (<link linkend="NMIP4Route">NMIP4Route</link> *route,
                                                         <link linkend="guint32">guint32</link> prefix);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>route</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>prefix</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-route-get-next-hop" role="function"/>nm_ip4_route_get_next_hop ()</title>
<indexterm><primary>nm_ip4_route_get_next_hop</primary></indexterm><programlisting><link linkend="guint32">guint32</link>             nm_ip4_route_get_next_hop           (<link linkend="NMIP4Route">NMIP4Route</link> *route);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>route</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-route-set-next-hop" role="function"/>nm_ip4_route_set_next_hop ()</title>
<indexterm><primary>nm_ip4_route_set_next_hop</primary></indexterm><programlisting><link linkend="void">void</link>                nm_ip4_route_set_next_hop           (<link linkend="NMIP4Route">NMIP4Route</link> *route,
                                                         <link linkend="guint32">guint32</link> next_hop);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>route</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>next_hop</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-route-get-metric" role="function"/>nm_ip4_route_get_metric ()</title>
<indexterm><primary>nm_ip4_route_get_metric</primary></indexterm><programlisting><link linkend="guint32">guint32</link>             nm_ip4_route_get_metric             (<link linkend="NMIP4Route">NMIP4Route</link> *route);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>route</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-ip4-route-set-metric" role="function"/>nm_ip4_route_set_metric ()</title>
<indexterm><primary>nm_ip4_route_set_metric</primary></indexterm><programlisting><link linkend="void">void</link>                nm_ip4_route_set_metric             (<link linkend="NMIP4Route">NMIP4Route</link> *route,
                                                         <link linkend="guint32">guint32</link> metric);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>route</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>metric</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="NMSettingIP4Config-struct" role="struct"/>NMSettingIP4Config</title>
<indexterm><primary>NMSettingIP4Config</primary></indexterm><programlisting>typedef struct _NMSettingIP4Config NMSettingIP4Config;</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-get-type" role="function"/>nm_setting_ip4_config_get_type ()</title>
<indexterm><primary>nm_setting_ip4_config_get_type</primary></indexterm><programlisting><link linkend="GType">GType</link>               nm_setting_ip4_config_get_type      (void);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-new" role="function"/>nm_setting_ip4_config_new ()</title>
<indexterm><primary>nm_setting_ip4_config_new</primary></indexterm><programlisting><link linkend="NMSetting">NMSetting</link>*          nm_setting_ip4_config_new           (void);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-get-method" role="function"/>nm_setting_ip4_config_get_method ()</title>
<indexterm><primary>nm_setting_ip4_config_get_method</primary></indexterm><programlisting>const <link linkend="char">char</link>*         nm_setting_ip4_config_get_method    (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-get-num-dns" role="function"/>nm_setting_ip4_config_get_num_dns ()</title>
<indexterm><primary>nm_setting_ip4_config_get_num_dns</primary></indexterm><programlisting><link linkend="guint32">guint32</link>             nm_setting_ip4_config_get_num_dns   (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-get-dns" role="function"/>nm_setting_ip4_config_get_dns ()</title>
<indexterm><primary>nm_setting_ip4_config_get_dns</primary></indexterm><programlisting><link linkend="guint32">guint32</link>             nm_setting_ip4_config_get_dns       (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="guint32">guint32</link> i);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>i</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-add-dns" role="function"/>nm_setting_ip4_config_add_dns ()</title>
<indexterm><primary>nm_setting_ip4_config_add_dns</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            nm_setting_ip4_config_add_dns       (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="guint32">guint32</link> dns);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>dns</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-remove-dns" role="function"/>nm_setting_ip4_config_remove_dns ()</title>
<indexterm><primary>nm_setting_ip4_config_remove_dns</primary></indexterm><programlisting><link linkend="void">void</link>                nm_setting_ip4_config_remove_dns    (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="guint32">guint32</link> i);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>i</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-clear-dns" role="function"/>nm_setting_ip4_config_clear_dns ()</title>
<indexterm><primary>nm_setting_ip4_config_clear_dns</primary></indexterm><programlisting><link linkend="void">void</link>                nm_setting_ip4_config_clear_dns     (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-get-num-dns-searches" role="function"/>nm_setting_ip4_config_get_num_dns_searches ()</title>
<indexterm><primary>nm_setting_ip4_config_get_num_dns_searches</primary></indexterm><programlisting><link linkend="guint32">guint32</link>             nm_setting_ip4_config_get_num_dns_searches
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-get-dns-search" role="function"/>nm_setting_ip4_config_get_dns_search ()</title>
<indexterm><primary>nm_setting_ip4_config_get_dns_search</primary></indexterm><programlisting>const <link linkend="char">char</link>*         nm_setting_ip4_config_get_dns_search
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="guint32">guint32</link> i);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>i</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-add-dns-search" role="function"/>nm_setting_ip4_config_add_dns_search ()</title>
<indexterm><primary>nm_setting_ip4_config_add_dns_search</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            nm_setting_ip4_config_add_dns_search
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         const <link linkend="char">char</link> *dns_search);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>dns_search</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-remove-dns-search" role="function"/>nm_setting_ip4_config_remove_dns_search ()</title>
<indexterm><primary>nm_setting_ip4_config_remove_dns_search</primary></indexterm><programlisting><link linkend="void">void</link>                nm_setting_ip4_config_remove_dns_search
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="guint32">guint32</link> i);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>i</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-clear-dns-searches" role="function"/>nm_setting_ip4_config_clear_dns_searches ()</title>
<indexterm><primary>nm_setting_ip4_config_clear_dns_searches</primary></indexterm><programlisting><link linkend="void">void</link>                nm_setting_ip4_config_clear_dns_searches
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-get-num-addresses" role="function"/>nm_setting_ip4_config_get_num_addresses ()</title>
<indexterm><primary>nm_setting_ip4_config_get_num_addresses</primary></indexterm><programlisting><link linkend="guint32">guint32</link>             nm_setting_ip4_config_get_num_addresses
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-get-address" role="function"/>nm_setting_ip4_config_get_address ()</title>
<indexterm><primary>nm_setting_ip4_config_get_address</primary></indexterm><programlisting><link linkend="NMIP4Address">NMIP4Address</link>*       nm_setting_ip4_config_get_address   (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="guint32">guint32</link> i);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>i</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-add-address" role="function"/>nm_setting_ip4_config_add_address ()</title>
<indexterm><primary>nm_setting_ip4_config_add_address</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            nm_setting_ip4_config_add_address   (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="NMIP4Address">NMIP4Address</link> *address);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>address</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-remove-address" role="function"/>nm_setting_ip4_config_remove_address ()</title>
<indexterm><primary>nm_setting_ip4_config_remove_address</primary></indexterm><programlisting><link linkend="void">void</link>                nm_setting_ip4_config_remove_address
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="guint32">guint32</link> i);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>i</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-clear-addresses" role="function"/>nm_setting_ip4_config_clear_addresses ()</title>
<indexterm><primary>nm_setting_ip4_config_clear_addresses</primary></indexterm><programlisting><link linkend="void">void</link>                nm_setting_ip4_config_clear_addresses
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-get-num-routes" role="function"/>nm_setting_ip4_config_get_num_routes ()</title>
<indexterm><primary>nm_setting_ip4_config_get_num_routes</primary></indexterm><programlisting><link linkend="guint32">guint32</link>             nm_setting_ip4_config_get_num_routes
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-get-route" role="function"/>nm_setting_ip4_config_get_route ()</title>
<indexterm><primary>nm_setting_ip4_config_get_route</primary></indexterm><programlisting><link linkend="NMIP4Route">NMIP4Route</link>*         nm_setting_ip4_config_get_route     (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="guint32">guint32</link> i);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>i</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-add-route" role="function"/>nm_setting_ip4_config_add_route ()</title>
<indexterm><primary>nm_setting_ip4_config_add_route</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            nm_setting_ip4_config_add_route     (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="NMIP4Route">NMIP4Route</link> *route);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>route</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-remove-route" role="function"/>nm_setting_ip4_config_remove_route ()</title>
<indexterm><primary>nm_setting_ip4_config_remove_route</primary></indexterm><programlisting><link linkend="void">void</link>                nm_setting_ip4_config_remove_route  (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting,
                                                         <link linkend="guint32">guint32</link> i);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>i</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-clear-routes" role="function"/>nm_setting_ip4_config_clear_routes ()</title>
<indexterm><primary>nm_setting_ip4_config_clear_routes</primary></indexterm><programlisting><link linkend="void">void</link>                nm_setting_ip4_config_clear_routes  (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-get-ignore-auto-routes" role="function"/>nm_setting_ip4_config_get_ignore_auto_routes ()</title>
<indexterm><primary>nm_setting_ip4_config_get_ignore_auto_routes</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            nm_setting_ip4_config_get_ignore_auto_routes
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-get-ignore-auto-dns" role="function"/>nm_setting_ip4_config_get_ignore_auto_dns ()</title>
<indexterm><primary>nm_setting_ip4_config_get_ignore_auto_dns</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            nm_setting_ip4_config_get_ignore_auto_dns
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-get-dhcp-client-id" role="function"/>nm_setting_ip4_config_get_dhcp_client_id ()</title>
<indexterm><primary>nm_setting_ip4_config_get_dhcp_client_id</primary></indexterm><programlisting>const <link linkend="char">char</link>*         nm_setting_ip4_config_get_dhcp_client_id
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-get-dhcp-hostname" role="function"/>nm_setting_ip4_config_get_dhcp_hostname ()</title>
<indexterm><primary>nm_setting_ip4_config_get_dhcp_hostname</primary></indexterm><programlisting>const <link linkend="char">char</link>*         nm_setting_ip4_config_get_dhcp_hostname
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="nm-setting-ip4-config-get-never-default" role="function"/>nm_setting_ip4_config_get_never_default ()</title>
<indexterm><primary>nm_setting_ip4_config_get_never_default</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            nm_setting_ip4_config_get_never_default
                                                        (<link linkend="NMSettingIP4Config">NMSettingIP4Config</link> *setting);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>
<refsect1 role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2><title><anchor id="NMSettingIP4Config--dhcp-client-id"/>The <literal>&quot;dhcp-client-id&quot;</literal> property</title>
<indexterm><primary>NMSettingIP4Config:dhcp-client-id</primary></indexterm><programlisting>  &quot;dhcp-client-id&quot;           <link linkend="gchararray">gchararray</link>            : Read / Write</programlisting>
<para>DHCP Client ID.</para><para>Default value: NULL</para>
</refsect2>
<refsect2><title><anchor id="NMSettingIP4Config--dhcp-hostname"/>The <literal>&quot;dhcp-hostname&quot;</literal> property</title>
<indexterm><primary>NMSettingIP4Config:dhcp-hostname</primary></indexterm><programlisting>  &quot;dhcp-hostname&quot;            <link linkend="gchararray">gchararray</link>            : Read / Write</programlisting>
<para>DHCP Hostname.</para><para>Default value: NULL</para>
</refsect2>
<refsect2><title><anchor id="NMSettingIP4Config--ignore-auto-dns"/>The <literal>&quot;ignore-auto-dns&quot;</literal> property</title>
<indexterm><primary>NMSettingIP4Config:ignore-auto-dns</primary></indexterm><programlisting>  &quot;ignore-auto-dns&quot;          <link linkend="gboolean">gboolean</link>              : Read / Write / Construct</programlisting>
<para>Ignore automatic DNS.</para><para>Default value: FALSE</para>
</refsect2>
<refsect2><title><anchor id="NMSettingIP4Config--ignore-auto-routes"/>The <literal>&quot;ignore-auto-routes&quot;</literal> property</title>
<indexterm><primary>NMSettingIP4Config:ignore-auto-routes</primary></indexterm><programlisting>  &quot;ignore-auto-routes&quot;       <link linkend="gboolean">gboolean</link>              : Read / Write / Construct</programlisting>
<para>Ignore automatic routes.</para><para>Default value: FALSE</para>
</refsect2>
<refsect2><title><anchor id="NMSettingIP4Config--method"/>The <literal>&quot;method&quot;</literal> property</title>
<indexterm><primary>NMSettingIP4Config:method</primary></indexterm><programlisting>  &quot;method&quot;                   <link linkend="gchararray">gchararray</link>            : Read / Write</programlisting>
<para>IP configuration method.</para><para>Default value: NULL</para>
</refsect2>
<refsect2><title><anchor id="NMSettingIP4Config--never-default"/>The <literal>&quot;never-default&quot;</literal> property</title>
<indexterm><primary>NMSettingIP4Config:never-default</primary></indexterm><programlisting>  &quot;never-default&quot;            <link linkend="gboolean">gboolean</link>              : Read / Write / Construct</programlisting>
<para>Never make this connection the default IPv4 connection.</para><para>Default value: FALSE</para>
</refsect2>

</refsect1>





<refsect1><refsect2 /><refsect2 /></refsect1>
</refentry>
