]> git.puffer.fish Git - matthieu/frr.git/commit
lib: convert namespace code to use red-black trees
authorRenato Westphal <renato@opensourcerouting.org>
Sat, 29 Oct 2016 01:03:35 +0000 (23:03 -0200)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 28 Nov 2016 18:18:35 +0000 (16:18 -0200)
commitc7fdd84f36a262d062a10c1439121df361ab78d3
tree31751b0f29e4c778abd74aafab19807dffff86e9
parent51bdc5f85ceb5d597924fc5f9b550257972a38fd
lib: convert namespace code to use red-black trees

We definitely need to stop abusing the route table data structure when
it's not necessary.  Convert the namespace code to use red-black trees
instead. This greatly improves code readability.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
lib/ns.c
lib/ns.h