libnl 3.7.0

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

◆ rtnl_qdisc_fq_codel_set_limit()

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 142 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

◆ rtnl_qdisc_fq_codel_get_limit()

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 160 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

◆ rtnl_qdisc_fq_codel_set_target()

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 179 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

◆ rtnl_qdisc_fq_codel_get_target()

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 197 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

◆ rtnl_qdisc_fq_codel_set_interval()

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 214 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

◆ rtnl_qdisc_fq_codel_get_interval()

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 232 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

◆ rtnl_qdisc_fq_codel_set_quantum()

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 249 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

◆ rtnl_qdisc_fq_codel_get_quantum()

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 267 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

◆ rtnl_qdisc_fq_codel_set_flows()

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 284 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

◆ rtnl_qdisc_fq_codel_get_flows()

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 302 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

◆ rtnl_qdisc_fq_codel_set_ecn()

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 320 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function:

◆ rtnl_qdisc_fq_codel_get_ecn()

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 338 of file fq_codel.c.

References rtnl_tc_data(), and TC_CAST.

+ Here is the call graph for this function: