<p dir="ltr">This is an intentional limitation: strategy only has access to the current FIB entry.<br>
See NFD devguide "strategy API" section for more information.</p>
<div class="gmail_quote">On Feb 11, 2016 18:19, "Lei Liu" <<a href="mailto:bigcatlei@gmail.com">bigcatlei@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello, NFD developers, <br><br>I am just wondering in the forwarding strategy program (e.g. best-route-strategy2.cpp), can we read/get the full FIB table information? If yes, how to do that? <br><br><div>If I understand correctly, in the current program<br><br></div><div>BestRouteStrategy2::afterReceiveInterest(const Face& inFace, const Interest& interest,<br>shared_ptr<fib::Entry> fibEntry, shared_ptr<pit::Entry> pitEntry), </div><div><br></div><div>we only get a FIB entry which satisfies the Longest Prefix Matching for a given Interest, am I right? <div><br></div><div>Please advise, </div><div>Thanks, </div><div><br></div><div>Best regards, </div><div>Lei<br><div><br></div></div></div></div>
<br>_______________________________________________<br>
Nfd-dev mailing list<br>
<a href="mailto:Nfd-dev@lists.cs.ucla.edu">Nfd-dev@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a><br>
<br></blockquote></div>