NMSettingBridge: libnm Reference Manual

## NMSettingBridge NMSettingBridge |

## Functions

NMSetting * | nm_setting_bridge_new ()
const char * | nm_setting_bridge_get_mac_address ()
gboolean | nm_setting_bridge_get_stp ()
guint16 | nm_setting_bridge_get_priority ()
guint16 | nm_setting_bridge_get_forward_delay ()
guint16 | nm_setting_bridge_get_hello_time ()
guint16 | nm_setting_bridge_get_max_age ()
guint32 | nm_setting_bridge_get_ageing_time ()
guint16 | nm_setting_bridge_get_group_forward_mask ()
gboolean | nm_setting_bridge_get_multicast_snooping ()
gboolean | nm_setting_bridge_get_vlan_filtering ()
guint16 | nm_setting_bridge_get_vlan_default_pvid ()
void | nm_setting_bridge_add_vlan ()
guint | nm_setting_bridge_get_num_vlans ()
NMBridgeVlan * | nm_setting_bridge_get_vlan ()
void | nm_setting_bridge_remove_vlan ()
gboolean | nm_setting_bridge_remove_vlan_by_vid ()
void | nm_setting_bridge_clear_vlans ()
NMBridgeVlan * | nm_bridge_vlan_new ()
NMBridgeVlan * | nm_bridge_vlan_ref ()
void | nm_bridge_vlan_unref ()
NMBridgeVlan * | nm_bridge_vlan_new_clone ()
int | nm_bridge_vlan_cmp ()
void | nm_bridge_vlan_seal ()
gboolean | nm_bridge_vlan_is_sealed ()
void | nm_bridge_vlan_set_untagged ()
void | nm_bridge_vlan_set_pvid ()
gboolean | nm_bridge_vlan_get_vid_range ()
gboolean | nm_bridge_vlan_is_untagged ()
gboolean | nm_bridge_vlan_is_pvid ()
char * | nm_bridge_vlan_to_str ()
NMBridgeVlan * | nm_bridge_vlan_from_str ()
const char * | nm_setting_bridge_get_group_address ()
const char * | nm_setting_bridge_get_vlan_protocol ()
gboolean | nm_setting_bridge_get_vlan_stats_enabled ()
const char * | nm_setting_bridge_get_multicast_router ()
gboolean | nm_setting_bridge_get_multicast_query_use_ifaddr ()
gboolean | nm_setting_bridge_get_multicast_querier ()
guint32 | nm_setting_bridge_get_multicast_hash_max ()
guint32 | nm_setting_bridge_get_multicast_last_member_count ()
guint64 | nm_setting_bridge_get_multicast_last_member_interval ()
guint64 | nm_setting_bridge_get_multicast_membership_interval ()
guint64 | nm_setting_bridge_get_multicast_querier_interval ()
guint64 | nm_setting_bridge_get_multicast_query_interval ()
guint64 | nm_setting_bridge_get_multicast_query_response_interval ()
guint32 | nm_setting_bridge_get_multicast_startup_query_count ()
guint64 | nm_setting_bridge_get_multicast_startup_query_interval ()

## Types and Values

#define | NM_SETTING_BRIDGE_SETTING_NAME
#define | NM_SETTING_BRIDGE_MAC_ADDRESS
#define | NM_SETTING_BRIDGE_STP
#define | NM_SETTING_BRIDGE_PRIORITY
#define | NM_SETTING_BRIDGE_FORWARD_DELAY
#define | NM_SETTING_BRIDGE_HELLO_TIME
#define | NM_SETTING_BRIDGE_MAX_AGE
#define | NM_SETTING_BRIDGE_AGEING_TIME
#define | NM_SETTING_BRIDGE_GROUP_FORWARD_MASK
#define | NM_SETTING_BRIDGE_MULTICAST_HASH_MAX
#define | NM_SETTING_BRIDGE_MULTICAST_LAST_MEMBER_COUNT
#define | NM_SETTING_BRIDGE_MULTICAST_LAST_MEMBER_INTERVAL
#define | NM_SETTING_BRIDGE_MULTICAST_MEMBERSHIP_INTERVAL
#define | NM_SETTING_BRIDGE_MULTICAST_SNOOPING
#define | NM_SETTING_BRIDGE_MULTICAST_ROUTER
#define | NM_SETTING_BRIDGE_MULTICAST_QUERIER
#define | NM_SETTING_BRIDGE_MULTICAST_QUERIER_INTERVAL
#define | NM_SETTING_BRIDGE_MULTICAST_QUERY_INTERVAL
#define | NM_SETTING_BRIDGE_MULTICAST_QUERY_RESPONSE_INTERVAL
#define | NM_SETTING_BRIDGE_MULTICAST_QUERY_USE_IFADDR
#define | NM_SETTING_BRIDGE_MULTICAST_STARTUP_QUERY_COUNT
#define | NM_SETTING_BRIDGE_MULTICAST_STARTUP_QUERY_INTERVAL
#define | NM_SETTING_BRIDGE_VLAN_FILTERING
#define | NM_SETTING_BRIDGE_VLAN_DEFAULT_PVID
#define | NM_SETTING_BRIDGE_VLANS
#define | NM_SETTING_BRIDGE_GROUP_ADDRESS
#define | NM_SETTING_BRIDGE_VLAN_PROTOCOL
#define | NM_SETTING_BRIDGE_VLAN_STATS_ENABLED
#define | NM_BRIDGE_VLAN_VID_MIN
#define | NM_BRIDGE_VLAN_VID_MAX

