[PKT_SCHED]: Generic RED layer
authorThomas Graf <tgraf@suug.ch>
Sat, 5 Nov 2005 20:14:03 +0000 (21:14 +0100)
committerThomas Graf <tgr@axs.localdomain>
Sat, 5 Nov 2005 21:02:24 +0000 (22:02 +0100)
commita783474591f2eed0348e08b15934fa9a25e23b3e
tree3cc009ea63287648dd3d8dc7c304e60b6162c3d7
parent1758ee0ea26561943813c5f5a7b27272f2cbc4cf
[PKT_SCHED]: Generic RED layer

Extracts the RED algorithm from sch_red.c and puts it into include/net/red.h
for use by other RED based modules. The statistics are extended to be more
fine grained in order to differ between probability/forced marks/drops.
We now reset the average queue length when setting new parameters, leaving
it might result in an unreasonable qavg for a while depending on the value of W.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
include/net/red.h [new file with mode: 0644]