[ndnSIM] How to use ndnSIM helpers to specify custom field in interest packet.
ygor.amaral at gmail.com
Wed Apr 7 16:58:23 PDT 2021
I do not know if I fully understood your question.
ndnSIM has no helpers for creating new interest packet fields.
You need to change the Interest class (ndn-cxx library) to add new fields.
When creating a new interest packet, you will set the value of the new
field, similar to how it is done with the other fields. For example:
shared_ptr<Interest> interest = make_shared<Interest>();
On Tue, Apr 6, 2021 at 3:26 AM Prajjwal Singh <csb17053 at tezu.ac.in> wrote:
> Hello all,
> After adding a custom field, say Priority, to the interest packet, how can
> I make use of ndnSIM helpers to specify this Priority field in the interest
> packets, while installing and specifying prefix to consumer nodes in the
> simulating examples?
> Thanks in advance,
> Prajjwal Singh
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM