<div dir="ltr"><div>Hi,</div><div><br></div><div>In the forwarding strategy code, I am trying to find the node that an incoming Interest originated from. I suspect that this information is somewhere in the PIT entry (possibly in pitEntry->getInRecords()), however I cannot figure out how to find it.</div><div><br></div><div>Does anyone know how to find the origin node of an Interest? I expect the code will look something like this:</div><div><br></div><div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:"Droid Sans Mono","monospace",monospace,"Droid Sans Fallback";font-weight:normal;font-size:14px;line-height:19px;white-space:pre"><div><span style="color:rgb(197,134,192)">if</span><span style="color:rgb(212,212,212)"> (</span><span style="color:rgb(156,220,254)">pitEntry</span><span style="color:rgb(220,220,170)">-></span><span style="color:rgb(220,220,170)">getInRecord</span><span style="color:rgb(212,212,212)">()->...->origin == </span><span style="color:rgb(156,220,254)">nodes</span><span style="color:rgb(212,212,212)">.</span><span style="color:rgb(220,220,170)">Get</span><span style="color:rgb(212,212,212)">(i)) {</span></div><div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:"Droid Sans Mono","monospace",monospace,"Droid Sans Fallback";font-weight:normal;font-size:14px;line-height:19px;white-space:pre"><div><span style="color:rgb(212,212,212)">        </span><span style="color:rgb(156,220,254)">num_interests_per_origin</span><span style="color:rgb(212,212,212)">[</span><span style="color:rgb(156,220,254)">i</span><span style="color:rgb(212,212,212)">] += </span><span style="color:rgb(181,206,168)">1</span><span style="color:rgb(212,212,212)">;</span></div><div><span style="color:rgb(212,212,212)">    }</span></div><div><span style="color:rgb(212,212,212)">}<br></span></div></div><span style="color:rgb(212,212,212)"></span></div></div></div><div><br></div><div>Thanks,</div><div><br></div><div>Eric<br></div></div>