[ndnSIM] Transfer Hop Count value from Interest packet to Data packet

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Fri Jun 23 20:18:00 PDT 2017


Hi,

please take a look here that we do something similar for the IncomingFaceIdTag and NextHopFaceIdTag:

https://github.com/named-data-ndnSIM/NFD/blob/0620cfb3c3b99f024c7716db186cdde553357dab/daemon/fw/forwarder.cpp#L218-L227 <https://github.com/named-data-ndnSIM/NFD/blob/0620cfb3c3b99f024c7716db186cdde553357dab/daemon/fw/forwarder.cpp#L218-L227>
https://github.com/named-data-ndnSIM/NFD/blob/0620cfb3c3b99f024c7716db186cdde553357dab/daemon/fw/forwarder.cpp#L247 <https://github.com/named-data-ndnSIM/NFD/blob/0620cfb3c3b99f024c7716db186cdde553357dab/daemon/fw/forwarder.cpp#L247>

Hope this helps,

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA

> On Jun 22, 2017, at 9:57 PM, Farzam Tawos <farzam.tawos at yahoo.com> wrote:
> 
> Dear all,
> 
> I have a question,
> how to transfer Hop Count value from Interest packet to Data packet (ndnsim2.1) in forwarder?
> 
> Thank you,
> 
> Regards,

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


More information about the ndnSIM mailing list