summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_bfd.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-07-22 21:35:37 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-07-22 21:35:37 +0200
commit7f342629a9eae034138fd542734fe2e6eca8085d (patch)
treee11971e7ac8a8d76ee978dd19691efe64570ebc1 /bgpd/bgp_bfd.h
parentWhen IPv6 peer BFD down status is received by BGP, all the the peers for whic... (diff)
downloadfrr-7f342629a9eae034138fd542734fe2e6eca8085d.tar.xz
frr-7f342629a9eae034138fd542734fe2e6eca8085d.zip
This patch changes ospfd from only listening mode for BFD status updates to interactive mode of dynamically registering/deregistering neighbors discovered on BFD enabled interfaces with PTM/BFD through zebra. Neighbor is registered with BFD when 2-way adjacency is established and deregistered when adjacency goes down if the BFD is enabled on the interface through which the neighbor was discovered.
OSPF BFD command enhancement to configure BFD parameters (detect multiplier, min rx and min tx). interface <if-name> ip ospf bfd <detect mult> <min rx> <min tx> This patch also adds BFD support for IPv6 OSPF. ospf6d will dynamically register/deregister IPv6 neighbors with BFD for monitoring the connectivity of the neighbor. Neighbor is registered with BFD when 2-way adjacency is established and deregistered when adjacency goes down if the BFD is enabled on the interface through which the neighbor was discovered. OSPF6 BFD command added to configure BFD and parameters (detect multiplier, min rx and min tx). interface <if-name> ipv6 ospf6 bfd <detect mult> <min rx> <min tx> Signed-off-by: Radhika Mahankali <radhika@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Kanna Rajagopal <kanna@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_bfd.h')
-rw-r--r--bgpd/bgp_bfd.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/bgpd/bgp_bfd.h b/bgpd/bgp_bfd.h
index 8c72c231e..97ad093ee 100644
--- a/bgpd/bgp_bfd.h
+++ b/bgpd/bgp_bfd.h
@@ -24,31 +24,10 @@
#ifndef _QUAGGA_BGP_BFD_H
#define _QUAGGA_BGP_BFD_H
-#define BGP_BFD_DEF_MIN_RX 300
-#define BGP_BFD_DEF_MIN_TX 300
-#define BGP_BFD_DEF_DETECT_MULT 3
-
-#define BGP_BFD_FLAG_PARAM_CFG (1 << 0) /* parameters have been configured */
-#define BGP_BFD_FLAG_BFD_REG (1 << 1) /* Peer registered with BFD */
-
-struct bgp_bfd_peer_info
-{
- u_int16_t flags;
- u_int8_t detect_mult;
- u_int32_t desired_min_tx;
- u_int32_t required_min_rx;
-};
-
extern void
bgp_bfd_init(void);
extern void
-bgp_bfd_peer_init(struct peer *peer);
-
-extern void
-bgp_bfd_peer_free(struct peer *peer);
-
-extern void
bgp_bfd_peer_group2peer_copy(struct peer *conf, struct peer *peer);
extern void
@@ -58,9 +37,6 @@ extern void
bgp_bfd_deregister_peer (struct peer *peer);
extern void
-bgp_bfd_update_peer (struct peer *peer);
-
-extern void
bgp_bfd_peer_config_write(struct vty *vty, struct peer *peer, char *addr);
extern void