<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi guys,<br>
<br>
I have a problem when attempt to change the <b><i>Interest</i></b>
packet in the ndn router. <br>
<br>
For now, I am still using the 1st version ndnSIM because I am
working on some legacy codes I wrote before. I guess my doubt comes
from the <i><b>Interest/Data</b></i> class. Hope it will not be a
problem.<br>
<br>
I add some attributes in class Interest, in addition to the Name,
Nonce, etc. When the Interest packet is delivered to some router and
is processed by <i><b>OnInterest</b></i> function in class <i><b>ForwardingStrategy</b></i>,
I change the value of the attribute I add. However, according to the
debug information, this change does not take effect (the value is
set 0) when this Interest packet is forwarded to the next-hop
router.<br>
<br>
I doubt it may have something to do with the <i><b>m_wire</b></i>
in class <i><b>Interest/Data </b></i>but I don't understand what
it is used for. Could you give me some clues on how to fix it?<br>
<br>
Thank you very much.<br>
<br>
Best,<br>
<br>
Wenjie Li<br>
</body>
</html>