Introduction - If you have any usage issues, please Google them yourself
I set the direction of post-graduate stage of the study is to network congestion management, but I have studied the RED algorithm also has quite a long time, long ago have resolved NS in the RED queue management algorithm source code (red.cc & red.h) the idea, by winter have the time to rush to write a bit. Some things they themselves have no fully understood, but for the confusion on how to modify the RED algorithm for the students, it should be a great reference value. This document first analyzes the RED algorithm is related to the meaning of the parameters, and then gives a major role in the function and finally the main function of the source code analyzed. Hope that this document useful to you.