<div dir="ltr">Hi JeffT<div><br></div><div>ndn-cxx is designed for use with NFD. NFD never sends an LpPacket with Nack field and Data in the fragment, so it's unnecessary for ndn-cxx to consider this case.</div><div>ndn-cxx will have undefined behavior if the <u>local</u> NFD is misbehaving.</div><div><br></div><div>NFD, instead, is designed to connect with any NDN forwarder.</div><div>NFD correctly drops an LpPacket with Nack field and Data in the fragment. <a href="https://github.com/named-data/NFD/blob/0de23a29c5c46d7134d03361244fb913159e750c/daemon/face/generic-link-service.cpp#L254-L258">https://github.com/named-data/NFD/blob/0de23a29c5c46d7134d03361244fb913159e750c/daemon/face/generic-link-service.cpp#L254-L258</a></div><div><br></div><div>Yours, Junxiao<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 25, 2016 at 11:45 AM, Thompson, Jeff <span dir="ltr"><<a href="mailto:jefft0@remap.ucla.edu" target="_blank">jefft0@remap.ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">



<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>HI Junxiao,</div>
<div><br>
</div>
<div>I’ve been studying the NDNLPv2 wiki page, to implement Nack in the CCL libraries. It says "When Nack appears on an LpPacket carrying a network layer packet other than an Interest, the packet MUST be dropped."</div>
<div><br>
</div>
<div>It looks like ndn-cxx processes a Data packet normally, even if it was inside a Nack packet. Should the client library drop such a packet?</div>
<div><a href="https://github.com/named-data/ndn-cxx/blob/bb64c17b389c482cb1bfec5bbc2ba13064498560/src/face.cpp#L515" target="_blank">https://github.com/named-data/ndn-cxx/blob/bb64c17b389c482cb1bfec5bbc2ba13064498560/src/face.cpp#L515</a></div>
<div><br>
</div>
<div>Thanks,</div>
<div>- Jeff T</div>
<div><br>
</div>
</div>

</blockquote></div><br></div></div></div>