[ns] add many mobile on the network

2011-10-15 Thread RamiHach
Dear all, I am simulating handover between wifi and wimax and I am trying to add 2,4,6,8 and 10 mobile on the wifi Access Point. I added 2 muti-interface containing each one face wifi and one face wimax, and when I try to add the third interface I got an error of : At 0.222090087 Mclassifier

[ns] Cluster based protocols Source code

2011-10-15 Thread Divya G
Hello friends..!! I'm doing a survey on analysis of different cluster based protocols, can you please help me in finding the codes of new protocols like CEDAR, CGSR, CBRP, HCR, CIDR, OCRP. Thanks Regards, Divya.G

[ns] Calculating Queue Length at a wireless node

2011-10-15 Thread JyothiR
Hi, I am trying to implement a new routing protocol for MANETs, for which I need to calculate the number of packets waiting at a node (Or) the length of the queue. I know how to calculate the queue length on a wired network (for which the queue is on the link instead of on the node, I am

Re: [ns] Queue block problem

2011-10-15 Thread JyothiR
Hi, There would be a variable called 'blocked_' in the queue class. If it is set to 1, it gets blocked. I don't know how it can reset itself though. What kind of network are you working on? I am trying to find the current queue size to use in my routing protocol, can you tell me the code you

Re: [ns] Queue block problem

2011-10-15 Thread Natalya
Hi, Yes, I know this variable blocked_ but I don't know why the queue may be blocked itself... So it is not already important. Concerning to the access to the queue length, there is 2 solutions : 1. I use the pointer to the node I interested. the problem is to identify the node, link and queue