<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div>Dear Spyridon,<br><br></div>Thank you so much for the last time help.<br></div>I have successfully modified the Interest and data packets so that they now carry additional<br></div>metadata.<br><br></div>Now I am implementing my simulation code. Unfortunately, it requires some modification of<br></div>the simulator itself. <br><br><a href="https://github.com/NDNUtils/NDNSIM/blob/master/src/ndnSIM/NFD/daemon/fw/forwarder.cpp#L144">https://github.com/NDNUtils/NDNSIM/blob/master/src/ndnSIM/NFD/daemon/fw/forwarder.cpp#L144</a><br><br></div>is a piece of my recent implementation.<br><br></div>Simply, I am trying to storing my customed PIT entry into the PIT and CS so on.<br></div>The problem is when I run the modification above, <br>it runs all of the code below<br><a href="https://github.com/NDNUtils/NDNSIM/blob/master/src/ndnSIM/NFD/daemon/table/pit.cpp#L140-205">https://github.com/NDNUtils/NDNSIM/blob/master/src/ndnSIM/NFD/daemon/table/pit.cpp#L140-205</a><br>and<br>it gets stuck at <br><a href="https://github.com/NDNUtils/NDNSIM/blob/master/src/ndnSIM/NFD/daemon/table/name-tree.cpp#L325">https://github.com/NDNUtils/NDNSIM/blob/master/src/ndnSIM/NFD/daemon/table/name-tree.cpp#L325</a><br><br></div>The code must not call that particular function but it is supposed to run <br><a href="https://github.com/NDNUtils/NDNSIM/blob/master/src/ndnSIM/NFD/daemon/table/name-tree.cpp#L339">https://github.com/NDNUtils/NDNSIM/blob/master/src/ndnSIM/NFD/daemon/table/name-tree.cpp#L339</a><br><br></div>But from here, I am at loss. I guess somewhat it runs <br><a href="https://github.com/NDNUtils/NDNSIM/blob/master/src/ndnSIM/NFD/daemon/table/measurements.cpp#L81">https://github.com/NDNUtils/NDNSIM/blob/master/src/ndnSIM/NFD/daemon/table/measurements.cpp#L81</a> <br></div>and it gives an error.<br><br><br></div><div>If you don't mind, could you tell me how to insert my customed PIT entry into the PIT?<br><br></div><div>Lots of love,,<br><br></div><div>inchan hwang<br></div><div><div><br><br><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>