diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-01-15 16:36:31 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-23 15:51:57 +0200 |
commit | 7569ae8bb7390224e16ee416cc0745d427a29818 (patch) | |
tree | 39b2583eb6851b1d8ff59183dbc81084753bc6a1 /lib/zebra.h | |
parent | zebra: use link scope for interface routes (diff) | |
download | frr-7569ae8bb7390224e16ee416cc0745d427a29818.tar.xz frr-7569ae8bb7390224e16ee416cc0745d427a29818.zip |
zebra: support FIB override routes
FIB override routes are for routing protocols that establish
shortcut routes, or establish point-to-point routes that should
not be redistributed. Namely this is useful NHRP daemon to come.
Zebra is extended to select two entries from RIB the "best" entry
from routing protocols, and the FIB entry to install to kernel.
FIB override routes are never selected as best entry, and thus
are never adverticed to other routing daemons. The best FIB
override, or if it does not exist the otherwise best RIB is
selected as FIB entry to be installed.
Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>
[CF: Massage to fit cumulus tree]
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'lib/zebra.h')
-rw-r--r-- | lib/zebra.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/zebra.h b/lib/zebra.h index da069d1df..5bb7dfaf4 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -471,6 +471,7 @@ extern const char *zserv_command_string (unsigned int command); #define ZEBRA_FLAG_STATIC 0x40 #define ZEBRA_FLAG_REJECT 0x80 #define ZEBRA_FLAG_SCOPE_LINK 0x100 +#define ZEBRA_FLAG_FIB_OVERRIDE 0x200 #ifndef INADDR_LOOPBACK #define INADDR_LOOPBACK 0x7f000001 /* Internet address 127.0.0.1. */ |