ns-allinone-2.35/queue/red.cc
Packet*
REDQueue::pickPacketForECN(Packet* pkt)
{
	return pkt; /* pick the packet that just arrived */
}
/*
 * Pick packet for early congestion notification (ECN). This packet is then
 * marked or dropped. Having a separate function do this is convenient for
 * supporting derived classes that use the standard RED algorithm to compute
 * average queue size but use a different algorithm for choosing the packet for 
 * ECN notification.
 */
Pick packet for early congestion notification (ECN). This packet is then
marked or dropped. Having a separate function do this is convenient for
supporting derived classes that use the standard RED algorithm to compute
average queue size but use a different algorithm for choosing the packet for
ECN notification.
Pick packet for early congestion notification ( ECN ) . This packet is then marked or dropped . Having a separate function do this is convenient for supporting derived classes that use the standard RED algorithm to compute average queue size but use a different algorithm for choosing the packet for ECN notification .
Packet*
REDQueue::pickPacketForECN(Packet* pkt)
{
	return pkt; 
}
Packet * REDQueue :: pickPacketForECN ( Packet * pkt ) { return pkt ; }
Pick packet for early congestion notification (ECN).
Pick packet for early congestion notification ( ECN ) .
/* pick the packet that just arrived */