[ns] SWAN implementation

2006-11-15 Thread Bilel Romdhani

Hi all,
I'm implementing a qos routing protocol QPART on ns2.27 and I want to make
simulation with QPART and with another MANET routing protocol such SWAN.
So plz if any one have the SWAN implementation on ns2, I will be very
grateful if you send it to me!!!

thanks for any help!


[ns] SWAN implementation

2006-11-15 Thread Bilel Romdhani

Hi all,
I'm implementing a qos routing protocol QPART on ns2.27 and I want to make
simulation with QPART and with another MANET routing protocol such SWAN.
So plz if any one have the SWAN implementation on ns2, I will be very
grateful if you send it to me!!!

thanks for any help!


Re: [ns] SWAN implementation

2006-11-15 Thread Mohammad Haseeb Zafar


http://comet.columbia.edu/swan/simulation.html


-Original Message-
From: [EMAIL PROTECTED] on behalf of Bilel Romdhani
Sent: Wed 15/11/2006 8:55 AM
To: Ns-users@ISI.EDU
Subject: [ns] SWAN implementation
 

Hi all,
I'm implementing a qos routing protocol QPART on ns2.27 and I want to make
simulation with QPART and with another MANET routing protocol such SWAN.
So plz if any one have the SWAN implementation on ns2, I will be very
grateful if you send it to me!!!

thanks for any help!



[ns] SWAN Implementation

2006-10-16 Thread Mohammad Haseeb Zafar

Please help me in answering following qiuestions regarding implementation of 
SWAN code in ns2.1b9a:

1. I didnt get following files from SWANs website: 
http://comet.columbia.edu/swan/simulation.html

set opt(cp) ../Scene/S1/cbr-50-50-1-512.tcl
set opt(sc) ../Scene/S1/mobility.tcl

2. When I run, I get the following error: 

AODV simulation
# 1 run ...
num_nodes is set 5
invalid command name //_o14
while executing
//$self instvar arptable_ nifs_ netif_ mac_ ifq_ ll_ imep_ inerr_ outerr_ 
fec_(procedure _o14 line 2)
(Node/MobileNode add-interface line 2)
invoked from within
$node add-interface $chan $propInstance_ $llType_ $macType_  $ifqType_ 
$ifqlen_ $phyType_ $antType_  $inerrProc_ $outerrProc_ $FECProc_
(procedure _o3 line 64)
(Simulator create-wireless-node line 64)
invoked from within
_o3 create-wireless-node
(eval body line 1)
invoked from within
eval $self create-wireless-node $args
(procedure _o3 line 14)
(Simulator node line 14)
invoked from within
$ns_ node
(for body line 2)
invoked from within
for {set i 0} {$i  $opt(nn) } {incr i} {
set node_($i) [$ns_ node]
$node_($i) random-motion 0  ;# disable random motion
}
(file swan.tcl line 208)

Cheers
Haseeb