[ndnSIM] Question on the use of the custom-ed attribute of a packet.

황인찬 neogeoss at ajou.ac.kr
Mon Nov 7 06:00:10 PST 2016


Dear NDN researchers,

I have added an additional attribute(metadata) to an Interest and a data
packet.
Currently, I use it like this below

https://github.com/NDNUtils/NDNSIM/blob/master/src/ndnSIM/apps/ndn-consumer.cpp#L188-L191

Name myName;
myName.append("AB");
shared_ptr<Name> uidName = make_shared<Name>(myName);
uidName->appendSequenceNumber(seq);

However, this way seems to be so primitive.
I believe that there must be a way to set my additional attribute in the
script file.

Can any of you tell me how to use this additional attribute in a script
file?
I hope this is simple to do it.

Best wishes,

inchan hwang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20161107/95d78197/attachment.html>


More information about the ndnSIM mailing list