## Object Hierarchy

        GBoxed
        ╰── NMBridgeVlan

## Description

## Functions

### nm_setting_bridge_new ()

    NMSetting *
    nm_setting_bridge_new (void);

### nm_setting_bridge_get_mac_address ()

    const char *
    nm_setting_bridge_get_mac_address (NMSettingBridge *setting);

### nm_setting_bridge_get_stp ()

    gboolean
    nm_setting_bridge_get_stp (NMSettingBridge *setting);

### nm_setting_bridge_get_priority ()

    guint16
    nm_setting_bridge_get_priority (NMSettingBridge *setting);

### nm_setting_bridge_get_forward_delay ()

    guint16
    nm_setting_bridge_get_forward_delay (NMSettingBridge *setting);

### nm_setting_bridge_get_hello_time ()

    guint16
    nm_setting_bridge_get_hello_time (NMSettingBridge *setting);

### nm_setting_bridge_get_max_age ()

    guint16
    nm_setting_bridge_get_max_age (NMSettingBridge *setting);

### nm_setting_bridge_get_ageing_time ()

    guint32
    nm_setting_bridge_get_ageing_time (NMSettingBridge *setting);

### nm_setting_bridge_get_group_forward_mask ()

    guint16
    nm_setting_bridge_get_group_forward_mask
                                   (NMSettingBridge *setting);

### nm_setting_bridge_get_multicast_snooping ()

    gboolean
    nm_setting_bridge_get_multicast_snooping
                                   (NMSettingBridge *setting);

### nm_setting_bridge_get_vlan_filtering ()

    gboolean
    nm_setting_bridge_get_vlan_filtering (NMSettingBridge *setting);

### nm_setting_bridge_get_vlan_default_pvid ()

    guint16
    nm_setting_bridge_get_vlan_default_pvid
                                   (NMSettingBridge *setting);

### nm_setting_bridge_add_vlan ()

    void
    nm_setting_bridge_add_vlan (NMSettingBridge *setting,
                                NMBridgeVlan *vlan);

### nm_setting_bridge_get_num_vlans ()

    guint
    nm_setting_bridge_get_num_vlans (NMSettingBridge *setting);

### nm_setting_bridge_get_vlan ()

    NMBridgeVlan *
    nm_setting_bridge_get_vlan (NMSettingBridge *setting,
                                guint idx);

### nm_setting_bridge_remove_vlan ()

    void
    nm_setting_bridge_remove_vlan (NMSettingBridge *setting,
                                   guint idx);

### nm_setting_bridge_remove_vlan_by_vid ()

    gboolean
    nm_setting_bridge_remove_vlan_by_vid (NMSettingBridge *setting,
                                          guint16 vid_start,
                                          guint16 vid_end);

### nm_setting_bridge_clear_vlans ()

    void
    nm_setting_bridge_clear_vlans (NMSettingBridge *setting);

### nm_bridge_vlan_new ()

    NMBridgeVlan *
    nm_bridge_vlan_new (guint16 vid_start,
                        guint16 vid_end);

### nm_bridge_vlan_ref ()

    NMBridgeVlan *
    nm_bridge_vlan_ref (NMBridgeVlan *vlan);

### nm_bridge_vlan_unref ()

    void
    nm_bridge_vlan_unref (NMBridgeVlan *vlan);

### nm_bridge_vlan_new_clone ()

    NMBridgeVlan *
    nm_bridge_vlan_new_clone (const NMBridgeVlan *vlan);

### nm_bridge_vlan_cmp ()

    int
    nm_bridge_vlan_cmp (const NMBridgeVlan *a,
                        const NMBridgeVlan *b);

### nm_bridge_vlan_seal ()

    void
    nm_bridge_vlan_seal (NMBridgeVlan *vlan);

