[ns] number of hops

Uma Shanker uma.shanker at kcl.ac.uk
Sat Apr 16 13:41:33 PDT 2005


Swapna,
  In the packet.h there is a variable
    int num_forwards_; // how many times this pkt was forwarded
I think, this what you are looking for.
uma




----- Original Message ----- 
From: "swapna" <mfnfn at yahoo.co.in>
To: "nsusers" <ns-users at ISI.EDU>
Sent: Saturday, April 16, 2005 4:36 PM
Subject: [ns] number of hops


> 
> hi all,
>  
> how to calculate the number of hops between source and destination
> please reply soon
>  
> regards
> 
> 
> ---------------------------------
> Do you Yahoo!?
>  Plan great trips with Yahoo! Travel: Now over 17,000 guides!
> 



More information about the Ns-users mailing list