diff options
| author | rgirada <rgirada@vmware.com> | 2021-07-01 04:55:44 -0700 |
|---|---|---|
| committer | rgirada <rgirada@vmware.com> | 2021-08-10 02:57:23 -0700 |
| commit | 9a06f23d0bd7b0e712ce747c31b22842a8baf15f (patch) | |
| tree | b6f51334a1027b229003ab0c3705c4e248c4a79e /ospf6d/ospf6_gr.h | |
| parent | 0d1753a7db0c8fa3839918ec8eccb207ba1d2594 (diff) | |
ospf6d: GR helper exit scenarios
Description:
Changes to cover all the following GR helper exit scenarios.
1. Upon receiving max age grace lsa.( successful graceful restart)
2. Topo change
3. Grace timer expiry.
4. User changes( like config deletion , interface down)
Signed-off-by: Rajesh Girada <rgirada@vmware.com>
Diffstat (limited to 'ospf6d/ospf6_gr.h')
| -rw-r--r-- | ospf6d/ospf6_gr.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ospf6d/ospf6_gr.h b/ospf6d/ospf6_gr.h index 6336363688..49fc86a4e2 100644 --- a/ospf6d/ospf6_gr.h +++ b/ospf6d/ospf6_gr.h @@ -148,6 +148,13 @@ extern const char *ospf6_rejected_reason_desc[]; extern void ospf6_gr_helper_init(struct ospf6 *ospf6); extern void ospf6_gr_helper_deinit(struct ospf6 *ospf6); +extern void ospf6_gr_helper_exit(struct ospf6_neighbor *nbr, + enum ospf6_helper_exit_reason reason); extern int ospf6_process_grace_lsa(struct ospf6 *ospf6, struct ospf6_lsa *lsa, struct ospf6_neighbor *nbr); +extern void ospf6_process_maxage_grace_lsa(struct ospf6 *ospf, + struct ospf6_lsa *lsa, + struct ospf6_neighbor *nbr); +extern void ospf6_helper_handle_topo_chg(struct ospf6 *ospf6, + struct ospf6_lsa *lsa); #endif /* OSPF6_GR_H */ |
