[ndnSIM] Are there any reserved bits in the Data packet in ndnSIM?
alexander.afanasyev at ucla.edu
Thu Nov 13 17:58:00 PST 2014
Would it be better (simpler) to use something in the data name to indicate the intended behavior? Given you control the whole scenario, it could be trivial to assume that second from the last component defines “flags” that are using during the forwarding process (I wouldn’t use the last one, as its meaning is already implicitly defined by ndn::Consumer and ndn::Producer classes).
Ultimately, you can update wire format and add your own values. Though it would involve a lot of work.
> On Nov 2, 2014, at 7:20 PM, X.M.Cui <sducxm at gmail.com> wrote:
> Dear All,
> I am simulating a routing protocol using ndnSIM. This protocol requires to check whether the Data Packet has a certain attribute and act in different ways according to this attribute. I am thinking of setting some reserved bits in the Data packet when the packet is created by the producer and to decide the routing strategy based on these bits. Could anyone tell me whether there are any bits that I can manipulate in the Data packet and how should I set these bits?
> Thanks a lot!
> Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM