[Nfd-dev] Fwd: Modify data packet

Junxiao Shi shijunxiao at email.arizona.edu
Sun Feb 7 20:19:00 PST 2016


---------- Forwarded message ----------
From: "Klaus Schneider" <klaus at cs.arizona.edu>
Date: Feb 7, 2016 21:11
Subject: Modify data packet
To: "Junxiao Shi" <shijunxiao at email.arizona.edu>
Cc:

Hi Junxiao,

is it possible to modify the data packet inside the call
beforeSatisfyInterest(shared_ptr<pit::Entry> pitEntry, const Face& inFace,
const Data& data) ?

Can I for example set a new type like this:

data.getMetaInfo().setType(XY);

I tried it, but it doesn't seem to work for me.

Best regards,
Klaus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20160207/29e25c45/attachment.html>


More information about the Nfd-dev mailing list