Re: [ns] How to know previous node's ID

2011-01-26 Thread Manoj_Kumar



Do Thanh Binh wrote:
> 
>  I have a question about NS2. How can I know previous node 's ID base on a
> packet that it sent. I know there is a common header in each packet but
> fields prev_hop_, next_hop_.. do not contain this information. Can any
> body
> help me??
> 

If you just want to know the previous nodes id in a flow and you have no
idea of manipulating it, then think about obtaining it from the trace file
rather than inserting code in tcl or c++.

-
---
ManojKumar.A
---
Blog: http://getch.wordpress,com
Mailing list guidelines: http://goo.gl/xC874
-- 
View this message in context: 
http://old.nabble.com/How-to-know-previous-node%27s-ID-tp30168297p30765877.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] How to know previous node's ID

2011-01-26 Thread ka346


Hi, 
I'm dealing with the same Question. Were you able to find a solution for it?

Thanks!

Do Thanh Binh wrote:
> 
> 
>  I have a question about NS2. How can I know previous node 's ID base on a
> packet that it sent. I know there is a common header in each packet but
> fields prev_hop_, next_hop_.. do not contain this information. Can any
> body
> help me??
> 
> 

-- 
View this message in context: 
http://old.nabble.com/How-to-know-previous-node%27s-ID-tp30168297p30765872.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] How to know previous node's ID

2010-11-08 Thread binh do thanh

 I have a question about NS2. How can I know previous node 's ID base on a
packet that it sent. I know there is a common header in each packet but
fields prev_hop_, next_hop_.. do not contain this information. Can any body
help me??