NMSettingTCConfig: libnm Reference Manual

## NMSettingTCConfig NMSettingTCConfig |

## Functions

NMTCQdisc * | nm_tc_qdisc_new ()
void | nm_tc_qdisc_ref ()
void | nm_tc_qdisc_unref ()
gboolean | nm_tc_qdisc_equal ()
NMTCQdisc * | nm_tc_qdisc_dup ()
const char * | nm_tc_qdisc_get_kind ()
guint32 | nm_tc_qdisc_get_handle ()
void | nm_tc_qdisc_set_handle ()
guint32 | nm_tc_qdisc_get_parent ()
const char ** | nm_tc_qdisc_get_attribute_names ()
GVariant * | nm_tc_qdisc_get_attribute ()
void | nm_tc_qdisc_set_attribute ()
NMTCAction * | nm_tc_action_new ()
void | nm_tc_action_ref ()
void | nm_tc_action_unref ()
gboolean | nm_tc_action_equal ()
NMTCAction * | nm_tc_action_dup ()
const char * | nm_tc_action_get_kind ()
char ** | nm_tc_action_get_attribute_names ()
GVariant * | nm_tc_action_get_attribute ()
void | nm_tc_action_set_attribute ()
NMTCTfilter * | nm_tc_tfilter_new ()
void | nm_tc_tfilter_ref ()
void | nm_tc_tfilter_unref ()
gboolean | nm_tc_tfilter_equal ()
NMTCTfilter * | nm_tc_tfilter_dup ()
const char * | nm_tc_tfilter_get_kind ()
guint32 | nm_tc_tfilter_get_handle ()
void | nm_tc_tfilter_set_handle ()
guint32 | nm_tc_tfilter_get_parent ()
NMTCAction * | nm_tc_tfilter_get_action ()
void | nm_tc_tfilter_set_action ()
NMSetting * | nm_setting_tc_config_new ()
guint | nm_setting_tc_config_get_num_qdiscs ()
NMTCQdisc * | nm_setting_tc_config_get_qdisc ()
gboolean | nm_setting_tc_config_add_qdisc ()
void | nm_setting_tc_config_remove_qdisc ()
gboolean | nm_setting_tc_config_remove_qdisc_by_value ()
void | nm_setting_tc_config_clear_qdiscs ()
guint | nm_setting_tc_config_get_num_tfilters ()
NMTCTfilter * | nm_setting_tc_config_get_tfilter ()
gboolean | nm_setting_tc_config_add_tfilter ()
void | nm_setting_tc_config_remove_tfilter ()
gboolean | nm_setting_tc_config_remove_tfilter_by_value ()
void | nm_setting_tc_config_clear_tfilters ()

## Types and Values

#define | NM_SETTING_TC_CONFIG_SETTING_NAME
#define | NM_SETTING_TC_CONFIG_QDISCS
#define | NM_SETTING_TC_CONFIG_TFILTERS

## Object Hierarchy

        GBoxed
        ├── NMTCAction
        ├── NMTCQdisc
        ╰── NMTCTfilter

## Description

## Functions

### nm_tc_qdisc_new ()

    NMTCQdisc *
    nm_tc_qdisc_new (const char *kind,
                     guint32 parent,
                     GError **error);

### nm_tc_qdisc_ref ()

    void
    nm_tc_qdisc_ref (NMTCQdisc *qdisc);

### nm_tc_qdisc_unref ()

    void
    nm_tc_qdisc_unref (NMTCQdisc *qdisc);

### nm_tc_qdisc_equal ()

    gboolean
    nm_tc_qdisc_equal (NMTCQdisc *qdisc,
                       NMTCQdisc *other);

### nm_tc_qdisc_dup ()

    NMTCQdisc *
    nm_tc_qdisc_dup (NMTCQdisc *qdisc);

### nm_tc_qdisc_get_kind ()

    const char *
    nm_tc_qdisc_get_kind (NMTCQdisc *qdisc);

### nm_tc_qdisc_get_handle ()

    guint32
    nm_tc_qdisc_get_handle (NMTCQdisc *qdisc);

### nm_tc_qdisc_set_handle ()

    void
    nm_tc_qdisc_set_handle (NMTCQdisc *qdisc,
                            guint32 handle);

### nm_tc_qdisc_get_parent ()

    guint32
    nm_tc_qdisc_get_parent (NMTCQdisc *qdisc);

### nm_tc_qdisc_get_attribute_names ()

    const char **
    nm_tc_qdisc_get_attribute_names (NMTCQdisc *qdisc);

### nm_tc_qdisc_get_attribute ()

    GVariant *
    nm_tc_qdisc_get_attribute (NMTCQdisc *qdisc,
                               const char *name);

### nm_tc_qdisc_set_attribute ()

    void
    nm_tc_qdisc_set_attribute (NMTCQdisc *qdisc,
                               const char *name,
                               GVariant *value);

### nm_tc_action_new ()

    NMTCAction *
    nm_tc_action_new (const char *kind,
                      GError **error);

### nm_tc_action_ref ()

    void
    nm_tc_action_ref (NMTCAction *action);

### nm_tc_action_unref ()

    void
    nm_tc_action_unref (NMTCAction *action);

