[ns] Questions about trace and .....

Ahmad R Shahid arshahid@yahoo.com
Mon Apr 15 19:45:08 2002


> 1: If I want to display some information of        
> myself,how can I get it? For example,if I want to  
> store the number of hops one packet passed during  
> its routing and display it when the packet arrives  
> the destination,how to implementit?

As far as DSDV is concerned that has already been
implemented and the variable that stores the value is
num_forwards.

> How to analysis the trace file? Is there some tools
> for that purpose?

Its details are given in the manul but yet for further
insight look into trace.h/.cc and cmu_trace.h/.cc.

> 3:Have anyone simulate power aware protocols in NS2?
> If so,would you like to send me one copy of your   
> codes? Now I want to implement my own protocols,but
> don't know how to start,and I think perhaps one    
> example will help me a lot.

I am trying to implement power-aware things into DSDV
but aint yet complete, but if you have any specific
questions, feel free to ask them

Thanks,

Ahmad
   Liu Gengpu  wrote: Hello all ns users:Here are some
questions,perhaps too easy.:)1: If I want to display
some information of myself,how can I get it? For
example,if I want to store the number of hops one
packet passed during its routing and display it when
the packet arrives the destination,how to
implementit?2:How to analysis the trace file? Is there
some tools for that purpose?3:Have anyone simulate
power aware protocols in NS2? If so,would you like to
send me one copy of your codes? Now I want to
implement my own protocols,but don't know how to
start,and I think perhaps one example will help me a
lotThank you very much for your helpgpliu from ustc of
china_________________________________________________________________与联机的朋友进行交流,请使用
MSN Messenger:http://messenger.microsoft.com/cn

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/