how to implement RED or WRED

Can anyone tell me how linux implement the RED algorithm ? I have read "sch_red.c" , but I can not understand the function about some parameters, like flag and stab[256]. Is anyone here can tell me about it?

Another question is that I want to implement the WRED algorithm , can anyone tell me where to find the source?

Thanks in advance!

Reply to
vickysmile
Loading thread data ...

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.