[ndnSIM] Interest Nack

Alex Afanasyev alexander.afanasyev at ucla.edu
Wed Jun 5 10:02:23 PDT 2013


Hi huyao,

To get NACK type from Interest, you can use Interest::GetNack() method (http://ndnsim.net/doxygen/classns3_1_1ndn_1_1_interest.html#a8071c5f879364e1541fd74ecc549cebf).


If you really want the packet format (not just API), it is defined here: http://ndnsim.net/ndnsim-packet-formats.html#interest (I just added clarification about NackType field)

---
Alex

On Jun 5, 2013, at 7:57 AM, yao hu <huyao0107 at gmail.com> wrote:

> Hi Alex,
> 
> Does any document explain the Interest Nack packet format in the current ndnsim? How do I get the error code (duplicate, congestion..) in an Interest Nack?
> 
> Thanks a lot~
> 
> 
> Regards,
> huyao

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130605/cd3cbc76/attachment.html>


More information about the ndnSIM mailing list