Class Attribute Access | |
int | rtnl_class_dsmark_set_bitmask (struct rtnl_class *class, uint8_t mask) |
Set bitmask of DSMARK class. More... | |
int | rtnl_class_dsmark_get_bitmask (struct rtnl_class *class) |
Get bitmask of DSMARK class. More... | |
int | rtnl_class_dsmark_set_value (struct rtnl_class *class, uint8_t value) |
Set value of DSMARK class. More... | |
int | rtnl_class_dsmark_get_value (struct rtnl_class *class) |
Get value of DSMARK class. More... | |
Qdisc Attribute Access | |
int | rtnl_qdisc_dsmark_set_indices (struct rtnl_qdisc *qdisc, uint16_t indices) |
Set indices of DSMARK qdisc. More... | |
int | rtnl_qdisc_dsmark_get_indices (struct rtnl_qdisc *qdisc) |
Get indices of DSMARK qdisc. More... | |
int | rtnl_qdisc_dsmark_set_default_index (struct rtnl_qdisc *qdisc, uint16_t default_index) |
Set default index of DSMARK qdisc. More... | |
int | rtnl_qdisc_dsmark_get_default_index (struct rtnl_qdisc *qdisc) |
Get default index of DSMARK qdisc. More... | |
int | rtnl_qdisc_dsmark_set_set_tc_index (struct rtnl_qdisc *qdisc, int flag) |
Set set-tc-index flag of DSMARK qdisc. More... | |
int | rtnl_qdisc_dsmark_get_set_tc_index (struct rtnl_qdisc *qdisc) |
Get set-tc-index flag of DSMARK qdisc. More... | |
int rtnl_class_dsmark_get_bitmask | ( | struct rtnl_class * | class | ) |
Get bitmask of DSMARK class.
References rtnl_dsmark_class::cdm_bmask, rtnl_dsmark_class::cdm_mask, and NLE_NOATTR.
int rtnl_class_dsmark_get_value | ( | struct rtnl_class * | class | ) |
Get value of DSMARK class.
References rtnl_dsmark_class::cdm_mask, rtnl_dsmark_class::cdm_value, and NLE_NOATTR.
int rtnl_class_dsmark_set_bitmask | ( | struct rtnl_class * | class, |
uint8_t | mask | ||
) |
Set bitmask of DSMARK class.
References rtnl_dsmark_class::cdm_bmask, rtnl_dsmark_class::cdm_mask, mask, and NLE_NOMEM.
int rtnl_class_dsmark_set_value | ( | struct rtnl_class * | class, |
uint8_t | value | ||
) |
Set value of DSMARK class.
References rtnl_dsmark_class::cdm_mask, rtnl_dsmark_class::cdm_value, NLE_NOMEM, and value.
int rtnl_qdisc_dsmark_get_default_index | ( | struct rtnl_qdisc * | qdisc | ) |
Get default index of DSMARK qdisc.
References NLE_NOATTR, rtnl_dsmark_qdisc::qdm_default_index, and rtnl_dsmark_qdisc::qdm_mask.
int rtnl_qdisc_dsmark_get_indices | ( | struct rtnl_qdisc * | qdisc | ) |
Get indices of DSMARK qdisc.
References NLE_NOATTR, rtnl_dsmark_qdisc::qdm_indices, and rtnl_dsmark_qdisc::qdm_mask.
int rtnl_qdisc_dsmark_get_set_tc_index | ( | struct rtnl_qdisc * | qdisc | ) |
Get set-tc-index flag of DSMARK qdisc.
References NLE_NOATTR, rtnl_dsmark_qdisc::qdm_mask, and rtnl_dsmark_qdisc::qdm_set_tc_index.
int rtnl_qdisc_dsmark_set_default_index | ( | struct rtnl_qdisc * | qdisc, |
uint16_t | default_index | ||
) |
Set default index of DSMARK qdisc.
References NLE_NOMEM, rtnl_dsmark_qdisc::qdm_default_index, and rtnl_dsmark_qdisc::qdm_mask.
int rtnl_qdisc_dsmark_set_indices | ( | struct rtnl_qdisc * | qdisc, |
uint16_t | indices | ||
) |
Set indices of DSMARK qdisc.
References NLE_NOMEM, rtnl_dsmark_qdisc::qdm_indices, and rtnl_dsmark_qdisc::qdm_mask.
int rtnl_qdisc_dsmark_set_set_tc_index | ( | struct rtnl_qdisc * | qdisc, |
int | flag | ||
) |
Set set-tc-index flag of DSMARK qdisc.
References NLE_NOMEM, rtnl_dsmark_qdisc::qdm_mask, and rtnl_dsmark_qdisc::qdm_set_tc_index.