Re: [ns] insertion stpes of VBR code instead of CBR

2011-03-08 Thread sadaq mohammed khan mohammed
On 9 March 2011 02:45, sadaq mohammed khan mohammed wrote: > I have default cbr traffic in ns-allinone-2.34. But i want insert VBR code > in ns.234 tools. please can you please tell me the steps to insert the code. > I have code > > // insert new packet types here > *static const packet_t PT_VBR

Re: [ns] Ns-users Digest, Vol 87, Issue 8

2011-03-08 Thread ranjana pathak
Dear frds, I m adding one function in aodv, and it is called whenever a link get down and writing the output of this function to a text file. but in this text file only one record is written, Is this possible that in case of aodv, rt_down function called only once. Regards, Ranjana

[ns] Send and Receive in NS2

2011-03-08 Thread Mohammed Alenezi
Hi, I just want to understand who is responsible for sending the packets in ns2. In each layer 4 protocol ( TCP or UDP) there is a function for send and receive. However,I read in other blog http://t-issariyakul.blogspot.com. -that the function in Agent.cc is the one responsible for sending a

[ns] Drop packet!!!!!

2011-03-08 Thread Mohammed Alenezi
Hi, I've been reading the below blog : http://t-issariyakul.blogspot.com/search/label/NS2?updated-max=2010-03-08T02%3A02%3A00-07%3A00&max-results=20 I found this sentence "Note that "drop(p)" is a function of class Connector, and therefore must be invoked from within the scope of class Connector.

[ns] Drop packets????????

2011-03-08 Thread Mohammed Alenezi
Hi, I 'm working on scenario in wired network-udp protocol. Any help on drop packets other than drop (p). I tried this method drop(p) but it doesn't drop packets??? I sent this question many times, with no help! ANY HELP ON THIS PROBLEM IS HIGHLY APPRECIATED. -- Regards, Moe.

[ns] Wrong DSDV routing

2011-03-08 Thread jorge cabrejas
Hi all, Does anyone know how to modify the DSDV protocol to route the packets in a static way? My scenario is: (id=0) (id=1) (id=4) router0<--> router1<->BS multiFaceNode1

Re: [ns] how to get source code of zigbee in ns2

2011-03-08 Thread Mubashir Rehmani
Hello, Yes, in fact, i am also unable to see the ZBR routing protocol in the wpan folder. Now, see this site http://www.sensor-networks.org/index.php?page=0823123150 In the site, they used AODV in conjunction with IEEE 802.15.4. May be, it helps you... Best Regards 2011/3/8 兰天 > hi, > It is

Re: [ns] how to get source code of zigbee in ns2

2011-03-08 Thread 兰天
hi, It is my honor to get help from you! I am very sorry that I do not express myself clearly. http://www-ee.ccny.cuny.edu/zheng/pub/file/wpan11.tar.gz this website offer us a new release about 802.15.4 code in ns2.When we unpack this file we could see cpp,demo,namthese folds.However,zigbee

Re: [ns] how to get source code of zigbee in ns2

2011-03-08 Thread Mubashir Rehmani
Hello, Zig Bee Routing is included in the new version of ns2 (ns 2.32), see the folder wpan in the ns2 main directory. They have also included the pdf tutorial there. Best Regards 2011/3/8 兰天 > hi, > > http://www-ee.ccny.cuny.edu/zheng/pub/file/wpan11.tar.gz > this website you offer is releas

[ns] about source code of zigbee routing

2011-03-08 Thread 兰天
hi, http://www-ee.ccny.cuny.edu/zheng/pub/file/wpan11.tar.gz this website you offer is release 1.1 ,and this release do not include ZBR(zigbee routing),and these messages in Zheng's website: *** NS2 simulator for 802.15.4 (release v1.1) *** ZigBee routing is now maintained by ZigBee NWK WG and

Re: [ns] how to get source code of zigbee in ns2

2011-03-08 Thread 兰天
hi, http://www-ee.ccny.cuny.edu/zheng/pub/file/wpan11.tar.gz this website you offer is release 1.1 ,and this release do not include ZBR(zigbee routing),and these messages in Zheng's website: *** NS2 simulator for 802.15.4 (release v1.1) *** ZigBee routing is now maintained by ZigBee NWK WG and

Re: [ns] how to get source code of zigbee in ns2

2011-03-08 Thread Mubashir Rehmani
Hello, See this: - IEEE 802.15.4 extensions to ns-2.26 and 2.27 are now available. The code works with ns 2.26 and 2.27 and has been tested on Linux/Solaris/FreeBSD. There are README, test/demo scripts. Code is at http://www-ee.ccny.cuny.edu/zheng/pub. Contact Jianliang Zhengfor deta

[ns] how to get source code of zigbee in ns2

2011-03-08 Thread 兰天
I am a student who intrest in zigbee and its application,however,i suffer some obstacles in simulation because I get the source code of 802.15.4 ,and the author of 802.15.4 simulation said that he do not offer the source code of zigbee routing anymore.As far as I concern,the source code of zigb

[ns] how to get source code of zigbee routing in ns2?

2011-03-08 Thread 兰天
Now we can get 802.15.4 source code in ns2 which offered by Zheng,however,how to get zigbee routing?

[ns] Does the AODV routing protocol guaranty that always take a shortest path to destination?

2011-03-08 Thread Hosseini Nezhad
Hi Does the AODV routing protocol guaranty that always take a shortest path to destination? Suppose that, there are multiple paths to a destination(a short and a long path). And the shortest path has heavy traffic. so in this shortest path the RREQ packet will received to destination latter tha