mirror_frr/ripd
Lu Feng bce8e8681a ripd: add ECMP support
* Each node in the routing table is changed into a list, holding
  the multiple equal-cost paths.

* If one of the multiple entries gets less-preferred (greater
  metric or greater distance), it will be directly deleted instead
  of starting a garbage-collection timer for it.
  The garbage-collection timer is started only when the last entry
  in the list gets INFINITY.

* Some new functions are used to maintain the ECMP list. And hence
  rip_rte_process(), rip_redistribute_add() and rip_timeout() are
  significantly simplified.

* rip_zebra_ipv4_add() and rip_zebra_ipv4_delete() now can share
  the common code. The common part is moved to rip_zebra_ipv4_send().

Signed-off-by: Feng Lu <lu.feng@6wind.com>
Reviewed-by: Alain Ritoux <alain.ritoux@6wind.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit b397cf4f0fc484c5ebfc8a680090055c8e6cbe32)

Conflicts:
	ripd/rip_zebra.c
2016-05-26 17:11:05 +00:00
..
.gitignore [administrivia] Update gitignore files 2008-08-22 20:02:08 +01:00
Makefile.am build: Remove the old PIC/PIE patch, let libtool sort it out 2016-05-25 20:38:35 -04:00
rip_debug.c *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
rip_debug.h ripd: resolve debug statements issue (bug 442) 2011-02-24 13:52:14 +03:00
rip_interface.c ripd: add ECMP support 2016-05-26 17:11:05 +00:00
rip_interface.h *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00
rip_main.c quagga: Fixup startup to allow consistency between sysV and systemd 2016-04-27 16:04:48 -04:00
rip_offset.c [cleanup] Convert XMALLOC/memset to XCALLOC 2009-06-12 17:07:49 +01:00
rip_peer.c *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
rip_routemap.c When a route-map configuration is used to set the nexthop to a value, make 2015-06-11 09:19:59 -07:00
rip_snmp.c snmp: fix warnings 2016-05-26 15:33:29 +00:00
rip_zebra.c ripd: add ECMP support 2016-05-26 17:11:05 +00:00
ripd.c ripd: add ECMP support 2016-05-26 17:11:05 +00:00
ripd.conf.sample Initial revision 2002-12-13 20:15:29 +00:00
ripd.h ripd: add ECMP support 2016-05-26 17:11:05 +00:00
RIPv2-MIB.txt Initial revision 2002-12-13 20:15:29 +00:00