Re: [ns] ns QoS implementation

2009-03-01 Thread Salvador Alcaraz
Dear Pop: In [NS-PATH]/ns-2.33/diffserv you can find some QoS implementations good luck /salva 2009/3/1 Pop Barbie cool.shiv...@yahoo.com Dear ALL Can any one help me where i can find implementation CODE for QoS BASED for ns2.33? Thanks

Re: [ns] carrier sense

2009-03-01 Thread Mayur Mansukhlal Vegad
NAV is not a table. For a particular node its NAV is a simple variable used to store a number which is the duration (in microseconds) for which it freezes its backoff downcounting, it it is ON. You can know this value by accessing the nav_ (a double type of variable of Mac802_11 class in

[ns] Running c++ code in NS

2009-03-01 Thread Abhijeet Mirikar
Dear all, I want to run my C++ code in NS. How it can be done? Please help. Regards, Abhijeet Mirikar

Re: [ns] Running c++ code in NS

2009-03-01 Thread Arturo Servin
You have to include your code (I am not sure but I think that you should do it in the same path were the rest of the ns code is) and to modify the make files in order to compile your code. Check the own ns makefiles as an example, they will give you a hint of what to include. -as

[ns] how to access mac layer from upper layers

2009-03-01 Thread Firdaus Alias
Hi, I am developing a code in c++ that needs to access the power transmitted by an adjacent node from the routing layer. How do I access the value of return by : Propagation::getDist(double Pr, double Pt, double Gt, double Gr, double hr, double ht, double L, double lambda) from the routing

Re: [ns] carrier sense (neeraj gupta)

2009-03-01 Thread Jie Xu
In my understanding, there is no nav table. Actually there is only one NAV timer in NS implementation. the timer is updated by receiving packets withing its receiving range and carrier sense range. In this way, the carrier sense makes sense. Jie Xu @ GUCAS, China hi all it's true

[ns] Capturing Packets

2009-03-01 Thread Sri Charan
Hi, I need to capture each packet arriving at each node in the network (in order to calculate a hash on the *whole* packet, not just its header). Another way to ask this is that I need to sniff the packet as it arrives at each node and save/dump it to a file. Is this possible in NS2? If yes,

Re: [ns] Capturing Packets

2009-03-01 Thread Sri Charan
Hi, I need to capture each packet arriving at each node in the network (in order to calculate a hash on the whole packet, not just its header). Another way to ask this is that I need to sniff the packet as it arrives at each node and save/dump it to a file. Is this possible in NS2? If yes, how?

[ns] Classification decision and node id

2009-03-01 Thread Thanes Vela
Dear all The the following is the unanswered question in this forum. Please share your knowledge. Classifier works on the node entry point. Each packet which is received by the node is classified and accordingly it is either forwarded to the port demux or next link. My question is that: 1.

Re: [ns] Capturing Packets

2009-03-01 Thread Mubashir Rehmani
Hi Sri Charan, Yes it is possible. You need to work in the recv() packet function and dump the contents of all the packet in the trace file. Regards Mubashir Husain Rehmani ASAP/INRIA and LIP6, UPMC www-rp.lip6.fr/~rehmani http://www-rp.lip6.fr/%7Erehmani