summaryrefslogtreecommitdiffstats
path: root/pimd/pim_iface.h
diff options
context:
space:
mode:
authorChirag Shah <chirag@cumulusnetworks.com>2017-04-11 03:01:53 +0200
committerChirag Shah <chirag@cumulusnetworks.com>2017-05-18 07:42:28 +0200
commitba4eb1bccf8afa4516fa78d510d96161e2363e22 (patch)
tree2b2517460f008fcd00a570e0a18135cf3611c5b7 /pimd/pim_iface.h
parentMerge pull request #537 from donaldsharp/vrf_stuff (diff)
downloadfrr-ba4eb1bccf8afa4516fa78d510d96161e2363e22.tar.xz
frr-ba4eb1bccf8afa4516fa78d510d96161e2363e22.zip
pimd: pim bfd support
All PIM Neighbors for a given pim interface is registered with BFD. Upon receiving BFD status down event, PIM Neighbor with BFD info is deleted. Add pim bfd configuraiton (CLI) per interface, '[no] ip pim bfd' Testing Done: Configure BFD under PIM interface on all neighbor routers, check bfd sessions up, remote end unconfigure BFD, results in BFD session down. Previous state was UP to New state DOWN, results in PIM neighbor delete behind that particular pim interface. Pim-smoke Results: Ran 94 tests in 7409.680s FAILED (SKIP=8, failures=2) Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_iface.h')
-rw-r--r--pimd/pim_iface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pimd/pim_iface.h b/pimd/pim_iface.h
index fa623d45b..a1c2b692f 100644
--- a/pimd/pim_iface.h
+++ b/pimd/pim_iface.h
@@ -24,9 +24,12 @@
#include "if.h"
#include "vty.h"
+#include "vrf.h"
+#include "zclient.h"
#include "pim_igmp.h"
#include "pim_upstream.h"
+#include "bfd.h"
#define PIM_IF_MASK_PIM (1 << 0)
#define PIM_IF_MASK_IGMP (1 << 1)
@@ -127,6 +130,7 @@ struct pim_interface {
uint32_t pim_ifstat_reg_stop_send;
uint32_t pim_ifstat_assert_recv;
uint32_t pim_ifstat_assert_send;
+ struct bfd_info *bfd_info;
};
extern struct interface *pim_regiface;