[ndnSIM] Adding route manually

Natalya Rozhnova rozhnova.natalya at gmail.com
Sat Apr 16 04:46:40 PDT 2016


Hi Asif,

Why do you want to use the FibHelper while in the forwarder you can directly operate with FIB.
Just add the desired output face to the FIB entry for the desired prefix…

Best,
Natalya


> Le 16 avr. 2016 à 13:27, Shahid Md. Asif Iqbal <asifcsep at gmail.com> a écrit :
> 
> Dear All,
> How can i add a route manually from the forwarder.cpp file? My scenario is, after receiving data(onReceiveData()) with name "/data/R/00" from face i, I want to add a route manually (using fibhelper) for prefix "data/D/00" with face i as the faceid to reach the nexthop. I can use the Addroute() function but it is not possible to get the node(GetNode()) who is currently accessing the forwarder.
> 
> Thanks 
> Asif
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim





More information about the ndnSIM mailing list