The FIFO qdisc comes in two flavours: More...
Attribute Modification | |
int | rtnl_qdisc_fifo_set_limit (struct rtnl_qdisc *qdisc, int limit) |
Set limit of FIFO qdisc. More... | |
int | rtnl_qdisc_fifo_get_limit (struct rtnl_qdisc *qdisc) |
Get limit of a FIFO qdisc. More... | |
The FIFO qdisc comes in two flavours:
The configuration is exactly the same, the decision which of the two variations is going to be used is made based on the kind of the qdisc (rtnl_qdisc_set_kind()).
int rtnl_qdisc_fifo_get_limit | ( | struct rtnl_qdisc * | qdisc | ) |
Get limit of a FIFO qdisc.
References NLE_NOATTR, rtnl_fifo::qf_limit, and rtnl_fifo::qf_mask.
int rtnl_qdisc_fifo_set_limit | ( | struct rtnl_qdisc * | qdisc, |
int | limit | ||
) |
Set limit of FIFO qdisc.
References NLE_NOMEM, rtnl_fifo::qf_limit, and rtnl_fifo::qf_mask.