<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi huyao,<div><br></div><div>1) It is not possible right now, but you can easily implement method <b>pit::Entry::RemoveSeenNonce</b> in <b>pit/ndn-pit-entry.h|cc</b>.  The underlying data structure is a simple std::set.  (Is there a reason you want this functionality?)</div><div><br></div><div>2) You can try to use content store that respects freshness field in DATA packets (<a href="http://ndnsim.net/cs.html#content-stores-respecting-freshness-field-of-contentobjects">http://ndnsim.net/cs.html#content-stores-respecting-freshness-field-of-contentobjects</a>) 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 <a href="https://github.com/NDN-Routing/ndnSIM/blob/master/model/cs/custom-policies/freshness-policy.h#L107">https://github.com/NDN-Routing/ndnSIM/blob/master/model/cs/custom-policies/freshness-policy.h#L107</a> 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.</div><div><br></div><div>Alternatively, you can modify this policy (or better, create a new one) and treat freshness 0 as indication to disable caching.</div><div><br></div><div>---</div><div>Alex</div><div><br></div><div><br><div><div>On Jun 10, 2013, at 7:47 AM, yao hu <<a href="mailto:huyao0107@gmail.com">huyao0107@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi Alex,<div><br></div><div style="">I have two questions about implementation things in ndnsim?</div><div style=""><br></div><div style="">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?</div>
<div style=""><br></div><div style="">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.</div>
<div style=""><br></div><div style="">Thanks very much for your reply!</div><div style=""><br></div><div style=""><br></div><div style="">Regards,</div><div style="">huyao </div></div></blockquote></div></div></body></html>