diff options
author | Everton Marques <everton.marques@gmail.com> | 2014-07-01 20:15:52 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-05-26 02:38:31 +0200 |
commit | 6f61a5a3fcc1e67757b8c0ee7e066b11f5e6af7f (patch) | |
tree | 2336e58714e613684b0af242221c8a76bd5c12d9 /lib/zebra.h | |
parent | zebra: add rib_match_ipv4_safi() (diff) | |
download | frr-6f61a5a3fcc1e67757b8c0ee7e066b11f5e6af7f.tar.xz frr-6f61a5a3fcc1e67757b8c0ee7e066b11f5e6af7f.zip |
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>
Diffstat (limited to 'lib/zebra.h')
-rw-r--r-- | lib/zebra.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/zebra.h b/lib/zebra.h index 38a1889e7..8ba105de3 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -455,7 +455,8 @@ struct in_pktinfo #define ZEBRA_BFD_CLIENT_REGISTER 46 #define ZEBRA_INTERFACE_ENABLE_RADV 47 #define ZEBRA_INTERFACE_DISABLE_RADV 48 -#define ZEBRA_MESSAGE_MAX 49 +#define ZEBRA_IPV4_NEXTHOP_LOOKUP_MRIB 49 +#define ZEBRA_MESSAGE_MAX 50 /* Marker value used in new Zserv, in the byte location corresponding * the command value in the old zserv header. To allow old and new |