dear faisal,
you can check out this link http://www.grid.unina
it/~vollero/resources/doc_ns2.27/html/index.html for ns2 source code
documentation.
regards
Mahmudul Haque Azad
Undergraduate Student
Department of Computer Science & Engineering
Bangladesh University of Engineering & Technology
http://www.mhazad.tk
+880 191 622 735
-------Original Message-------
From: Faisal Siddiqui
Date: 05/20/06 11:32:35
To: ns-users
Subject: [ns] Does anyone in this forum has detailed knowledge about the
NS2source code?
Hi,
I am really curious to know if anybody in this forum has detailed knowledge
about the network simulator source code. I have a lot of questions and I
have tried posting it here but haven't received any responses with people
who are the architects of the source code.
I really want to know once the node is created through node.cc, is that node
referenced anywhere else in the source code? I tried to step through each
step of the source code and could not find any reference to it.
In the document, it says that classifiers are associated with each node. Is
there any ways of accessing these classifier from the node itelf? I mean
from the static node list created from node.cc.
Is it possible to access queues associated with each classifier (link)?
The variable target_ is used all over the source code without providing any
satisfactory explanation for its usage in various places. What does target_
really means? Does it means the next hop node for the packet? If thats the
case then why it's address doesn't match with the address of one of the
nodes from the static node list created initially from node.cc?
If someone here knows the inside out of the simulator, please comment on the
above questions.
Thanks,
- Faisal