### nm_bridge_vlan_is_sealed ()

    gboolean
    nm_bridge_vlan_is_sealed (const NMBridgeVlan *vlan);

### nm_bridge_vlan_set_untagged ()

    void
    nm_bridge_vlan_set_untagged (NMBridgeVlan *vlan,
                                 gboolean value);

### nm_bridge_vlan_set_pvid ()

    void
    nm_bridge_vlan_set_pvid (NMBridgeVlan *vlan,
                             gboolean value);

### nm_bridge_vlan_get_vid_range ()

    gboolean
    nm_bridge_vlan_get_vid_range (const NMBridgeVlan *vlan,
                                  guint16 *vid_start,
                                  guint16 *vid_end);

### nm_bridge_vlan_is_untagged ()

    gboolean
    nm_bridge_vlan_is_untagged (const NMBridgeVlan *vlan);

### nm_bridge_vlan_is_pvid ()

    gboolean
    nm_bridge_vlan_is_pvid (const NMBridgeVlan *vlan);

### nm_bridge_vlan_to_str ()

    char *
    nm_bridge_vlan_to_str (const NMBridgeVlan *vlan,
                           GError **error);

### nm_bridge_vlan_from_str ()

    NMBridgeVlan *
    nm_bridge_vlan_from_str (const char *str,
                             GError **error);

### nm_setting_bridge_get_group_address ()

    const char *
    nm_setting_bridge_get_group_address (const NMSettingBridge *setting);

### nm_setting_bridge_get_vlan_protocol ()

    const char *
    nm_setting_bridge_get_vlan_protocol (const NMSettingBridge *setting);

### nm_setting_bridge_get_vlan_stats_enabled ()

    gboolean
    nm_setting_bridge_get_vlan_stats_enabled
                                   (const NMSettingBridge *setting);

### nm_setting_bridge_get_multicast_router ()

    const char *
    nm_setting_bridge_get_multicast_router
                                   (const NMSettingBridge *setting);

### nm_setting_bridge_get_multicast_query_use_ifaddr ()

    gboolean
    nm_setting_bridge_get_multicast_query_use_ifaddr
                                   (const NMSettingBridge *setting);

### nm_setting_bridge_get_multicast_querier ()

    gboolean
    nm_setting_bridge_get_multicast_querier
                                   (const NMSettingBridge *setting);

### nm_setting_bridge_get_multicast_hash_max ()

    guint32
    nm_setting_bridge_get_multicast_hash_max
                                   (const NMSettingBridge *setting);

### nm_setting_bridge_get_multicast_last_member_count ()

    guint32
    nm_setting_bridge_get_multicast_last_member_count
                                   (const NMSettingBridge *setting);

### nm_setting_bridge_get_multicast_last_member_interval ()

    guint64
    nm_setting_bridge_get_multicast_last_member_interval
                                   (const NMSettingBridge *setting);

### nm_setting_bridge_get_multicast_membership_interval ()

    guint64
    nm_setting_bridge_get_multicast_membership_interval
                                   (const NMSettingBridge *setting);

### nm_setting_bridge_get_multicast_querier_interval ()

    guint64
    nm_setting_bridge_get_multicast_querier_interval
                                   (const NMSettingBridge *setting);

### nm_setting_bridge_get_multicast_query_interval ()

    guint64
    nm_setting_bridge_get_multicast_query_interval
                                   (const NMSettingBridge *setting);

### nm_setting_bridge_get_multicast_query_response_interval ()

    guint64
    nm_setting_bridge_get_multicast_query_response_interval
                                   (const NMSettingBridge *setting);

### nm_setting_bridge_get_multicast_startup_query_count ()

    guint32
    nm_setting_bridge_get_multicast_startup_query_count
                                   (const NMSettingBridge *setting);

### nm_setting_bridge_get_multicast_startup_query_interval ()

    guint64
    nm_setting_bridge_get_multicast_startup_query_interval
                                   (const NMSettingBridge *setting);

## Types and Values

### NM_SETTING_BRIDGE_SETTING_NAME

    #define NM_SETTING_BRIDGE_SETTING_NAME "bridge"

### NM_SETTING_BRIDGE_MAC_ADDRESS

    #define NM_SETTING_BRIDGE_MAC_ADDRESS                       "mac-address"

### NM_SETTING_BRIDGE_STP

    #define NM_SETTING_BRIDGE_STP                               "stp"

### NM_SETTING_BRIDGE_PRIORITY

    #define NM_SETTING_BRIDGE_PRIORITY                          "priority"

### NM_SETTING_BRIDGE_FORWARD_DELAY

    #define NM_SETTING_BRIDGE_FORWARD_DELAY                     "forward-delay"

