summaryrefslogtreecommitdiffstats
path: root/lib/zebra.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 02:47:23 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 02:47:23 +0200
commitd5a5c8f05bc4637dcb113f8285f7db6cfb924b6c (patch)
treebd1312d37bb30dfac8d41ee56ae88bce27889996 /lib/zebra.h
parentzebra: zebra-client-info-detail.patch (diff)
downloadfrr-d5a5c8f05bc4637dcb113f8285f7db6cfb924b6c.tar.xz
frr-d5a5c8f05bc4637dcb113f8285f7db6cfb924b6c.zip
This patch adds support for a new BFD session down message from zebra to
protocols. BGP and OSPF are integrated to respond this BFD session down message originated in Zebra via ptmd. BGP and OSPF now have a bfd command, which tells OSPF/BGP to respond to the BFD session down message. OSPF: interface <> ip ospf bfd BGP: router bgp <> neighbor <> bfd Please note that these commands don't enable BFD as a protocol. BFD configuration and paramter tuning are via BFD applicable UI. Signed-off-by: Vipin Kumar <vipin@cumulusnetworks.com> Reviewed-by: Shrijeet Mukherjee <shm@cumulusnetworks.com>
Diffstat (limited to 'lib/zebra.h')
-rw-r--r--lib/zebra.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index 7d68530ba..794a457ea 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -429,7 +429,8 @@ struct in_pktinfo
#define ZEBRA_NEXTHOP_UPDATE 26
#define ZEBRA_INTERFACE_NBR_ADDRESS_ADD 27
#define ZEBRA_INTERFACE_NBR_ADDRESS_DELETE 28
-#define ZEBRA_MESSAGE_MAX 29
+#define ZEBRA_INTERFACE_BFD_DEST_DOWN 29
+#define ZEBRA_MESSAGE_MAX 30
/* Marker value used in new Zserv, in the byte location corresponding
* the command value in the old zserv header. To allow old and new