<div>Hi Jiande</div><div><br></div><div>In NFD, FIB is exclusively controlled by the RIB, which in turn can only be updated via prefix registration commands (either from applications or routing protocols).</div><div>To implement a dynamic FIB from a flood-and-learn forwarding strategy, you'll have to use the measurements table.</div><div>For example, to create a dynamic "FIB entry" at /prefix/testA, the strategy can insert a measurements entry at that prefix, and attach a StrategyInfo onto the measurements entry. When forwarding an Interest, the strategy needs to consult the real FIB which contains entries from local applications and routing protocols, as well as measurements table which contains dynamic entries.</div><div>Caution: do not attempt to make a "dynamic FIB" structure inside a strategy. The strategy can only store information in measurements. Strategy subclass itself must be stateless.</div><div><br></div><div>Yours, Junxiao</div><div><br><div class="gmail_quote"><div>On Tue, May 2, 2017 at 21:21 呂建德 <<a href="mailto:v0918732669@gmail.com">v0918732669@gmail.com</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><br></div><div>I know that it must have a FIB entry for an Interest to be forwared.</div><div><br></div><div>The scenrio is below</div><div>FIB endtry : /prefix</div><div>interest : /prefix/testA</div><div><br></div><div>when data packet come back , can I update the FIB entry or add a new FIB entry for "/prefix/testA" ?</div><div><br></div></div>
</blockquote></div></div>