summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_interface.h
diff options
context:
space:
mode:
authorYash Ranjan <ranjany@vmware.com>2021-05-03 13:46:41 +0200
committerYash Ranjan <ranjany@vmware.com>2021-06-28 05:56:10 +0200
commitf71ed6df3e1cc7b1fc0b2e1c8ba3c5ec9c16d89f (patch)
tree21a6b9cb9f565da524050cef40c60b712f5b961d /ospf6d/ospf6_interface.h
parentMerge pull request #8909 from idryzhov/isis-conf (diff)
downloadfrr-f71ed6df3e1cc7b1fc0b2e1c8ba3c5ec9c16d89f.tar.xz
frr-f71ed6df3e1cc7b1fc0b2e1c8ba3c5ec9c16d89f.zip
ospf6d: "clear ipv6 ospf6 process" command
Adding the "clear ipv6 ospf6 command" . It resets the ospfv3 datastructures and clears the database as well as route tables. It resets the neighborship by restarting the interface state machine. If the user wants to change the router-id, this command updates the router-id to the latest static router-id and starts the neighbor formation with the new router-id. Signed-off-by: Yash Ranjan <ranjany@vmware.com>
Diffstat (limited to 'ospf6d/ospf6_interface.h')
-rw-r--r--ospf6d/ospf6_interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospf6d/ospf6_interface.h b/ospf6d/ospf6_interface.h
index 530efc3bd..c9cd74b69 100644
--- a/ospf6d/ospf6_interface.h
+++ b/ospf6d/ospf6_interface.h
@@ -213,6 +213,7 @@ extern int backup_seen(struct thread *);
extern int neighbor_change(struct thread *);
extern void ospf6_interface_init(void);
+extern void ospf6_interface_clear(struct interface *ifp);
extern void install_element_ospf6_clear_interface(void);