<div dir="auto"><div>Hi Ju<div dir="auto"><br></div><div dir="auto">FIB entry with zero length name may have zero next hop records. Such an empty isn't stored in FIB, but FIB lookup methods may return it so that forwarding doesn't need to check whether FIB entry is null.</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 4, 2019, 17:46 Ju Pan <<a href="mailto:pjokk722@email.arizona.edu">pjokk722@email.arizona.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear folks,<br>
<br>
In NFD Developer Guide, there is a potential conflict in the<br>
description about a Fib entry's nexthop collection.<br>
<br>
1. In Chapter3 Tables --> 3.1 Forwarding Information Base (FIB) --><br>
3.1.1 Structure and Semantics<br>
--> FIB entry and NextHop record, it says:<br>
<br>
"A FIB entry (nfd::fib::Entry) contains a name prefix and a non-empty<br>
collection of NextHop records."<br>
(It says a FIB entry contains a non-empty collection of NextHop<br>
records, in 3.1.2 Usage part, it says a FIB entry losing its last<br>
nexthop record is deleted.)<br>
<br>
2. In Chapter 4 Forwarding --> 4.5 Helper Algorithms --> 4.5.1 FIB<br>
lookup --> 1, it says:<br>
<br>
"FIB guarantees that Longest Prefix Match returns a valid FIB entry;<br>
however, a FIB entry may contain empty set of NextHop records, which<br>
could effectively result (but, strictly speaking, is not required to<br>
happen) in the strategy rejecting the Interest."<br>
(It says a FIB entry may contain an empty set of NextHop records.)<br>
<br>
I think the actual NFD was implemented as the former way. (erase the<br>
Fib entry if it doesn't have any nexthop)<br>
<br>
Could someone confirm this conflict or point out what did I<br>
misunderstand? Thanks.<br>
<br>
Regard,<br>
Ju<br><br>
</blockquote></div></div></div>