[ns] New MAC protocol

2007-06-08 Thread Samir Salman

I have written a MAC protocol, and update some files like the packet.h
and the ones that we usually update if we were writing a new agent.
However when i wrote the corresponding TCL after I recompliled ns2 i
get an error saying Mac/mymac undefined command!! Is there any special
file i should update to make the tcl know that Mac/mymac is a new
prtocol. I mean I wrote the static class in the c++ but how will the
tcl find my protocol just by reading the command MAc/mymac. Isn't
there a special file that ns2 searches in to know where the class
Mac/mymac is in or something?

Thank you very much..I urgently need an answer ASAP
~Samir Salman





Re: [ns] New MAC protocol

2007-06-08 Thread Hai T. Vu

In your mymac.cc file, you need to define a Tcl class, say MacMyMacClass,
which is derived from TclClass. This class is in fact very simple, just to
let Tcl know that you have an object named Mac/mymac. After this, compiling
ns2 will do the rest of work and your Tcl code should understand your new
MAC protocol. The code is follows:

static class MacMyMacClass : public TclClass {
public:
 MacMyMacClass() : TclClass(Mac/myMac) {}
 TclObject* create(int, const char*const*) {
 return (new MacMyMac(PMIB));
 }
} class_mac_mymac;

Hope this helps.

Hai.

On 6/8/07, Samir Salman [EMAIL PROTECTED] wrote:


 I have written a MAC protocol, and update some files like the packet.h
 and the ones that we usually update if we were writing a new agent.
 However when i wrote the corresponding TCL after I recompliled ns2 i
 get an error saying Mac/mymac undefined command!! Is there any special
 file i should update to make the tcl know that Mac/mymac is a new
 prtocol. I mean I wrote the static class in the c++ but how will the
 tcl find my protocol just by reading the command MAc/mymac. Isn't
 there a special file that ns2 searches in to know where the class
 Mac/mymac is in or something?

 Thank you very much..I urgently need an answer ASAP
 ~Samir Salman

 




[ns] CFP: SIMUTools 2008

2007-06-08 Thread WATTEYNE Thomas RD-TECH-GRE

Dear all,

Please find attached the call-for-papers for SIMUTools 2008, the First 
International Conference on Simulation Tools and Techniques for Communications, 
Networks and Systems. Please accept our apologies if you have received multiple 
copies of this message.

You are welcome to forward this CFP to your friends and colleagues working in 
the field.

Kind regards,
Thomas.

---
   SIMUTools 2008
 First International Conference on Simulation Tools and
  Techniques for Communications, Networks and Systems
 
   March 3-7, 2008, Marseilles, France
 http://www.simutools.org

   Full Papers due: September 21, 2007
---

CALL FOR PAPER
(pdf version: http://www.simutools.org/docs/CallForPaper.pdf)

SIMUTools 2008 is the first international conference focusing on Simulation 
Tools and Techniques for Communications, Networks, and Systems. The conference 
will address all aspects of simulation modelling and analysis. Papers are 
sought on the topics of methodology, tools, applications, and practices. 
Particular emphasis will be given to papers that bridge multiple areas.

Possible topics include, but are not limited to
* Methodology/Simulation Art: Web based simulation, Agent based simulation, 
Petri Nets simulation, Fluid flow simulation, Bond Graphs simulation, 
Simulation-based Scheduling
* Application areas: Telecommunication, Network Security, Health Care, 
Transportation, Manufacturing, Public Systems, Education and Training
* Tools: OPNET, NS-2, interconnected simulation platforms, ATDI ICS, Qualnet, 
OMNET++, NIIST, open source tools

Extended versions of selected papers will be published in relevant special 
issues of leading journals. Authors of accepted papers should register and 
present their work at the conference. A poster session will accommodate short 
papers and works in progress.

---
Important Dates
---
- Full Papers due: September 21, 2007
- Acceptance Notification: November 10, 2007
- Final Manuscript Due: December 10, 2007
- Conference Dates: March 3-7, 2008

---
Submission Instructions
---
Authors are invited to submit PDF versions of full papers of up to 10 pages in 
ACM conference proceedings format through COCUS (http://cocus.create-net.it)

--
Call for Workshops
--
We solicit workshop proposals on new and emerging topics in Simulation Tools 
and Techniques for Communications, Networks and Systems. A proposal should 
focus on a specific theme of current interest seeking for high-quality 
submissions. Proposals for one-day workshops to be held in conjunction with the 
main conference are solicited and should be forwarded to the workshops chairs 
[EMAIL PROTECTED] by *September 21, 2007*. Acceptance notification by *October 
1, 2007*.

---
Call for Panel Sessions
---
Panel sessions proposals should be submitted to [EMAIL PROTECTED] by *September 
21, 2007*. Proposals should state the session title, a description of the 
topic, and the names of key organizers and potential panelists. Panel Session 
topics will be decided by *November 10, 2007*.


Call for Exhibitors at EXPOTools

In addition to the main technical program, the conference will hold a parallel 
exhibition, EXPOTools. This will be a unique opportunity for industry, 
researchers and professionals to exhibit simulation tools, techniques and 
related products. For exhibitor information contact the conference coordinator, 
Zita Rozsa, [EMAIL PROTECTED] by *February 8, 2008*.

---
Call for Poster Session
---
Authors are also invited to submit proposals for poster presentations. Submit a 
ONE page extended abstract in PDF format to [EMAIL PROTECTED] Accepted 
abstracts will be published in the Conference Proceedings. Participants in the 
Poster Session are required to register and present their poster at the 
conference. Poster abstracts are due by *December 10, 2007*. Acceptance 
notifications will be emailed by *December 17, 2007*.

--
Organization Committee
--

General Chairs
Sándor Molnár, Budapest Univ. of Technology and Economics, Hungary John Heath, 
University of So Maine, USA

Technical Program Chairs
Olivier Dalle, Université de Nice Sophia Antipolis, CNRS  INRIA, France

Steering Committee
Imrich Chlamtac, Chair, CreateNet, Italy

Workshops Chairs
Kejie Lu, University of Puerto Rico at Mayaguez, Puerto Rico Hua Zhu, San Diego 
Research Center, USA

Local Chair
Claudia Frydman
LSIS - Université Aix-Marseille, France

Finance Chair
Karen Decker, ICST US

Publication Chair
Tricha 

[ns] TCP congestion window - Problem

2007-06-08 Thread Kacper K

Hi,
This may be simple, but I am wondering if TCP Reno is working fine in 
NS-2. I traced cwnd_ size, and it showed ssth like this:

0   cwnd_   1.000
0.04cwnd_   2.000
0.09cwnd_   3.000
0.1 cwnd_   4.000
0.15cwnd_   5.000
0.15cwnd_   6.000
0.16cwnd_   7.000
0.16cwnd_   8.000
0.2 cwnd_   9.000
0.2 cwnd_   10.000
0.21cwnd_   11.000
0.21cwnd_   12.000
0.22cwnd_   13.000
0.23cwnd_   14.000
0.23cwnd_   15.000
0.24cwnd_   16.000
0.27cwnd_   17.000
0.29cwnd_   8.000
0.37cwnd_   8.125
1.37cwnd_   1.000
1.42cwnd_   2.000
1.47cwnd_   3.000
1.52cwnd_   4.000
1.53cwnd_   4.250
1.57cwnd_   4.485
1.58cwnd_   4.708
1.6 cwnd_   4.921


At the begining TCP reno is performing slow Start till 0.27 when loss is 
detected. What happened next is strange for me... Shouldn't it reduce 
it's sending rate to 1 and start slow start again? It seems as it would 
be trying to perform Fast Retransmit/Fast Recovery instead, but finally 
it reduces cwnd_ to 1...
Could anyone explain it to me??

Best regards,
Kacper


Sopot Toptrendy Festiwal 2007. 
Najważniejsze muzyczne wydarzenie roku! 
POLSAT 8-11 czerwca 2007 r. godz. 20:00
http://klik.wp.pl/?adr=www.toptrendy.wp.plsid=1170




[ns] Help: error when using node generated by create_topology in NS format

2007-06-08 Thread khodor abboud



Hello evry Body,

I am using the NS format generated by brite. when i try to use the node
generated by the procedure create_topology (for monotoring per example), i
have this error :

// can't read n(3): no such variable
while executing
$ns monitor-queue create_topology.$n(3) $n(6) 
invoked from within
set qmon36  [$ns monitor-queue create_topology.$n(3) $n(6) ]
(file topology.tcl line 189)//


the code is :

// proc create_topology {} {
global ns

#nodes:
set num_node 10
for {set i 0} {$i  $num_node} {incr i} {
   set n($i) [$ns mpls-node]
}

set node0 [$ns node]
set node1 [$ns node]

 #links:
set qtype CBQ

$ns duplex-link $node0 $n(3) 10.0Mb 3ms DropTail
$ns duplex-link $n(0) $n(6) 10.0Mb 2.312773335190996ms $qtype
$ns duplex-link $n(1) $n(0) 10.0Mb 2.9694568204843463ms $qtype
$ns duplex-link $n(2) $n(1) 10.0Mb 1.8352240604833803ms $qtype
$ns duplex-link $n(3) $n(2) 10.0Mb 1.5822334297190923ms $qtype
$ns duplex-link $n(4) $n(0) 10.0Mb 1.4360234541568795ms $qtype
$ns duplex-link $n(5) $n(3) 10.0Mb 2.559521441995941ms $qtype
$ns duplex-link $n(6) $n(3) 10.0Mb 0.7953178172063804ms $qtype
$ns duplex-link $n(7) $n(4) 10.0Mb 2.7512102890042183ms $qtype
$ns duplex-link $n(8) $n(7) 10.0Mb 1.6254465755920127ms $qtype
$ns duplex-link $n(9) $n(3) 10.0Mb 0.5596028576377098ms $qtype
$ns duplex-link $n(7) $node1 10.0Mb 3ms DropTail
}

#end function create_topology


set qs 100



## Queue Monitor for some links

set qmon36  [$ns monitor-queue $n(3) $n(6) ]

set qmon63  [$ns monitor-queue $n(6) $n(3) ]

set sample36 [new Samples]

$qmon04 set-delay-samples $sample36

set sample63 [new Samples]

$qmon40 set-delay-samples $sample63

$ns queue-limit $n(3) $n(6) $qs //

Best regards,

_
Ten :  Messenger en illimité sur votre mobile !  
http://mobile.live.fr/messenger/ten/



[ns] one sender-multiple receivers

2007-06-08 Thread Kwnstantina Palla

Hello again,
i would like to ask you, how can we send packets just from one node-source
to miltiple nodes-neighbors.
Can it be done trough UDP agents? or shall i determine my own routing
protocol?
thank you.


[ns] insert-entry - Node

2007-06-08 Thread Alexandre Malhão

Hi,

I'm making a derived class of Connector. Now I need to use 
insert-entry method of Node to insert my class at the entry point of 
any node.

What changes do I need to make inside tcl/lib/ files and common/ ?

Best regards,

Alexandre Malhão

 






[ns] Set bandwidth in mobile nodes...

2007-06-08 Thread super.ismiti

Hi,

I would like to know how to set the bandwidth in a wireless mobile
simulation.
I found many examples and now I don't know what I must use:

MAC set bandwidth_ 2Mb;
LL set bandwidth_ 2Mb;
Rb = 2*1e6;  // 2 Mb and after... [   bind(Rb_, Rb);   ]

Could somebody tell me what is the correct manner?
I am doing simulations in mobile ad-hoc networks and I need to set the
bandwidth of the communication to 2Mb. And I need to set the range to 250m
too.

Thanks in advance,
Ricardo.