[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] Urgent - Reg nodeid in ns!!
Hi,
I have the following question, can you please help me out.
I have the following topology
node0 -
-
- node2 ---- node3
-
node1 -
Now node0 and node1 are the two sources and node3 is the destination node.
According to my needs, I am using a SimpleIntServ queue and there is a
queuemonitor on each link since I need some statistics.
The way the packets flow in this network is that , the packets from node0
first enter the snoopqueueIn object, queue, snoopqueueOut and link
etc.....reach node2 and same thing follows and they reach node3.
I need to attach arrival and service timestamps at node2. i.e. When it
enters the snoopqueueIn object associated with node2 I add arrival timestamp
and when it enters the snoopqueueOut object I add service timestamp.
The question is how do I determine if the snoopqueueIn and out belong to
node2......since each node have their respective snoopqueues.
I thought the only way to know is by trying to figure out the address of
node2 and see if i can access the info in snoopqueue objects since they will
be invoked from the node.....
So can you please tell me how do I get the address of the node to which the
snoopqueue objects belong to.....
Thanks in advance.
Archana