[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Trace/Loss
Hi,
Does anyone know where I can find the code for Trace/Loss ? I have
the following code in my script:
#create error model
set em [new ErrorModel]
$em set rate_ 0.02
set tr [$ns create-trace Loss $f $n0 $n1]
$em drop-target $tr
It runs, and marks all the dropped packets with an "e" in file "f".
What I don't understand is, it looks like create-trace creates a
Trace/Loss object, but I cannot find this object.
Also, I don't really understand what $em drop-target $tr does.
Thanks for any help!!
Chris