[ndnSIM] Pending Interest Table

Alex Afanasyev alexander.afanasyev at ucla.edu
Sun Apr 28 13:32:24 PDT 2013


Hi Xee,

I'm not sure what do you mean by the producer side, since producers only satisfy interests, they don't deal with interest lifetime in any way...

As for the consumer side.  How are you expecting to know PIT sizes, and which PIT sizes are you thinking about?  On the consumer node (kind of possible, but requires communicating between app and ndn::L3Protocol)?  If you want something more, you will need to implement some additional protocol to exchange PIT sizes and communicate them back to the consumer, but I'm not sure how can that be implemented. Of course, in the simulator you can cheat in many ways and get hold of any node from any other node, but it still would require some deep hacking.

As for changing interest lifetime, there is a call GetInterestLifetime and SetInterestLifetime in ndn::Interest class. You can use them to get/set lifetime of a specific interest. 

---
Alex

On Apr 27, 2013, at 6:06 PM, "Xee" <1839750381 at qq.com> wrote:

> Hi Alex
> 
> Thanks for your email, I want to change the lifetime of Interest packets both at the consumer and producer side. I need to change the lifetime value for interests packet in PIT, based on number of PIT entries of the available space in PIT.
> 
> rgd,
> -Xee
> 
> ------------------ Original ------------------
> From:  "Alex Afanasyev"<alexander.afanasyev at ucla.edu>;
> Date:  Apr 28, 2013
> To:  "Xee"<1839750381 at qq.com>;
> Cc:  "ndnsim"<ndnsim at lists.cs.ucla.edu>;
> Subject:  Re: [ndnSIM] Pending Interest Table
> 
> Hi Xee,
> 
> Can you explain in more detail what you want to achieve?  What do you mean by PIT value?
> 
> When you saying that you want to change lifetime of the interests, do you want to do that at the consumer side? or rewrite interest by the forwarding strategy? or just adjust time (NDN router is not really required to fully honor lifetime specified in the Interest) the interests are kept in PIT on a specific node?
> 
> ---
> Alex
> 
> On Apr 27, 2013, at 8:12 AM, "Xee" <1839750381 at qq.com> wrote:
> 
> > Hi Alex
> > 
> > I have need to change lifetime of interest packet based on PIT value, I have tried to the program code "ndn-simple-with-pit-count-stats" to process some PIT entries values. I am unable to process the PIT values from function to program main body, it may be because I am not strong in C++ language. I need your help me to do this.
> > 
> > rgd
> > -Xee
> > _______________________________________________
> > ndnSIM mailing list
> > ndnSIM at lists.cs.ucla.edu
> > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

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


More information about the ndnSIM mailing list