libnl  3.2.24-rc1
Fair Queue CoDel

Attribute Modification

int rtnl_qdisc_fq_codel_set_limit (struct rtnl_qdisc *qdisc, int limit)
 Set limit of fq_codel qdisc. More...
 
int rtnl_qdisc_fq_codel_get_limit (struct rtnl_qdisc *qdisc)
 Get limit of a fq_codel qdisc. More...
 
int rtnl_qdisc_fq_codel_set_target (struct rtnl_qdisc *qdisc, uint32_t target)
 Set target of fq_codel qdisc. More...
 
uint32_t rtnl_qdisc_fq_codel_get_target (struct rtnl_qdisc *qdisc)
 Get target of a fq_codel qdisc. More...
 
int rtnl_qdisc_fq_codel_set_interval (struct rtnl_qdisc *qdisc, uint32_t interval)
 Set interval of fq_codel qdisc. More...
 
uint32_t rtnl_qdisc_fq_codel_get_interval (struct rtnl_qdisc *qdisc)
 Get target of a fq_codel qdisc. More...
 
int rtnl_qdisc_fq_codel_set_quantum (struct rtnl_qdisc *qdisc, uint32_t quantum)
 Set quantum of fq_codel qdisc. More...
 
uint32_t rtnl_qdisc_fq_codel_get_quantum (struct rtnl_qdisc *qdisc)
 Get quantum of a fq_codel qdisc. More...
 
int rtnl_qdisc_fq_codel_set_flows (struct rtnl_qdisc *qdisc, int flows)
 Set flows of fq_codel qdisc. More...
 
int rtnl_qdisc_fq_codel_get_flows (struct rtnl_qdisc *qdisc)
 Get flows of a fq_codel qdisc. More...
 
int rtnl_qdisc_fq_codel_set_ecn (struct rtnl_qdisc *qdisc, int ecn)
 Set ecn of fq_codel qdisc. More...
 
int rtnl_qdisc_fq_codel_get_ecn (struct rtnl_qdisc *qdisc)
 Get ecn of a fq_codel qdisc. More...
 

Detailed Description

Function Documentation

int rtnl_qdisc_fq_codel_set_limit ( struct rtnl_qdisc *  qdisc,
int  limit 
)

Set limit of fq_codel qdisc.

Parameters
qdiscfq_codel qdisc to be modified.
limitNew limit.
Returns
0 on success or a negative error code.

Definition at line 148 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

int rtnl_qdisc_fq_codel_get_limit ( struct rtnl_qdisc *  qdisc)

Get limit of a fq_codel qdisc.

Parameters
qdiscfq_codel qdisc.
Returns
Numeric limit or a negative error code.

Definition at line 166 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

int rtnl_qdisc_fq_codel_set_target ( struct rtnl_qdisc *  qdisc,
uint32_t  target 
)

Set target of fq_codel qdisc.

Parameters
qdiscfq_codel qdisc to be modified.
targetNew target.
Returns
0 on success or a negative error code.

Definition at line 185 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

uint32_t rtnl_qdisc_fq_codel_get_target ( struct rtnl_qdisc *  qdisc)

Get target of a fq_codel qdisc.

Parameters
qdiscfq_codel qdisc.
Returns
Numeric target or zero.

Definition at line 203 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

int rtnl_qdisc_fq_codel_set_interval ( struct rtnl_qdisc *  qdisc,
uint32_t  interval 
)

Set interval of fq_codel qdisc.

Parameters
qdiscfq_codel qdisc to be modified.
intervalNew interval.
Returns
0 on success or a negative error code.

Definition at line 220 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

uint32_t rtnl_qdisc_fq_codel_get_interval ( struct rtnl_qdisc *  qdisc)

Get target of a fq_codel qdisc.

Parameters
qdiscfq_codel qdisc.
Returns
Numeric interval or zero.

Definition at line 238 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

int rtnl_qdisc_fq_codel_set_quantum ( struct rtnl_qdisc *  qdisc,
uint32_t  quantum 
)

Set quantum of fq_codel qdisc.

Parameters
qdiscfq_codel qdisc to be modified.
quantumNew quantum.
Returns
0 on success or a negative error code.

Definition at line 255 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

uint32_t rtnl_qdisc_fq_codel_get_quantum ( struct rtnl_qdisc *  qdisc)

Get quantum of a fq_codel qdisc.

Parameters
qdiscfq_codel qdisc.
Returns
Numeric quantum or zero.

Definition at line 273 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

int rtnl_qdisc_fq_codel_set_flows ( struct rtnl_qdisc *  qdisc,
int  flows 
)

Set flows of fq_codel qdisc.

Parameters
qdiscfq_codel qdisc to be modified.
flowsNew flows value.
Returns
0 on success or a negative error code.

Definition at line 290 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

int rtnl_qdisc_fq_codel_get_flows ( struct rtnl_qdisc *  qdisc)

Get flows of a fq_codel qdisc.

Parameters
qdiscfq_codel qdisc.
Returns
Numeric flows or a negative error code.

Definition at line 308 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

int rtnl_qdisc_fq_codel_set_ecn ( struct rtnl_qdisc *  qdisc,
int  ecn 
)

Set ecn of fq_codel qdisc.

Parameters
qdiscfq_codel qdisc to be modified.
ecnNew ecn value.
Returns
0 on success or a negative error code.

Definition at line 326 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

int rtnl_qdisc_fq_codel_get_ecn ( struct rtnl_qdisc *  qdisc)

Get ecn of a fq_codel qdisc.

Parameters
qdiscfq_codel qdisc.
Returns
Numeric ecn or a negative error code.

Definition at line 344 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function: