<html><head><meta http-equiv="Content-Type" content="text/html charset=koi8-r"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Natalya,</div><div><br></div><div>NACKs would be generated if DoPropagateInterest return false.  TrySendOutInterest method makes an attempt to send out interest over the face and in your code I see that attempt to try next face would be aborted if m_drop_cause is not equal to 1 (e.g., if it is 1, only one face should be tried in most of the cases).   Is this m_drop_cause a configuration parameter or something that is set for each attempt? </div><div><br></div><div>Another side question.  Are you intentionally not using metric to rank faces (<span class="n" style="margin: 0px; padding: 0px; border: 0px; color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 11.818181991577148px; line-height: 14.545454025268555px; white-space: pre; background-color: rgb(255, 255, 255); ">fib</span><span class="o" style="margin: 0px; padding: 0px; border: 0px; font-weight: bold; color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 11.818181991577148px; line-height: 14.545454025268555px; white-space: pre; background-color: rgb(255, 255, 255); ">::</span><span class="n" style="margin: 0px; padding: 0px; border: 0px; color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 11.818181991577148px; line-height: 14.545454025268555px; white-space: pre; background-color: rgb(255, 255, 255); ">i_nth</span> instead of <span class="n" style="margin: 0px; padding: 0px; border: 0px; color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 11.818181991577148px; line-height: 14.545454025268555px; white-space: pre; background-color: rgb(255, 255, 255); ">fib</span><span class="o" style="margin: 0px; padding: 0px; border: 0px; font-weight: bold; color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 11.818181991577148px; line-height: 14.545454025268555px; white-space: pre; background-color: rgb(255, 255, 255); ">::</span><span class="n" style="margin: 0px; padding: 0px; border: 0px; color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 11.818181991577148px; line-height: 14.545454025268555px; white-space: pre; background-color: rgb(255, 255, 255); ">i_metric</span>)?</div><div><br></div><div>---</div><div>Alex</div><br><div><div>On Mar 9, 2013, at 1:47 PM, Natalya Rozhnova <<a href="mailto:natalya.rozhnova@lip6.fr">natalya.rozhnova@lip6.fr</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Alex,</div><div> </div><div>I want to re-send an Interest to next available face if the current one is unavailable because of any special reason. I trace the second face and see that it receives rerouted Interests but sometimes I see that the node generates a NACK rather than resend the Interest to the next face (it even doesn't try to choose the next face and just exits from DoPropagateInterest function ). So, there is something wrong in my implementation or in manually generated FIB... Could you tell me please, do I use a correct way for changing faces?</div><div>I rewrite DoPropagateInterest function and choose the interface as follows:</div><div> </div><div>BOOST_FOREACH (const fib::FaceMetric &metricFace, pitEntry->GetFibEntry ()->m_faces.get<fib::i_nth> ())<br>      {<br>          if (!TrySendOutInterest (inFace, metricFace.m_face, header, origPacket, pitEntry))<br>          {<br>              if(m_drop_cause == 1)<br>                 continue;             </div><div>              else break;<br>          }<br>      propagatedCount++;<br>      break;<br>   }<br>      return propagatedCount > 0;</div><div> </div><div>Is it correct and the problem should not come from this piece?</div><div> </div><div>Thanks,</div><div>Natalya</div>_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></blockquote></div><br></body></html>