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

[ns] drop-tail. a misnomer?



Hi, I am wondering why drop-tail queues are so named.  To me this name
suggests that such queues implement partial packet discard on
overflow.  The following code taken from the manual demonstrates that the
entire arriving packet is discarded.

void DropTail::enque(Packet* p)
	{
	q_.enque(p);
	if (q_.length() >= qlim_) {
		q_.remove(p);
		drop(p);
		}
	}

any comments?

Regards
Joshua