[ns] Add New Queue, Trying to get 802.11e working on "ns by example"
Sim Tec
simulationtechnology at gmail.com
Tue Jun 19 23:16:47 PDT 2007
Hey all, after trying to get 802.11e in many ways, many packages, i have
started trying to do it through "ns by example".
I have the multimedia application running correctly
I encountered problems getting the "add new queue" working.
I have put dtrr-queue.cc and dtrr-queue.h
running ns ex-dtrr-queue.tcl,
invalid command name "Queue/DTRR"
while executing
"Queue/DTRR create _o68 "
invoked from within
"catch "$className create $o $args" msg"
invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
(procedure "new" line 3)
invoked from within
"new Queue/$qtype"
("default" arm line 3)
invoked from within
"switch -exact $qtype {
ErrorModule {
if { [llength $args] > 0 } {
set q [eval new $qtype $args]
} else {
set q [new $qtype Fid]
}
}
intserv {
set qtyp..."
(procedure "_o3" line 14)
(Simulator simplex-link line 14)
invoked from within
"_o3 simplex-link _o16 _o19 2Mb 10ms DTRR"
("eval" body line 1)
invoked from within
"eval $self simplex-link $n1 $n2 $bw $delay $type $args"
(procedure "_o3" line 8)
(Simulator duplex-link line 8)
invoked from within
"$ns duplex-link $node_(r1) $node_(r2) 2Mb 10ms DTRR"
(file "ex-dtrr-queue.tcl" line 48)
All help appreciated,
Regards,
Michael, Ireland
More information about the Ns-users
mailing list