[Ns-bugs] [Bug 407] OLSR is missing HNA support
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Mon Feb 15 03:30:31 PST 2010
http://www.nsnam.org/bugzilla/show_bug.cgi?id=407
--- Comment #21 from suresh.lalith at gmail.com 2010-02-15 06:30:31 EDT ---
(In reply to comment #20)
> How does OlsrHelper know which node these integers are associated with? It
> seems like you would need a separate set per node.
I'm thinking of maintaining an exception list (separate set per node). For
nodes that are not included in this list, install OLSR on all interfaces,
whereas for nodes in the exception list, avoid installing it on the interfaces
specified.
I'm thinking of doing this with a std::map< Ptr<node>, std::set<uint32_t> >.
> What is the lower layer API for this? Is a std::set being passed or is it just
> being used within the helper?
My current plan is to implement something like AddException(Ptr<node>,uint32_t)
and using the std::set only within the helper. Should I also add
AddException(Ptr<node>. std::set<uint32_t>)?
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Ns-bugs
mailing list