[Ns-developers] Regarding non-OLSR interface problem
gjcarneiro at gmail.com
Sun Feb 14 03:12:32 PST 2010
On Fri, Feb 12, 2010 at 7:40 AM, Lalith Suresh <suresh.lalith at gmail.com>wrote:
> Hello all,
> Regarding the problem of OLSR running on either all or none of the
> interfaces of a node, I was wondering if it could be worked out as follows:
> 1) Maintain a std::set<uint32_t> in OlsrHelper which will contain the
> interfaces to be kept as non-OLSR.
> 2) Add a method to the helper which will allow the user to add required
> interfaces to that set.
> 3) Pass this set to the agent from within the OlsrHelper::Create() method.
> 4) In olsr::RoutingProtocol::DoStart(), we avoid creating sockets on the
> interfaces mentioned in non-OLSR-interface set.
> Is this ok?
Sounds OK to me, though I wonder why we are discussing it outside the bug
> Thanks and regards,
> Lalith Suresh
> Department of Computer Engineering
> Malaviya National Institute of Technology, Jaipur
> +91-9982190365 , www.lalith.in
Gustavo J. A. M. Carneiro
INESC Porto, UTM, WiN, http://win.inescporto.pt/gjc
"The universe is always one step beyond logic." -- Frank Herbert
More information about the Ns-developers