]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zebra_ptm.h
isisd: implement the 'lsp-too-large' notification
[mirror_frr.git] / zebra / zebra_ptm.h
index ada4f7b4f7dad4ca62eab4dd0d4ca6a64caf5ed0..d0cdaf0bce8781f7409d297a0c041ad43d42a973 100644 (file)
@@ -59,6 +59,15 @@ struct zebra_ptm_cb {
 #define ZEBRA_IF_PTM_ENABLE_ON     1
 #define ZEBRA_IF_PTM_ENABLE_UNSPEC 2
 
+#define IS_BFD_ENABLED_PROTOCOL(protocol) ( \
+       (protocol) == ZEBRA_ROUTE_BGP || \
+       (protocol) == ZEBRA_ROUTE_OSPF || \
+       (protocol) == ZEBRA_ROUTE_OSPF6 || \
+       (protocol) == ZEBRA_ROUTE_ISIS || \
+       (protocol) == ZEBRA_ROUTE_PIM || \
+       (protocol) == ZEBRA_ROUTE_OPENFABRIC \
+)
+
 void zebra_ptm_init(void);
 void zebra_ptm_finish(void);
 int zebra_ptm_connect(struct thread *t);