[ns] How to print out Multicast Group IP address in MAODV?

2008-11-21 Thread Noor Asraf
Hello everyone, In MAODV, the variable mt_dst of type nsaddr_t is supposed to hold the multicast group IP address. I am referring to aodv_mtable.h of the multicst extension for AODV provided by Thomas Kunz and Yufang Zhou. I use the following printf: for(mt=mtable.head();mt;mt=mt-mt_link.le_next)

Re: [ns] How to print out Multicast Group IP address in MAODV?

2008-11-21 Thread Sidney Doria
This integer (234881024) is the first multicast address (hex) Ex00. So, that's correct. :) Sidney Doria Brazil 2008/11/21 Noor Asraf [EMAIL PROTECTED]: Hello everyone, In MAODV, the variable mt_dst of type nsaddr_t is supposed to hold the multicast group IP address. I am referring to

[ns] Regarding txtime() in mac-802_11: Why PHY and MAC both data rates are used in txtime calculation?

2008-11-21 Thread Mayur
Dear Network and NS experts, Why MAC and PHY rates should be different for a given packet to be transmitted. I could not understand the calculation of the txtime of a packet in mac-802_11.cc. As observed in the txtime() calculation in mac-802_11.cc, the txtime of any packet is calculated as

Re: [ns] Regarding txtime() in mac-802_11: Why PHY and MAC both data rates are used in txtime calculation?

2008-11-21 Thread Basim Javed
I think its the MAC rate(s) used for calculating the Tx time of a packet. Yes the header is sent at basic rate always, to overcome the sync issue at all. Well for PHY, I think it should only be related for PHY calculations as per the modulation used. So different PHY rates enable different MAC

Re: [ns] ns2.1b9a installation

2008-11-21 Thread Carlos Alberto Quiroz-Perez
hi, Ubuntu8.04 uses a different compiler than the required for ns2.1b9a. This old version of ns-2 requires the gcc3.2 compiler. Either you install that old compiler on your Ubuntu8.04 or you install an old Linux distro version instead of your Ubuntu. For instance Fedora 3 or 4, CentOs 3,

[ns] Fwd: Problem with mhDefer_ timer in mac-802_11.cc

2008-11-21 Thread varun
- Forwarded message from [EMAIL PROTECTED] - Date: Fri, 21 Nov 2008 13:54:37 -0600 From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Subject: Problem with mhDefer_ timer in mac-802_11.cc To: ns-users@isi.edu Hi all, I am trying to introduce a delay in sending packets

Re: [ns] Fwd: Problem with mhDefer_ timer in mac-802_11.cc

2008-11-21 Thread Mayur
[EMAIL PROTECTED] wrote: - Forwarded message from [EMAIL PROTECTED] - Date: Fri, 21 Nov 2008 13:54:37 -0600 From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Subject: Problem with mhDefer_ timer in mac-802_11.cc To: ns-users@isi.edu Hi all, I am trying to