<div dir="auto">Hi, <div dir="auto">You can get node id from custom forwarding strategy, using following  code:</div><div dir="auto">uint32_t nodeId =ns3::Node::NodeList::GetNode(<wbr>ns3:: Simulator::GetContext()))-><wbr>GetId();</div></div>

<br>
<div style="font-size:1.3em"><img src="http://www.somaiya.edu/media/images/top-layer_footer.jpg"></div><div><a href="http://www.somaiya.edu" style="font-size:1.3em" target="_blank"><img src="http://www.somaiya.edu/media/images/svv-logo-email-footer.jpg" style="font-size:1.3em"></a><span style="font-size:1.3em">            </span><a href="http://www.somaiya.edu/kjsmc" style="font-size:1.3em" target="_blank"><img src="http://www.somaiya.edu/media/images/Medical-Logo-email-footer.jpg" style="font-size:1.3em"></a> <a href="http://www.nareshwadi.org" target="_blank"><img src="http://www.somaiya.edu/media/images/Nareshwadi-Logo-email-footer.jpg" style="font-size:62.5%"></a><a href="http://www.somaiya.edu" target="_blank"><img src="http://www.somaiya.edu/media/images/Somaiya-Trust-Logo-email-footer.jpg" style="font-size:62.5%"></a><span style="font-size:1.3em"> </span><a href="http://www.helpachild.in" target="_blank"><img src="http://www.somaiya.edu/media/images/HelpAChild-Logo-email-footer.jpg" style="font-size:62.5%"></a><a href="http://nareshwadi.org" target="_blank"><img src="http://www.somaiya.edu/media/images/PragatiMandal-Logo-email-footer-1.jpg" style="font-size:1.3em"></a></div>