[ndnSIM] Having different behavior on different nodes
aa at CS.UCLA.EDU
Wed May 25 11:27:44 PDT 2016
You will have to add some hack into the code. You can include ns-3 headers and then use Simulator::GetContext() to know simulation node to which the forwarder belongs. Using this one, you can a fork in the pipeline processing.
> On May 25, 2016, at 2:51 AM, Muhammad Hosain Abdollahi Sabet <mhasabet at gmail.com> wrote:
> Hi all,
> How can I define different forwarding pipelines for nodes? I mean for example some nodes check something additional, but others follow the normal(current) pipeline. Do we have a shorter way than extending another pipeline?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the ndnSIM