NMSettingBond: libnm Reference Manual

## NMSettingBond NMSettingBond |

## Functions

NMSetting * | nm_setting_bond_new ()
guint32 | nm_setting_bond_get_num_options ()
gboolean | nm_setting_bond_get_option ()
const char * | nm_setting_bond_get_option_by_name ()
gboolean | nm_setting_bond_add_option ()
gboolean | nm_setting_bond_remove_option ()
gboolean | nm_setting_bond_validate_option ()
const char ** | nm_setting_bond_get_valid_options ()
const char * | nm_setting_bond_get_option_default ()
const char * | nm_setting_bond_get_option_normalized ()

## Types and Values

#define | NM_SETTING_BOND_SETTING_NAME
#define | NM_SETTING_BOND_OPTIONS
#define | NM_SETTING_BOND_OPTION_MODE
#define | NM_SETTING_BOND_OPTION_MIIMON
#define | NM_SETTING_BOND_OPTION_DOWNDELAY
#define | NM_SETTING_BOND_OPTION_UPDELAY
#define | NM_SETTING_BOND_OPTION_ARP_INTERVAL
#define | NM_SETTING_BOND_OPTION_ARP_IP_TARGET
#define | NM_SETTING_BOND_OPTION_ARP_VALIDATE
#define | NM_SETTING_BOND_OPTION_PRIMARY
#define | NM_SETTING_BOND_OPTION_BALANCE_SLB
#define | NM_SETTING_BOND_OPTION_PRIMARY_RESELECT
#define | NM_SETTING_BOND_OPTION_FAIL_OVER_MAC
#define | NM_SETTING_BOND_OPTION_USE_CARRIER
#define | NM_SETTING_BOND_OPTION_AD_SELECT
#define | NM_SETTING_BOND_OPTION_XMIT_HASH_POLICY
#define | NM_SETTING_BOND_OPTION_RESEND_IGMP
#define | NM_SETTING_BOND_OPTION_LACP_RATE
#define | NM_SETTING_BOND_OPTION_ACTIVE_SLAVE
#define | NM_SETTING_BOND_OPTION_AD_ACTOR_SYS_PRIO
#define | NM_SETTING_BOND_OPTION_AD_ACTOR_SYSTEM
#define | NM_SETTING_BOND_OPTION_AD_USER_PORT_KEY
#define | NM_SETTING_BOND_OPTION_ALL_SLAVES_ACTIVE
#define | NM_SETTING_BOND_OPTION_ARP_ALL_TARGETS
#define | NM_SETTING_BOND_OPTION_MIN_LINKS
#define | NM_SETTING_BOND_OPTION_NUM_GRAT_ARP
#define | NM_SETTING_BOND_OPTION_NUM_UNSOL_NA
#define | NM_SETTING_BOND_OPTION_PACKETS_PER_SLAVE
#define | NM_SETTING_BOND_OPTION_TLB_DYNAMIC_LB
#define | NM_SETTING_BOND_OPTION_LP_INTERVAL
#define | NM_SETTING_BOND_OPTION_PEER_NOTIF_DELAY

## Description

## Functions

### nm_setting_bond_new ()

    NMSetting *
    nm_setting_bond_new (void);

### nm_setting_bond_get_num_options ()

    guint32
    nm_setting_bond_get_num_options (NMSettingBond *setting);

### nm_setting_bond_get_option ()

    gboolean
    nm_setting_bond_get_option (NMSettingBond *setting,
                                guint32 idx,
                                const char **out_name,
                                const char **out_value);

### nm_setting_bond_get_option_by_name ()

    const char *
    nm_setting_bond_get_option_by_name (NMSettingBond *setting,
                                        const char *name);

### nm_setting_bond_add_option ()

    gboolean
    nm_setting_bond_add_option (NMSettingBond *setting,
                                const char *name,
                                const char *value);

### nm_setting_bond_remove_option ()

    gboolean
    nm_setting_bond_remove_option (NMSettingBond *setting,
                                   const char *name);

### nm_setting_bond_validate_option ()

    gboolean
    nm_setting_bond_validate_option (const char *name,
                                     const char *value);

### nm_setting_bond_get_valid_options ()

    const char **
    nm_setting_bond_get_valid_options (NMSettingBond *setting);

### nm_setting_bond_get_option_default ()

    const char *
    nm_setting_bond_get_option_default (NMSettingBond *setting,
                                        const char *name);

### nm_setting_bond_get_option_normalized ()

    const char *
    nm_setting_bond_get_option_normalized (NMSettingBond *setting,
                                           const char *name);

## Types and Values

### NM_SETTING_BOND_SETTING_NAME

    #define NM_SETTING_BOND_SETTING_NAME "bond"

### NM_SETTING_BOND_OPTIONS

    #define NM_SETTING_BOND_OPTIONS "options"

### NM_SETTING_BOND_OPTION_MODE

    #define NM_SETTING_BOND_OPTION_MODE              "mode"

