[ns] How to access 802.11mac variables in a simulation

li xiang subxiang@hotmail.com
Wed Apr 3 19:45:15 2002


hello there,

you have many ways to see this variable
1. write a function in the C++ code to print it out, followed by the address 
of that MAC

2. bind this variable to an OTCL intant variable, then show it use otcl 
statement

3. write a split function, show it in otcl

yours
li xiang



>From: "balavenkata pitchuka" <pbvravi1@hotmail.com>
>To: ns-users@ISI.EDU
>Subject: [ns] How to access 802.11mac variables in a simulation
>Date: Wed, 03 Apr 2002 20:24:44 -0600
>
>
>Hi,
>   I'm trying to measure the throughput of a 802.11 wireless network.I
>created inserted a variable bytes_ (just like bytes_
>variable in Agent/LossMonitor) and I'm measuring and adding each packet
>length to bytes_ before the packet is passed on to the channel. My question
>is how can I access this variable for each individual MAC entity in the
>simulation (just like accessing variable in bytes_ in LossMonitor,
>demonstrated in Marc Gries' xgraph tutorial).This may sound dumb
>question,but I'm working
>on this for two days.Please let me know if you have any pointers
>on the above.
>
>Thanks in advance for your help
>Bala
>
>_________________________________________________________________
>Send and receive Hotmail on your mobile device: http://mobile.msn.com
>




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com