[ndnSIM] Get or fine Node name at fowarder.cpp during simulation

Shahram Yousefi shahram2024 at gmail.com
Fri Dec 16 13:58:56 PST 2016


Hi.

I like to add new FIB entry at *fowarder.cpp*, "*onIncomingData*" Method
during simulation.
I know that I can use "*FibHelper::AddRoute*", for Example :

*AddRoute (const std::string &nodeName, const Name &prefix, uint32_t
faceId, int32_t metric)*

For  "prefix"  I can use    *data.getName()*.
For  "faceId"  I can use   * inFace.getId()*.
For  "metric"  I can use    *0 or any other value*.
But I don’t know what should I Use for "*nodeName*".

How could I get or fine Node name at fowarder.cpp during simulation?

Best regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20161217/07b49f94/attachment.html>


More information about the ndnSIM mailing list