### NM_SETTING_BRIDGE_HELLO_TIME

    #define NM_SETTING_BRIDGE_HELLO_TIME                        "hello-time"

### NM_SETTING_BRIDGE_MAX_AGE

    #define NM_SETTING_BRIDGE_MAX_AGE                           "max-age"

### NM_SETTING_BRIDGE_AGEING_TIME

    #define NM_SETTING_BRIDGE_AGEING_TIME                       "ageing-time"

### NM_SETTING_BRIDGE_GROUP_FORWARD_MASK

    #define NM_SETTING_BRIDGE_GROUP_FORWARD_MASK                "group-forward-mask"

### NM_SETTING_BRIDGE_MULTICAST_HASH_MAX

    #define NM_SETTING_BRIDGE_MULTICAST_HASH_MAX                "multicast-hash-max"

### NM_SETTING_BRIDGE_MULTICAST_LAST_MEMBER_COUNT

    #define NM_SETTING_BRIDGE_MULTICAST_LAST_MEMBER_COUNT       "multicast-last-member-count"

### NM_SETTING_BRIDGE_MULTICAST_LAST_MEMBER_INTERVAL

    #define NM_SETTING_BRIDGE_MULTICAST_LAST_MEMBER_INTERVAL    "multicast-last-member-interval"

### NM_SETTING_BRIDGE_MULTICAST_MEMBERSHIP_INTERVAL

    #define NM_SETTING_BRIDGE_MULTICAST_MEMBERSHIP_INTERVAL     "multicast-membership-interval"

### NM_SETTING_BRIDGE_MULTICAST_SNOOPING

    #define NM_SETTING_BRIDGE_MULTICAST_SNOOPING                "multicast-snooping"

### NM_SETTING_BRIDGE_MULTICAST_ROUTER

    #define NM_SETTING_BRIDGE_MULTICAST_ROUTER                  "multicast-router"

### NM_SETTING_BRIDGE_MULTICAST_QUERIER

    #define NM_SETTING_BRIDGE_MULTICAST_QUERIER                 "multicast-querier"

### NM_SETTING_BRIDGE_MULTICAST_QUERIER_INTERVAL

    #define NM_SETTING_BRIDGE_MULTICAST_QUERIER_INTERVAL        "multicast-querier-interval"

### NM_SETTING_BRIDGE_MULTICAST_QUERY_INTERVAL

    #define NM_SETTING_BRIDGE_MULTICAST_QUERY_INTERVAL          "multicast-query-interval"

### NM_SETTING_BRIDGE_MULTICAST_QUERY_RESPONSE_INTERVAL

    #define NM_SETTING_BRIDGE_MULTICAST_QUERY_RESPONSE_INTERVAL "multicast-query-response-interval"

### NM_SETTING_BRIDGE_MULTICAST_QUERY_USE_IFADDR

    #define NM_SETTING_BRIDGE_MULTICAST_QUERY_USE_IFADDR        "multicast-query-use-ifaddr"

### NM_SETTING_BRIDGE_MULTICAST_STARTUP_QUERY_COUNT

    #define NM_SETTING_BRIDGE_MULTICAST_STARTUP_QUERY_COUNT     "multicast-startup-query-count"

### NM_SETTING_BRIDGE_MULTICAST_STARTUP_QUERY_INTERVAL

    #define NM_SETTING_BRIDGE_MULTICAST_STARTUP_QUERY_INTERVAL  "multicast-startup-query-interval"

### NM_SETTING_BRIDGE_VLAN_FILTERING

    #define NM_SETTING_BRIDGE_VLAN_FILTERING                    "vlan-filtering"

### NM_SETTING_BRIDGE_VLAN_DEFAULT_PVID

    #define NM_SETTING_BRIDGE_VLAN_DEFAULT_PVID                 "vlan-default-pvid"

### NM_SETTING_BRIDGE_VLANS

    #define NM_SETTING_BRIDGE_VLANS                             "vlans"

### NM_SETTING_BRIDGE_GROUP_ADDRESS

    #define NM_SETTING_BRIDGE_GROUP_ADDRESS                     "group-address"

### NM_SETTING_BRIDGE_VLAN_PROTOCOL

    #define NM_SETTING_BRIDGE_VLAN_PROTOCOL                     "vlan-protocol"

### NM_SETTING_BRIDGE_VLAN_STATS_ENABLED

    #define NM_SETTING_BRIDGE_VLAN_STATS_ENABLED                "vlan-stats-enabled"

### NM_BRIDGE_VLAN_VID_MIN

    #define NM_BRIDGE_VLAN_VID_MIN 1

### NM_BRIDGE_VLAN_VID_MAX

    #define NM_BRIDGE_VLAN_VID_MAX 4094