[ndnSIM] Customizing PIT implementation

Alex Afanasyev alexander.afanasyev at ucla.edu
Fri Jun 27 09:31:27 PDT 2014


Hi Matteo,

You can simply implement a completely new PIT, which conforms to ndn::Pit interface.
You don't really need to use policies and existing implementation, if you're not really using any from this (as I understand you want to do this).

---
Alex

On Jun 27, 2014, at 6:17 AM, Matteo Virgilio <matteo.virgilio at polito.it> wrote:

> Hi all,
> I am looking for a fast and simple way to implement my own PIT on
> ndnSIM. In essence, I just want to hash names before putting them into
> the PIT so that they all have a fixed size. I am aware that the PIT
> implementation is based on templates and policies but it is not clear to
> me how to extend and customize the behaviour. I think having a short
> tutorial or a skeleton code that can be used to fully manipulate the PIT
> behaviour, would be helpful (probably also for others). I already
> customized many other parts of ndnSIM (forwarding strategy,
> applications, etc...) but I still miss a clear way to do this with the
> PIT :)
> Could anyone give me some hints on how to reach my goal?
> 
> Thank you in advance,
> Matteo
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim





More information about the ndnSIM mailing list