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
> Thanks, Alex!
> 12.02.2013, 00:22, "Alex Afanasyev" <alexander.afanasyev at ucla.edu>:
> Hi Natalya,
> There is some description about NACKs in our paper
> 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.,
> 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
> On Feb 11, 2013, at 9:09 AM, Natalya Rozhnova <natalya.rozhnova at lip6.fr>
> 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,
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
Yaogong Wang, PhD Candidate
Department of Computer Science
North Carolina State University
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM