<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"> Hi!<br>I use the ndnSIM to do my research about the influence of the suppress of PIT.<br>So I want to turn down the function of suppress,that is when a CCN node receive a similar interest from different face,I need the PIT creates a new pit entry.(Do you understand me?)<br>Now I think maybe I need to modify the function   OnInterest()  in <span class="label"><a href="http://ndnsim.net/doxygen/classns3_1_1ndn_1_1_forwarding_strategy.html" class="classns3_1_1ndn_1_1_forwarding_strategy.html">ForwardingStrategy</a>.cc . Is that right? but it is always fail, I really need your help!!!!<br>Because my time is limited£¬ I beg your reply sincerely!!<br>Thank you sooooooo much!<br>Best regards!<br><br>Zhang<br><br>p.s : This is the code I modified,but it is failed. Other place is the same as the original,just this section of OnInterest() is modified.<br><br><br> void<br>ForwardingStrategy::OnInterest (Ptr<Face> inFace,<br>                                Ptr<Interest> interest)</span><span class="label"><br>{<br><br><br>   if (similarInterest && ShouldSuppressIncomingInterest (inFace, interest, pitEntry))<br>     {<br>       Ptr<pit::Entry> similarpitEntry = m_pit->Create (interest);<br>       if (similarpitEntry != 0)<br>         {<br>           DidCreatePitEntry (inFace, interest, similarpitEntry);<br><br>           similarpitEntry->AddIncoming(inFace);<br>           similarpitEntry->UpdateLifetime(interest->GetInterestLifetime());<br>           DidForwardSimilarInterest(inFace, interest,similarpitEntry );<br>         }<br>       else<br>         {<br>           FailedToCreatePitEntry (inFace, interest);<br>           return;<br>         }<br>       //pitEntry->AddIncoming (inFace/*, interest->GetInterestLifetime ()*/);<br>       // update PIT entry lifetime<br>       //pitEntry->UpdateLifetime (interest->GetInterestLifetime ());<br><br>       // Suppress this interest if we're still expecting data from some other face<br>       //NS_LOG_DEBUG ("Suppress interests");<br>       //m_dropInterests (interest, inFace);<br><br>       //DidSuppressSimilarInterest (inFace, interest, pitEntry);<br>       return;<br>     }<br><br> <br> }<br></span></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>