Random Early Detection (RED)
[Queueing Discipline Modules]

Attribute Access



int rtnl_red_set_limit (struct rtnl_qdisc *qdisc, int limit)
 Set limit of RED qdisc.
int rtnl_red_get_limit (struct rtnl_qdisc *qdisc)
 Get limit of RED qdisc.

Function Documentation

int rtnl_red_set_limit ( struct rtnl_qdisc *  qdisc,
int  limit 
)
Parameters:
qdisc RED qdisc to be modified.
limit New limit in number of packets.
Returns:
0 on success or a negative error code.

Definition at line 159 of file red.c.

int rtnl_red_get_limit ( struct rtnl_qdisc *  qdisc  ) 
Parameters:
qdisc RED qdisc.
Returns:
Limit or a negative error code.

Definition at line 178 of file red.c.

Generated on Tue May 25 14:50:23 2010 for libnl by  doxygen 1.6.3