libnl 3.7.0
|
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_set_bitmask | ( | struct rtnl_class * | class, |
uint8_t | mask | ||
) |
Set bitmask of DSMARK class.
class | DSMARK class to be modified. |
mask | New bitmask. |
Definition at line 185 of file dsmark.c.
References rtnl_tc_data(), and TC_CAST.
int rtnl_class_dsmark_get_bitmask | ( | struct rtnl_class * | class | ) |
Get bitmask of DSMARK class.
class | DSMARK class. |
Definition at line 203 of file dsmark.c.
References rtnl_tc_data(), and TC_CAST.
int rtnl_class_dsmark_set_value | ( | struct rtnl_class * | class, |
uint8_t | value | ||
) |
Set value of DSMARK class.
class | DSMARK class to be modified. |
value | New value. |
Definition at line 222 of file dsmark.c.
References rtnl_tc_data(), and TC_CAST.
int rtnl_class_dsmark_get_value | ( | struct rtnl_class * | class | ) |
Get value of DSMARK class.
class | DSMARK class. |
Definition at line 240 of file dsmark.c.
References rtnl_tc_data(), and TC_CAST.
int rtnl_qdisc_dsmark_set_indices | ( | struct rtnl_qdisc * | qdisc, |
uint16_t | indices | ||
) |
Set indices of DSMARK qdisc.
qdisc | DSMARK qdisc to be modified. |
indices | New indices. |
Definition at line 265 of file dsmark.c.
References rtnl_tc_data(), and TC_CAST.
int rtnl_qdisc_dsmark_get_indices | ( | struct rtnl_qdisc * | qdisc | ) |
Get indices of DSMARK qdisc.
qdisc | DSMARK qdisc. |
Definition at line 283 of file dsmark.c.
References rtnl_tc_data(), and TC_CAST.
int rtnl_qdisc_dsmark_set_default_index | ( | struct rtnl_qdisc * | qdisc, |
uint16_t | default_index | ||
) |
Set default index of DSMARK qdisc.
qdisc | DSMARK qdisc to be modified. |
default_index | New default index. |
Definition at line 302 of file dsmark.c.
References rtnl_tc_data(), and TC_CAST.
int rtnl_qdisc_dsmark_get_default_index | ( | struct rtnl_qdisc * | qdisc | ) |
Get default index of DSMARK qdisc.
qdisc | DSMARK qdisc. |
Definition at line 321 of file dsmark.c.
References rtnl_tc_data(), and TC_CAST.
int rtnl_qdisc_dsmark_set_set_tc_index | ( | struct rtnl_qdisc * | qdisc, |
int | flag | ||
) |
Set set-tc-index flag of DSMARK qdisc.
qdisc | DSMARK qdisc to be modified. |
flag | Flag indicating whether to enable or disable. |
Definition at line 340 of file dsmark.c.
References rtnl_tc_data(), and TC_CAST.
int rtnl_qdisc_dsmark_get_set_tc_index | ( | struct rtnl_qdisc * | qdisc | ) |
Get set-tc-index flag of DSMARK qdisc.
qdisc | DSMARK qdisc to be modified. |
Definition at line 359 of file dsmark.c.
References rtnl_tc_data(), and TC_CAST.