Re: [ns] Problem in designing packet format and monitoring its arrival event

2010-09-15 Thread Dhara Buch
Respected Sir, Thanks a lot for the AODV tutorial with example which you sent before couple of weeks, it has helped me a lot while designing code. In AODV folder, we find related .cc, .h files. These files contain the functions like recv, command, rating related functions etc. I am confused

[ns] modifying vlan folder

2010-09-15 Thread Souzan Asadollahi
hi im planning to add new protocol for packet marking as my final project so i need to design a vlan .i found vlan folder in subdirectory but i have no idea how to modify it?also im working on ns2.34 over UBUNTU 9.10 i need to connect some lan with lan ruoter or switch and apply my algorithm on

[ns] A question about DelayBox

2010-09-15 Thread Mobin Yazarlou
Hi, According to NS manual ( http://www.isi.edu/nsnam/ns/doc/node251.html ) add-rule command of DelayBox class sets a delay for packets flowing from src to dst but when I run the following script, d0 (DelayBox object) causes a delay for all packets in both directions. from src to dst and dst to s