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

need to monitor early drops



I would like to dump to a file all packets dropped because of
no queue space (early drops as I read it)...  here is my fragment.
I have a feeling this is wrong...

set link [$ns duplex-link $n0 $n1 155Mb 30ms DropTail]
set queue1 [[$ns link $n0 $n1] queue]
set Enq1  [$ns create-trace Loss [open loss.out w] $n0 $n1]
$Enq1 target [$queue1 target]
$queue1 target $Enq1

Can anyone enlighten me?

Thanks,
Damon