[ndnSIM] NACKs

Yaogong Wang ywang15 at ncsu.edu
Mon Feb 11 09:48:07 PST 2013

Adding my two cents:

If you are looking for the specific code where NACKs are generated, it is
in Nacks::DidReceiveDuplicateInterest() and
Nacks::DidExhaustForwardingOptions() under model/fw/nacks.cc. The former
generates NACK_LOOP and the latter generates NACK_GIVEUP_PIT. It appears to
me that, in the current implementation, congestion also
generates NACK_GIVEUP_PIT rather than NACK_CONGESTION.


On Mon, Feb 11, 2013 at 12:41 PM, Natalya Rozhnova <natalya.rozhnova at lip6.fr
> wrote:

> Thanks, Alex!
>  Best,
> Natalya
> 12.02.2013, 00:22, "Alex Afanasyev" <alexander.afanasyev at ucla.edu>:
> Hi Natalya,
> There is some description about NACKs in our paper
> http://dx.doi.org/10.1016/j.comcom.2013.01.005
> For the implementation, only routers generate NACKs, and this code is part
> of specialized forwarding strategy extension "ns3::ndn::fw::Nacks"
> (model/fw/nacks.h and model/fw/nacks.cc).
> Currently, all existing forwarding strategies have this extension, but
> NACKs generation is disabled by default.  At the same time, just enabling
> NACKs for strategy like BestRoute or Flooding could only trigger NACKs with
> code NACK_LOOP and NACK_GIVEUP_PIT (in some cases).  For congestion related
> behavior described in the paper, you would want to use specialized strategy
> that enforces some kind of Interest limits (e.g.,
> ns3::ndn::fw::BestRoute::PerOutFaceLimits).
> You can check out and play with the congestion scenario that was used for
> the paper here: https://github.com/cawka/ndnSIM-comcom-stateful-fw
> Sincerely,
> Alex
> On Feb 11, 2013, at 9:09 AM, Natalya Rozhnova <natalya.rozhnova at lip6.fr>
> wrote:
> Hi all,
> I have a question about NACK implementation in NDNSim. I'm just wondering
> how it is working in existing ndnSIM code. Who generates and sends NACK
> packets: producer or routers?
> Also, could you please refer me to the function generating and sending
> Thanks a lot,
> Natalya
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

Yaogong Wang, PhD Candidate
Department of Computer Science
North Carolina State University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130211/7c5b9c23/attachment.html>

More information about the ndnSIM mailing list