### NM_SETTING_BOND_OPTION_MIIMON

    #define NM_SETTING_BOND_OPTION_MIIMON            "miimon"

### NM_SETTING_BOND_OPTION_DOWNDELAY

    #define NM_SETTING_BOND_OPTION_DOWNDELAY         "downdelay"

### NM_SETTING_BOND_OPTION_UPDELAY

    #define NM_SETTING_BOND_OPTION_UPDELAY           "updelay"

### NM_SETTING_BOND_OPTION_ARP_INTERVAL

    #define NM_SETTING_BOND_OPTION_ARP_INTERVAL      "arp_interval"

### NM_SETTING_BOND_OPTION_ARP_IP_TARGET

    #define NM_SETTING_BOND_OPTION_ARP_IP_TARGET     "arp_ip_target"

### NM_SETTING_BOND_OPTION_ARP_VALIDATE

    #define NM_SETTING_BOND_OPTION_ARP_VALIDATE      "arp_validate"

### NM_SETTING_BOND_OPTION_PRIMARY

    #define NM_SETTING_BOND_OPTION_PRIMARY           "primary"

### NM_SETTING_BOND_OPTION_BALANCE_SLB

    #define NM_SETTING_BOND_OPTION_BALANCE_SLB       "balance-slb"

### NM_SETTING_BOND_OPTION_PRIMARY_RESELECT

    #define NM_SETTING_BOND_OPTION_PRIMARY_RESELECT  "primary_reselect"

### NM_SETTING_BOND_OPTION_FAIL_OVER_MAC

    #define NM_SETTING_BOND_OPTION_FAIL_OVER_MAC     "fail_over_mac"

### NM_SETTING_BOND_OPTION_USE_CARRIER

    #define NM_SETTING_BOND_OPTION_USE_CARRIER       "use_carrier"

### NM_SETTING_BOND_OPTION_AD_SELECT

    #define NM_SETTING_BOND_OPTION_AD_SELECT         "ad_select"

### NM_SETTING_BOND_OPTION_XMIT_HASH_POLICY

    #define NM_SETTING_BOND_OPTION_XMIT_HASH_POLICY  "xmit_hash_policy"

### NM_SETTING_BOND_OPTION_RESEND_IGMP

    #define NM_SETTING_BOND_OPTION_RESEND_IGMP       "resend_igmp"

### NM_SETTING_BOND_OPTION_LACP_RATE

    #define NM_SETTING_BOND_OPTION_LACP_RATE         "lacp_rate"

### NM_SETTING_BOND_OPTION_ACTIVE_SLAVE

    #define NM_SETTING_BOND_OPTION_ACTIVE_SLAVE      "active_slave"

### NM_SETTING_BOND_OPTION_AD_ACTOR_SYS_PRIO

    #define NM_SETTING_BOND_OPTION_AD_ACTOR_SYS_PRIO "ad_actor_sys_prio"

### NM_SETTING_BOND_OPTION_AD_ACTOR_SYSTEM

    #define NM_SETTING_BOND_OPTION_AD_ACTOR_SYSTEM   "ad_actor_system"

### NM_SETTING_BOND_OPTION_AD_USER_PORT_KEY

    #define NM_SETTING_BOND_OPTION_AD_USER_PORT_KEY  "ad_user_port_key"

### NM_SETTING_BOND_OPTION_ALL_SLAVES_ACTIVE

    #define NM_SETTING_BOND_OPTION_ALL_SLAVES_ACTIVE "all_slaves_active"

### NM_SETTING_BOND_OPTION_ARP_ALL_TARGETS

    #define NM_SETTING_BOND_OPTION_ARP_ALL_TARGETS   "arp_all_targets"

### NM_SETTING_BOND_OPTION_MIN_LINKS

    #define NM_SETTING_BOND_OPTION_MIN_LINKS         "min_links"

### NM_SETTING_BOND_OPTION_NUM_GRAT_ARP

    #define NM_SETTING_BOND_OPTION_NUM_GRAT_ARP      "num_grat_arp"

### NM_SETTING_BOND_OPTION_NUM_UNSOL_NA

    #define NM_SETTING_BOND_OPTION_NUM_UNSOL_NA      "num_unsol_na"

### NM_SETTING_BOND_OPTION_PACKETS_PER_SLAVE

    #define NM_SETTING_BOND_OPTION_PACKETS_PER_SLAVE "packets_per_slave"

### NM_SETTING_BOND_OPTION_TLB_DYNAMIC_LB

    #define NM_SETTING_BOND_OPTION_TLB_DYNAMIC_LB    "tlb_dynamic_lb"

### NM_SETTING_BOND_OPTION_LP_INTERVAL

    #define NM_SETTING_BOND_OPTION_LP_INTERVAL       "lp_interval"

### NM_SETTING_BOND_OPTION_PEER_NOTIF_DELAY

    #define NM_SETTING_BOND_OPTION_PEER_NOTIF_DELAY  "peer_notif_delay"