[ndnSIM] Why remove tag before inserting to CS?

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Thu Jun 13 13:47:27 PDT 2019


You do not make another copy per se. You create a pointer to the data.

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

> On Jun 13, 2019, at 1:45 PM, Muktadir R Chowdhury (mrchwdhr) <mrchwdhr at memphis.edu> wrote:
> 
> Why are you making another copy of the data? Why not remove the tag from the original packet?
> 
> -Alvy
> From: Spyridon (Spyros) Mastorakis <mastorakis at cs.ucla.edu>
> Sent: Friday, June 14, 2019 2:32 AM
> To: Muktadir R Chowdhury (mrchwdhr)
> Cc: ndnsim
> Subject: Re: [ndnSIM] Why remove tag before inserting to CS?
>  
> It should remove only the HopCount tag.
> 
>> On Jun 13, 2019, at 1:30 PM, Muktadir R Chowdhury (mrchwdhr) <mrchwdhr at memphis.edu <mailto:mrchwdhr at memphis.edu>> wrote:
>> 
>> Hi All,
>> I am a bit confused about this line <https://github.com/named-data-ndnSIM/NFD/blob/49f22b05e1a57b0a88d90cc0111f9a1d7a5cbd21/daemon/fw/forwarder.cpp#L312>. Is it removing all the tags, or just HopCount tag? 
>> 
>> It seems to me that it is removing all the tags. Because, when I am running the experiment, if the data is served from content store, the data packet does not have any tags that producer node attached to it.
>> 
>> -Muktadir

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


More information about the ndnSIM mailing list