[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns-users] Printing Protected Variables (seqno)
I have a packet structure which contains a protected 'seqno_' variable,
just the same as in UDP.h.
I would like to output this variable in my TCL script. Could anyone
provide a snippet to do this? I currently have:
-----------------------
Agent/Ping instproc recv {from rtt} {
$self instvar node_
puts "node [$node_ id] received ping ack from $from \\
with round-trip-time $rtt ms."
# I would like to output the sequence number 'seqno_' here.
}
-----------------------
many thanks,
rik wade