[ns] To determine interface queue length
Amita Singh
amita26 at rediffmail.com
Tue Aug 22 04:09:28 PDT 2006
Hi all!how can I calculate the interface queue length at a particular instance of time and at a particular node. where a node is an ad hoc network node.Thaks in advanceAmitans-users at ISI.EDU wrote Send Ns-users mailing list submissions to ns-users at isi.edu To subscribe or unsubscribe via the World Wide Web, visit http://mailman.isi.edu/mailman/listinfo/ns-users or, via email, send a message with subject or body \'help\' to ns-users-request at isi.edu You can reach the person managing the list at ns-users-owner at isi.edu When replying, please edit your Subject line so it is more specific than \"Re: Contents of Ns-users digest...\" Today\'s Topics: 1. FTP protocol (Giorgis Georgakoudis) 2. Tcl not Interpreted Problem (Mo Li) 3. flow monitoring for wireless links (sara MA) 4. Help to learn tcl/ex/*.tcl (S.Thanga Prakash) 5. regarding ns2allinone installaion (sundara lakshmi) 6. a serious problem with energy (boumaiza wafa) 7. a s!
erious problem with energy (boumaiza wafa) 8. a serious problem with energy (files attached) (boumaiza wafa) 9. Re: Accessing object created in Tcl from C++ (Prashant Batra) 10. error in multi_udpflows.tcl its urgent... (mayank kanthali) 11. transmission range problem in 802.11 (continued) (hamid reza) 12. Re: error in multi_udpflows.tcl its urgent... (Sven Wiethoelter) 13. I have a problem in simulation .... while the compilation is okay (Bilal AbuQadous) 14. Re: How to save xgraph plots :-?? (Hai Nam) 15. Re: Help to learn tcl/ex/*.tcl (Giorgis Georgakoudis) 16. How EIFS Trigger on NS2 ? (hamid reza) 17. Access Agent List From C++ (Jana Henniger) ---------------------------------------------------------------------- Message: 1 Date: Mon, 21 Aug 2006 04:21:55 +0300 From: Giorgis Georgakoudis Subject: [ns] FTP protocol To: ns-users at ISI.EDU Message-ID: Content-Type: text/plain; charset=\"us-ascii\" Where is the ftp!
protocol implemented? There is a baytcp folder where ftp source fil
es exist and create a class Agent/BayTcp/FTPClient and server respectively, what\'s the difference between that and an Application/FTP class (which by the way can\'t find where it is implemented)? From what I understand the BayTCP is both ways tcp, whereas the Agent/TCP where Application/FTP relies not is not(?). If I am right how is the 3-way HS implemented? I know things are slow on the list as it is summer and stuff but I would really appreciate some help. best regards, ggeorgak ------------------------------ Message: 2 Date: Mon, 21 Aug 2006 11:32:16 +1000 From: \"Mo Li\" Subject: [ns] Tcl not Interpreted Problem To: \"ns-users at isi.edu\" Message-ID: Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 Hi, I put the following tcl in a tcl script to change the up-target of LL in the movement of MH. By checking the contents of the created object, I am sure that all the objects have got the handlder to th!
e non-NULL objects. -----------TCL-------------- set nodeentry [$self entry] $selectedll up-target $nodeentry -----------TCL-------------- But, it\'s likely that the tcl interpreter can not recognize the \"$selectedll up-target $nodeentry\" by giving the following errors: ------------------ERROR------------------- ns: _o109 select-interface _o32: (_o146 cmd line 1) invoked from within \"_o146 cmd up-target _o113\" invoked from within \"catch \"$self cmd $args\" ret\" invoked from within \"if [catch \"$self cmd $args\" ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo error \"error when calling class $cls: $args\" $...\" (procedure \"_o146\" line 2) (SplitObject unknown line 2) invoked from within \"$selectedll up-target [$self entry]\" (procedure \"_o109\" line 36) (Node/MobileNode select-interface line 36) invoked from within \"_o109 select-interface _o32\" -----!
---------------ERROR--------------------- Could anybody help me on
that? Thanks in advance! Kind Regards, Mo ------------------------------ Message: 3 Date: Mon, 21 Aug 2006 03:46:22 +0000 From: \"sara MA\" Subject: [ns] flow monitoring for wireless links To: ns-users at ISI.EDU Message-ID: Content-Type: text/plain; format=flowed Hello all: I\'m trying to plot traffic flows between each 2 nodes of my ad hoc network, and compare them, but I don\'t know to monitor the traffic in wireless links. Is it possible to introduce me any resource that I can get help from or give me some hint for that? Thanks a lot, Sara _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it\'s FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ------------------------------ Message: 4 Date: Mon, 21 Aug 2006 11:06:20 +0530 (IST) From: \"S.Thanga Prakash\" Subject: [ns] Help to learn tcl/ex/*.tcl To: Message-ID: Co!
ntent-Type: TEXT/PLAIN; charset=US-ASCII hi all, I am trying to execute example tcl scripts. But, i am getting errors on execution. how to start the execution of these examples? thanks in advance, regards, stp. ------------------------------ Message: 5 Date: Mon, 21 Aug 2006 00:01:46 -0700 (PDT) From: sundara lakshmi Subject: [ns] regarding ns2allinone installaion To: ns2 group Message-ID: Content-Type: text/plain; charset=iso-8859-1 hi while i am trying to install ns2allinone2.29 in RedHat 9, i got the error as {standard input}:697: Error: symbol `dy\' is already defined > {standard input}:703: Error: symbol `dx\' is already defined > {standard input}:750: Error: symbol `q\' is already defined > {standard input}:756: Error: symbol `p\' is already defined > {standard input}:762: Error: symbol `q\' is already defined > {standard input}:768: Error: symbol `q\' is already define!
d > make: *** [tk3d.o] Error 1 > tk8.4.5 make failed! Exiting
... how can i overcome it? Sundaralakshmi --------------------------------- How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates. ------------------------------ Message: 6 Date: Mon, 21 Aug 2006 09:07:39 +0200 (CEST) From: boumaiza wafa Subject: [ns] a serious problem with energy To: ns-users at ISI.EDU Message-ID: Content-Type: text/plain; charset=iso-8859-1 Hello ns users, I?m traying to create a wireless network, and to plot energy consumption. I did not find any example in this domain on line. I start by tring to plot energy oconsuption for one node, but i have not the eppropriate result. Can you please check the problem with me. Here are my tcl et awk files. I will be gratefull. Are there any further examples which can help me? Thunks a lot p5.vert.ukl.yahoo.com uncompressed/chunked Mon Aug 21 06:34:03 GMT 2006 _______________________________________________________________________!
____ D?couvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/R?ponses pour partager vos connaissances, vos opinions et vos exp?riences. http://fr.answers.yahoo.com ------------------------------ Message: 7 Date: Mon, 21 Aug 2006 09:07:17 +0200 (CEST) From: boumaiza wafa Subject: [ns] a serious problem with energy To: ns-users at ISI.EDU Message-ID: Content-Type: text/plain; charset=\"iso-8859-1\" Hello ns users, I?m traying to create a wireless network, and to plot energy consumption. I did not find any example in this domain on line. I start by tring to plot energy consuption for one node, but i have not the appropriate result, i mean that the plot doesn\'t seem to be the energy consuption though the simulation time. Can you please check the problem with me. Here are my tcl et awk files. I will be gratefull. Are there any further examples which can help me? Thunks a lot p4.vert.ukl.yaho!
o.com uncompressed/chunked Mon Aug 21 06:34:03 GMT 2006 _____
______________________________________________________________________ D?couvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/R?ponses pour partager vos connaissances, vos opinions et vos exp?riences. http://fr.answers.yahoo.com ------------------------------ Message: 8 Date: Mon, 21 Aug 2006 09:53:43 +0200 (CEST) From: boumaiza wafa Subject: [ns] a serious problem with energy (files attached) To: ns-users at ISI.EDU Message-ID: Content-Type: text/plain; charset=\"iso-8859-1\" Hello ns users, I?m traying to create a wireless network, and to plot energy consumption. I did not find any example in this domain on line. I start by tring to plot energy consuption for one node, but i have not the appropriate result.i mean, the plot doesn\'t seem to be energy consumption through the simulation time. Can you please check the problem with me. Here are my tcl et awk files. I will be gratefull. Are there any furt!
her examples which can help me? Thunks a lot p5.vert.ukl.yahoo.com uncompressed/chunked Mon Aug 21 07:34:01 GMT 2006 ___________________________________________________________________________ D?couvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/R?ponses pour partager vos connaissances, vos opinions et vos exp?riences. http://fr.answers.yahoo.com ------------------------------ Message: 9 Date: Mon, 21 Aug 2006 10:22:06 +0200 From: Prashant Batra Subject: Re: [ns] Accessing object created in Tcl from C++ To: ns-users at ISI.EDU Message-ID: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi Vijay, The problem described by you seems to be something very specific to your code....i mean to the modifications you have done....so it is really not possible for me to tell you anything straightforward on the matter. I am sure if you take a deeper look into your code and try and u!
nderstand what is it that a wireless node is expecting and I am not
providing, you will definitely be able to work things out. Sorry and All the Best. - Prashant Vijay Ghorpade wrote: > > > Hi Prashant, > I have a problem with ns-2 > When i make some change in the node class and compile the code it > doesnot give any errors. The wired scripts also work. > But when i try with wireless scripts it gives either segmentation > fault or event UID not found error. > Why it is so. Can you help me out > > Vijay > > > On Fri, 18 Aug 2006 Prashant Batra wrote : > > > >Hi Shafiq, > > > >To access a variable declared in your TCL script, you can use the > following > >method :- > > > >Tcl& tcl = Tcl::instance(); > >tcl.lookup(char* s); > > > >The \'lookup()\' function of Tcl class takes a pointer to the name of the > >variable in the TCL script and returns you a TclObject class object, > >whic!
h you can further typecast into your specific object type and use. > > > > - Prashant > > > > > > > >Shafiq Hashmi wrote: > > > Hello all, > > > > > > Is it possible to access an object of Agent/RCAgent, created in > Tcl, from another C++ class. > > > > > > Can anybody tell me ? > > > > > > Thanx > > > Shafiq > > > > > > > > > > > > ------------------------------ Message: 10 Date: Mon, 21 Aug 2006 01:25:41 -0700 (PDT) From: mayank kanthali Subject: [ns] error in multi_udpflows.tcl its urgent... To: nsuser Message-ID: Content-Type: text/plain; charset=iso-8859-1 hi nsusers i have NS2.28 on my system and to work on ieee802.11e. so i downloaded the required module form http://www.tkn.tu-berlin.de/research/802.11e_ns2/ i did according to instruction given in README file. when i r!
an the multi_udpflows.tcl, i got the following errors ... num_nod
es is set 5 wired node 0 created wired node 1 created wired node 2 created (_o56 cmd line 1) invoked from within \"_o56 cmd Prio 0 PF 2\" invoked from within \"catch \"$self cmd $args\" ret\" invoked from within \"if [catch \"$self cmd $args\" ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo error \"error when calling class $cls: $args\" $...\" (procedure \"_o56\" line 2) (SplitObject unknown line 2) invoked from within \"$ifq Prio 0 PF 2\" (procedure \"priority\" line 4) invoked from within \"priority ifq\" (procedure \"_o45\" line 91) (Node/MobileNode add-interface line 91) invoked from within \"$node add-interface $chan $propInstance_ $llType_ $macType_ $ifqType_ $ifqlen_ $phyType_ $antType_ $topoInstance_ $inerrProc_ $outerrProc_ $FECProc_\" (procedure \"_o4\" line 66) (Simulator create-wireless-node line 66) invoked from within \"_o4 create-wireless!
-node 1.0.0\" (\"eval\" body line 1) invoked from within \"eval $self create-wireless-node $args\" (procedure \"_o4\" line 14) (Simulator node line 14) invoked from within \"$ns node 1.0.0\" invoked from within \"set BS(0) [$ns node 1.0.0]\" (file \"multi_udpflows.tcl\" line 92) can anyone solve it... thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------ Message: 11 Date: Mon, 21 Aug 2006 01:56:29 -0700 (PDT) From: hamid reza Subject: [ns] transmission range problem in 802.11 (continued) To: ns-users at ISI.EDU Message-ID: Content-Type: text/plain; charset=iso-8859-1 Hi, Can you tell us what is your propagation model, Phy/WirelessPhy set CPThresh_ 10.0 //Collision threshold When multi-frames are received simultaneously by one mobile node, it calculates the rat!
io of the strongest frame?s signal strength to the signal strength s
um of other frames. NS2 has one threshold (CPThresh_) for this ratio. If it is larger than CPThresh_, the frame will be received correctly and other frames are ignored. Otherwise, all frames are collided and discarded. Regards hamid reza __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------ Message: 12 Date: Mon, 21 Aug 2006 11:03:57 +0200 From: Sven Wiethoelter Subject: Re: [ns] error in multi_udpflows.tcl its urgent... To: ns-users at ISI.EDU Message-ID: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi, the problem appears if the installation has not been 100 percent successful wrt the tcl files. Please check all settings described in README again, especially in Makefile.in, ns-lib.tcl, and ns-mac.tcl. BR, Sven On Aug 21, 2006, at 10:25 AM, mayank kanthali wrote: !
> > hi nsusers > > i have NS2.28 on my system and to work on ieee802.11e. > so i downloaded the required module form > http://www.tkn.tu-berlin.de/research/802.11e_ns2/ > i did according to instruction given in README file. > when i ran the multi_udpflows.tcl, i got the following > errors ... > > num_nodes is set 5 > wired node 0 created > wired node 1 created > wired node 2 created > > (_o56 cmd line 1) > invoked from within > \"_o56 cmd Prio 0 PF 2\" > invoked from within > \"catch \"$self cmd $args\" ret\" > invoked from within > \"if [catch \"$self cmd $args\" ret] { > set cls [$self info class] > global errorInfo > set savedInfo $errorInfo > error \"error when calling class $cls: $args\" $...\" > (procedure \"_o56\" line 2) > (SplitObject unknown line 2) > invoked from within > \"$ifq Prio 0 PF 2\" > (procedure \"pri!
ority\" line 4) > invoked from within > \"priority ifq\"
> (procedure \"_o45\" line 91) > (Node/MobileNode add-interface line 91) > invoked from within > \"$node add-interface $chan $propInstance_ $llType_ > $macType_ $ifqType_ $ifqlen_ $phyType_ $antType_ > $topoInstance_ $inerrProc_ $outerrProc_ $FECProc_\" > (procedure \"_o4\" line 66) > (Simulator create-wireless-node line 66) > invoked from within > \"_o4 create-wireless-node 1.0.0\" > (\"eval\" body line 1) > invoked from within > \"eval $self create-wireless-node $args\" > (procedure \"_o4\" line 14) > (Simulator node line 14) > invoked from within > \"$ns node 1.0.0\" > invoked from within > \"set BS(0) [$ns node 1.0.0]\" > (file \"multi_udpflows.tcl\" line 92) > > can anyone solve it... > > thanks > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has th!
e best spam protection around > http://mail.yahoo.com > > ----------------------- Sven Wiethoelter, http://www.tkn.tu-berlin.de/~wiethoel Telecommunication Networks Group (TKN) / TU Berlin ------------------------------ Message: 13 Date: Mon, 21 Aug 2006 13:40:08 +0300 From: \"Bilal AbuQadous\" Subject: [ns] I have a problem in simulation .... while the compilation is okay To: ns-users at ISI.EDU Message-ID: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Dear ns-users; I use ns-allinone-2.29 under cygwin/winXP. I faced the following problem after changing the MAC in ns2.29. during the simulation I got the follwoing Error: Scheduler: Event UID not valid! the code is here ( I made the changes just in the recv() function): void Mac::recv(Packet* p, Handler* h) { printf(\" n Now you are in Mac layer\"); int i; int k; int r; int errcount; int recR; //===================start====================!
=========== BiLaL if (hdr_cmn::access(p)->direction() == hdr
_cmn::UP) { if (hdr_mac::access(p)-> ftype() == MF_FEC_R) { Red_= hdr_mac::access(p)->Red(); drop(p); printf(\" n Redundancy is CHANGED\"); return; } if (hdr_cmn::access(p)->size()%framesize_ != 0) k=1; else k=0; k +=(hdr_cmn::access(p)->size()+ Red_)/framesize_ ; for (i=0;i= p_) errcount++; } if (errcount > Red_) { drop(p);//Packet::free(p); //discard the received packet printf(\"n one packet has been lost\"); Packet *p = Packet::alloc(); hdr_cmn* ch = HDR_CMN(p); hdr_mac* mhr = HDR_MAC(p); mhr->ftype()=MF_FEC_R; ch->uid() = 0; ch->ptype() = PT_MAC; ch->iface() = -2; ch->error() = 0; ch->size()=64; ch->direction() = hdr_cmn::DOWN; // *********** changing the Redundancy strategy mhr-> Red()= errcount; callback_=h; mhr->set(!
MF_FEC_R, index_); state(MAC_SEND); printf(\"n telling the sender by new R\"); sendDown(p); } else { // the Redundant Data must be removed hdr_mac* mhr = HDR_MAC(p); recR = mhr-> Red(); hdr_cmn::access(p)->size()-= recR; //===================END=============================== BiLaL sendUp(p); } return; } callback_ = h; hdr_mac* mh = HDR_MAC(p); mh->set(MF_DATA, index_); state(MAC_SEND); //=======================================================FEC (Redundancy) BiLaL printf(\"n Here we adding the R to TCP packet\"); hdr_cmn* ch = HDR_CMN(p); ch->size() += Red_; //======================================================== sendDown(p); the problem stop inside the sendDown() function and the problem as I told you first: Scheduler: Event UID not valid! I look forward to your help as soon as possible. thank you in advance Kind Regards ------!
------------------------ Message: 14 Date: Mon, 21 Aug 2006 13:30:
04 +0200 From: \"Hai Nam\" Subject: Re: [ns] How to save xgraph plots :-?? To: \"Aritra Das\" Cc: ns-users at ISI.EDU Message-ID: Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 8/18/06, Aritra Das wrote: > > HI > > can you help me how to use gnuplot. i have the trace file. now how to > proceed with gnuplot. or is it like xgraph that you have to write a > code in the tcl file. also, what are the formats in which i can save > from gnuplot - please specify > > Aritra > Hi, You can post-process your trace file with awk, then put your data in to a CSV file, then with online 1-2 lines you can plot it with gnuplot (specified commands could be found at gnuplot site, there\'re many many examples). Regards, -- Hai-Nam NGUYEN El?ve 3A SLR, ENST Bretagne 2 rue de la Ch?taigneraie 35576 Cesson S?vign? Site web: http://www.jcisio.com ------------------------------ Message: 15 Date: Mon, 21 !
Aug 2006 16:13:34 +0300 From: Giorgis Georgakoudis Subject: Re: [ns] Help to learn tcl/ex/*.tcl To: ns-users at ISI.EDU Message-ID: Content-Type: text/plain; charset=\"iso-8859-1\" Be more specific on the errors you get. ggeorgak On Monday 21 August 2006 08:36, S.Thanga Prakash wrote: > hi all, > > I am trying to execute example tcl scripts. > But, i am getting errors on execution. > > how to start the execution of these examples? > > thanks in advance, > > regards, > stp. ------------------------------ Message: 16 Date: Mon, 21 Aug 2006 11:13:33 -0700 (PDT) From: hamid reza Subject: [ns] How EIFS Trigger on NS2 ? To: ns-users at ISI.EDU Message-ID: Content-Type: text/plain; charset=iso-8859-1 Dear All, How EIFS trigger on Mac 802.11 ? I cant find how EIFS trigger in its implementation? Best Regards Hamid Reza __________________________________________________ Do You Yahoo!? Tired of!
spam? Yahoo! Mail has the best spam protection around http://mail.
yahoo.com ------------------------------ Message: 17 Date: Mon, 21 Aug 2006 21:58:57 +0200 From: \"Jana Henniger\" Subject: [ns] Access Agent List From C++ To: ns-users at ISI.EDU Message-ID: Content-Type: text/plain; charset=\"iso-8859-1\" Is there a way to access the agent list from C++ ? (AND GET ACCESS TO A PARTICULAR ONE?) more explicit from AODV::sendRequest -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer ------------------------------ _______________________________________________ Ns-users mailing list Ns-users at isi.edu http://mailman.isi.edu/mailman/listinfo/ns-users End of Ns-users Digest, Vol 32, Issue 22 ****************************************
More information about the Ns-users
mailing list