Re: [ns] Delayed processing of a packet

2007-02-06 Thread Yasser Toor
Hi all, I am implementing a routing protocol which waits for a small time period before processing a packet. It does this to see if a duplicate packet arrives. How can I implement this in ns2? I have thought about using timers but but how can I pass the data of the packet also? Thanks

[ns] Overall channel utilization in ns-2 wireless networks [ isIdle() ]

2007-11-19 Thread Yasser Toor
Hi All, I am interested in calculating the overall channel utilization in wireless networks by different routing protocols. Specifically I want to look at a node and see how much of the time, it finds that the channel is busy ( i.e. either the node itself is transmitting or receiving or some othe

[ns] ARP problem in wireless networks

2007-11-29 Thread Yasser Toor
Hi Everyone, I have an ARP related problem. I am simulating a wireless linear network with a distance of 200m between each node. Node 0-Node 1 Node2 200m 200m I set up a CBR connection between node 0 and node 2, but ALL th

Re: [ns] A Centralized Protocol

2008-04-01 Thread Yasser Toor
Hi all, I have to implement a centralized wireless routing protocol. The idea is that one central object will decide how a packet will be routed. So for example, if a wireless node transmits a packet, whether it is forwarded or dropped by each of its neighbors, will be decided by this centralize g