]> git.puffer.fish Git - mirror/frr.git/commit
zebra: add ZEBRA_IPV4_NEXTHOP_LOOKUP_MRIB
authorEverton Marques <everton.marques@gmail.com>
Tue, 1 Jul 2014 18:15:52 +0000 (15:15 -0300)
committerDonald Sharp <sharpd@cumulusnetwroks.com>
Thu, 26 May 2016 00:38:31 +0000 (20:38 -0400)
commit6f61a5a3fcc1e67757b8c0ee7e066b11f5e6af7f
tree2336e58714e613684b0af242221c8a76bd5c12d9
parent492dadb218a7a7bff06b6d129b24b5190a572180
zebra: add ZEBRA_IPV4_NEXTHOP_LOOKUP_MRIB

This adds a new zapi call "ZEBRA_IPV4_NEXTHOP_LOOKUP_MRIB" performing a
Multicast RPF lookup for a given source.  Details of the lookup
behaviour are left to the zebra side of things.

Note: this is non-reactive, as in, only delivers a snapshot of the state
at a particular point in time.  There's no push notification of changes
happening to the RIB.

This combines the following 3 original patches:
- zebra: add zsend_ipv4_nexthop_lookup_mrib()
- zserv: Query mrib (SAFI_MULTICAST).
- zebra: Cleanups to zebra_rib.

Cc: Everton Marques <everton.marques@gmail.com>
Cc: Balaji G <balajig81@gmail.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/zebra.h
zebra/zserv.c