[ndnSIM] nonce value deletion in PIT entry

yao hu huyao0107 at gmail.com
Wed Jun 12 08:14:34 PDT 2013

Hi Alex,

Thanks for your reply.

My thought is that when an intersecting node receives a duplicate Interest
(with the same nonce), it returns a kind of Interest Nack message to its
downstream node which will delete the nonce value from the PIT entry, while
it will not influence other pending Interest (with different Nonce)

As for the fressness field in Data packets, could I specify a special value
for responding just one kind of Interest, but not all Data packets in the


2013/6/11 Alex Afanasyev <alexander.afanasyev at ucla.edu>

> Hi huyao,
> 1) It is not possible right now, but you can easily implement method *
> pit::Entry::RemoveSeenNonce* in *pit/ndn-pit-entry.h|cc*.  The underlying
> data structure is a simple std::set.  (Is there a reason you want this
> functionality?)
> 2) You can try to use content store that respects freshness field in DATA
> packets (
> http://ndnsim.net/cs.html#content-stores-respecting-freshness-field-of-contentobjects)
> and then set up different freshness parameter (SetFreshness) in different
> DATA packets. If you set freshness to 1ns (if you set up 0, freshness
> policy
> https://github.com/NDN-Routing/ndnSIM/blob/master/model/cs/custom-policies/freshness-policy.h#L107 will
> assume that DATA packet should be cached for as long as possible), which
> will force this specific packet to be removed from cache almost immediately.
> Alternatively, you can modify this policy (or better, create a new one)
> and treat freshness 0 as indication to disable caching.
> ---
> Alex
> On Jun 10, 2013, at 7:47 AM, yao hu <huyao0107 at gmail.com> wrote:
> Hi Alex,
> I have two questions about implementation things in ndnsim?
> 1) About nonce value deletion in PIT entry. I know, for one node, one PIT
> entry has a list of nonces, could I just delete a specific nonce from the
> list of nonces, rather than deleting the whole PIT entry?
> 2) About on-path Data caching. Could I specify an Interest to fetch a Data
> from the content provider, and the Data will be not cached in intermediate
> nodes on the return path? This does not influence the Data in-network
> caching triggered by other Interests.
> Thanks very much for your reply!
> Regards,
> huyao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130613/7b0236ee/attachment.html>

More information about the ndnSIM mailing list