Not sure of built in commands but you can call in TCL like disp_count and in command function call a function and display.
For this maintain array of countpkt[n] where n is no of nodes. Keep incrementing for every timer expiry of Hello + forward() function + send functions. Better have it as static variable. Regards, Maddy. On Wed, Mar 12, 2008 at 7:36 PM, amel ksentini <[EMAIL PROTECTED]> wrote: > > hi ns users! > is there anyone can tell i there is a command to return number of packets > generated by a source? > thanks. >
