Hi, I am trying to find out how to extract routing information from a tcl file. I have implemented an algorithm in c++ that takes routing tables as an input and outputs a 3D matrix of channel assignment for each active mobile node for each route.
The main question is how to extract a routing table. Taking one of the standard tcl examples: wireless-simple-mac.tcl (with "set val(rp) AODV" instead of "set val(rp) DumbAgent" ) : My understanding is that the " create-god $val(nn) " stores all the routes in the simulation. Some soureces say that the route has to be printed from the aodv_rtable.cc ... I would greatly appreciate if someone could submit step by step instructions on how to extract routing tables. Thank you, Nisar
