mirror_frr/vtysh
David Lamparter 4a1ab8e405 *: split & distribute memtypes and stop (re|ab)using lib/ MTYPEs
This is a rather large mechanical commit that splits up the memory types
defined in lib/memtypes.c and distributes them into *_memory.[ch] files
in the individual daemons.

The zebra change is slightly annoying because there is no nice place to
put the #include "zebra_memory.h" statement.

bgpd, ospf6d, isisd and some tests were reusing MTYPEs defined in the
library for its own use.  This is bad practice and would break when the
memtype are made static.

Acked-by: Vincent JARDIN <vincent.jardin@6wind.com>
Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>
[CF: rebased for cmaster-next]
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
2016-09-19 16:31:04 -04:00
..
.gitignore [administrivia] Git should ignore backup files and .loT files 2008-08-22 20:00:46 +01:00
extract.pl.in isisd, lib, vtysh: Allow extract.pl to fully work 2016-09-17 07:25:35 -04:00
Makefile.am lib, vtysh: support multiple VRFs by using linux netns 2016-09-09 12:15:14 -04:00
vtysh_config.c *: split & distribute memtypes and stop (re|ab)using lib/ MTYPEs 2016-09-19 16:31:04 -04:00
vtysh_main.c lib: migrate to new memory-type handling 2016-09-19 18:35:50 +02:00
vtysh_user.c vtysh: Fix, guard against NULL pointer dereference 2016-09-03 07:29:21 -04:00
vtysh_user.h vtysh: fix function prototypes 2016-06-08 13:46:41 -04:00
vtysh.c *: split & distribute memtypes and stop (re|ab)using lib/ MTYPEs 2016-09-19 16:31:04 -04:00
vtysh.conf.sample * vtysh.conf.sample: Fix typo "integrated-vtysh-conf" -> 2005-01-23 19:24:46 +00:00
vtysh.h *: split & distribute memtypes and stop (re|ab)using lib/ MTYPEs 2016-09-19 16:31:04 -04:00