<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">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).</div><div class=""><br class=""></div><div class="">Ultimately, you can update wire format and add your own values.  Though it would involve a lot of work.</div><div class=""><br class=""></div><div class="">—</div><div class="">Alex</div><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 2, 2014, at 7:20 PM, X.M.Cui <<a href="mailto:sducxm@gmail.com" class="">sducxm@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><span style="font-family:arial,sans-serif;font-size:14px" class="">Dear All,</span><div style="font-family:arial,sans-serif;font-size:14px" class=""><br class=""></div><div style="font-family:arial,sans-serif;font-size:14px" class="">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? </div><div style="font-family:arial,sans-serif;font-size:14px" class="">Thanks a lot!</div><div style="font-family:arial,sans-serif;font-size:14px" class=""><br class=""></div><div style="font-family:arial,sans-serif;font-size:14px" class="">Regards,</div><div style="font-family:arial,sans-serif;font-size:14px" class="">Xingmin</div><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature">Best regards<br class=""><br class="">Xingmin</div></div></div></blockquote><br class=""></div></body></html>