summaryrefslogtreecommitdiffstats
path: root/lib/nexthop_group.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-04-10 21:57:09 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-04-18 00:44:33 +0200
commit98cbbaea91f66df1ad0ad965ceb8977d8d3a8079 (patch)
tree59e2e107a4566c512828c4211bb76588795f3378 /lib/nexthop_group.h
parentpbrd: Use proper decode function for interface (diff)
downloadfrr-98cbbaea91f66df1ad0ad965ceb8977d8d3a8079.tar.xz
frr-98cbbaea91f66df1ad0ad965ceb8977d8d3a8079.zip
lib: Handle if up/down and vrf enable/disable events
Properly notice when we get if up/down and vrf enable/disable events and attempt to properly install nexthops as they come in. Ticket: CM20489 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/nexthop_group.h')
-rw-r--r--lib/nexthop_group.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/nexthop_group.h b/lib/nexthop_group.h
index e9b670d53..a44f4e354 100644
--- a/lib/nexthop_group.h
+++ b/lib/nexthop_group.h
@@ -94,6 +94,11 @@ void nexthop_group_init(
const struct nexthop *nhop),
void (*delete)(const char *name));
+void nexthop_group_enable_vrf(struct vrf *vrf);
+void nexthop_group_disable_vrf(struct vrf *vrf);
+void nexthop_group_interface_state_change(struct interface *ifp,
+ ifindex_t oldifindex);
+
extern struct nexthop *nexthop_exists(struct nexthop_group *nhg,
struct nexthop *nh);