[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] What is limit()?



I am writing a simulation using the Nortel DiffServ implementation.  The
system is not working properly, and in trying to understand where my
mistake is, I have started looking through the DiffServ code.  I am now
stuck at one line.  It is in the "void dsREDQueue::reset()" function  in
dsred.cc.  The line reads:

for (i=0; i<MAX_QUEUES; i++)
	redq_[i].qlim = limit();


My question is, what does the limit() function do?  Is it a standard C++
function or part of a library?

It would be great if someone could give me an answer as soon as possible
cuase this really has me stuck.

Thanks!
Karen Gray