[ndnSIM] how can i tag for Interest and Data package
Spyridon (Spyros) Mastorakis
mastorakis at CS.UCLA.EDU
Sat Jan 7 20:18:39 PST 2017
Hi,
one solution would be to put the score into the name. Another way would be to use an NDNLP tag (take a look here for further details: http://www.lists.cs.ucla.edu/pipermail/ndnsim/2016-December/003250.html). A third way would be to modify the Data and Interest classes of the ndn-cxx library to add the score as a field of the Interest and Data packets.
Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA
> On Jan 7, 2017, at 8:06 PM, dyao at mail.ustc.edu.cn wrote:
>
> Hi, I am working on an application where I want to tag each interest sent by the consumer with a node'score so that when Data return, the node on the path will be able to know whether or not cache the data. so is there a way to put a socre(double) tag inside an interest and Data package?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170107/880900f3/attachment.html>
More information about the ndnSIM
mailing list