### nm_tc_action_equal ()

    gboolean
    nm_tc_action_equal (NMTCAction *action,
                        NMTCAction *other);

### nm_tc_action_dup ()

    NMTCAction *
    nm_tc_action_dup (NMTCAction *action);

### nm_tc_action_get_kind ()

    const char *
    nm_tc_action_get_kind (NMTCAction *action);

### nm_tc_action_get_attribute_names ()

    char **
    nm_tc_action_get_attribute_names (NMTCAction *action);

### nm_tc_action_get_attribute ()

    GVariant *
    nm_tc_action_get_attribute (NMTCAction *action,
                                const char *name);

### nm_tc_action_set_attribute ()

    void
    nm_tc_action_set_attribute (NMTCAction *action,
                                const char *name,
                                GVariant *value);

### nm_tc_tfilter_new ()

    NMTCTfilter *
    nm_tc_tfilter_new (const char *kind,
                       guint32 parent,
                       GError **error);

### nm_tc_tfilter_ref ()

    void
    nm_tc_tfilter_ref (NMTCTfilter *tfilter);

### nm_tc_tfilter_unref ()

    void
    nm_tc_tfilter_unref (NMTCTfilter *tfilter);

### nm_tc_tfilter_equal ()

    gboolean
    nm_tc_tfilter_equal (NMTCTfilter *tfilter,
                         NMTCTfilter *other);

### nm_tc_tfilter_dup ()

    NMTCTfilter *
    nm_tc_tfilter_dup (NMTCTfilter *tfilter);

### nm_tc_tfilter_get_kind ()

    const char *
    nm_tc_tfilter_get_kind (NMTCTfilter *tfilter);

### nm_tc_tfilter_get_handle ()

    guint32
    nm_tc_tfilter_get_handle (NMTCTfilter *tfilter);

### nm_tc_tfilter_set_handle ()

    void
    nm_tc_tfilter_set_handle (NMTCTfilter *tfilter,
                              guint32 handle);

### nm_tc_tfilter_get_parent ()

    guint32
    nm_tc_tfilter_get_parent (NMTCTfilter *tfilter);

### nm_tc_tfilter_get_action ()

    NMTCAction *
    nm_tc_tfilter_get_action (NMTCTfilter *tfilter);

### nm_tc_tfilter_set_action ()

    void
    nm_tc_tfilter_set_action (NMTCTfilter *tfilter,
                              NMTCAction *action);

### nm_setting_tc_config_new ()

    NMSetting *
    nm_setting_tc_config_new (void);

### nm_setting_tc_config_get_num_qdiscs ()

    guint
    nm_setting_tc_config_get_num_qdiscs (NMSettingTCConfig *setting);

### nm_setting_tc_config_get_qdisc ()

    NMTCQdisc *
    nm_setting_tc_config_get_qdisc (NMSettingTCConfig *setting,
                                    guint idx);

### nm_setting_tc_config_add_qdisc ()

    gboolean
    nm_setting_tc_config_add_qdisc (NMSettingTCConfig *setting,
                                    NMTCQdisc *qdisc);

### nm_setting_tc_config_remove_qdisc ()

    void
    nm_setting_tc_config_remove_qdisc (NMSettingTCConfig *setting,
                                       guint idx);

### nm_setting_tc_config_remove_qdisc_by_value ()

    gboolean
    nm_setting_tc_config_remove_qdisc_by_value
                                   (NMSettingTCConfig *setting,
                                    NMTCQdisc *qdisc);

### nm_setting_tc_config_clear_qdiscs ()

    void
    nm_setting_tc_config_clear_qdiscs (NMSettingTCConfig *setting);

### nm_setting_tc_config_get_num_tfilters ()

    guint
    nm_setting_tc_config_get_num_tfilters (NMSettingTCConfig *setting);

### nm_setting_tc_config_get_tfilter ()

    NMTCTfilter *
    nm_setting_tc_config_get_tfilter (NMSettingTCConfig *setting,
                                      guint idx);

### nm_setting_tc_config_add_tfilter ()

    gboolean
    nm_setting_tc_config_add_tfilter (NMSettingTCConfig *setting,
                                      NMTCTfilter *tfilter);

### nm_setting_tc_config_remove_tfilter ()

    void
    nm_setting_tc_config_remove_tfilter (NMSettingTCConfig *setting,
                                         guint idx);

### nm_setting_tc_config_remove_tfilter_by_value ()

    gboolean
    nm_setting_tc_config_remove_tfilter_by_value
                                   (NMSettingTCConfig *setting,
                                    NMTCTfilter *tfilter);

### nm_setting_tc_config_clear_tfilters ()

    void
    nm_setting_tc_config_clear_tfilters (NMSettingTCConfig *setting);

## Types and Values

### NM_SETTING_TC_CONFIG_SETTING_NAME

    #define NM_SETTING_TC_CONFIG_SETTING_NAME "tc"

### NM_SETTING_TC_CONFIG_QDISCS

    #define NM_SETTING_TC_CONFIG_QDISCS   "qdiscs"

### NM_SETTING_TC_CONFIG_TFILTERS

    #define NM_SETTING_TC_CONFIG_TFILTERS "tfilters"