[ndnSIM] Change an Interest Packet in App

Julian Wulfheide ju.wulfheide at gmail.com
Wed Nov 19 09:02:28 PST 2014


Hi,

I have an App in which I want to mark an Interest packet before it is forwarded.
So I added a new field to the Interest packet as describe here:
http://www.lists.cs.ucla.edu/pipermail/ndnsim/2013-December/001046.html

I was hoping I could now just alter the Interest packet with something
like interest->SetXXX(Y) in my

MonitorApp::OnInterest (Ptr<const ndn::Interest> interest)

but I just now realized that it is constant. What would be the
recommended way of "marking" a packet while it is being forwarded to
its destination?

Thanks!



More information about the ndnSIM mailing list