After I run my tcl, it shows the following error, someone, please, give me a
hint why that happened?
Thanks so much!
--- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
_o107: no target for slot -1
_o107 type: Classifier/Hash/Dest
content dump:
classifier _o107
Here is my piece of code:
if { ( [info exist flowEF_$link] && $flowEF_$link != "" ) || ( [info
exists flowBE_$link] && $flowBE_$link != "" )} { ..}
The error info is following :
ns: flowstats E1C1: syntax error in expression " ( [info exist flowEF_$link]
&& $flowEF_$link != ""
I wrote a tcl script to monitor individual flow, here is the code :
set fmon [$ns makeflowmon Fid]
set ecLink [$ns link $e1 $core]
$ns attach-fmon $ecLink $fmon
set fclassifier [$fmon classifier]
set flow1 [$fclassifier lookup auto 0 0 10]
set parr [$flow1 set parrivals_]
puts "flow: $parr"