OLSR evaluation using NS2
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.
|