LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   OLSR evaluation using NS2 (https://www.linuxquestions.org/questions/linux-software-2/olsr-evaluation-using-ns2-4175466414/)

ddebbie90 06-17-2013 06:35 PM

OLSR evaluation using NS2
 
1 Attachment(s)
Hello,

I am trying to evaluate the OLSR routing protocol using the NS2 simulation tool. I have run an example scenario and I have used a pwk file to get some statistics. I am ok until this point.

The problem is that I have to modify the existing protocol. To do that, I first need to know information about the routing tables, the bandwidth of the links etc.. To learn this information the OLSR implementation in c++ (which I have patched in NS2) offers a methods (OLSR::command). My problem is how can I invoke from my tcl script the method that is implemented in c++ ?

I have attached in this message my tcl file if anyone has any ideas on how to do that. I am new on this kind of staff so I appreciate your help.


All times are GMT -5. The time now is 12:32 AM.