]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospf6d/ospf6_top.h
Merge pull request #12798 from donaldsharp/rib_match_multicast
[mirror_frr.git] / ospf6d / ospf6_top.h
index 77156f961d3d5b0fee3f23e17c92e35d0e5eb395..08595a69d0c2f9b661fcd425473f29c5e00aab8c 100644 (file)
@@ -1,21 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2003 Yasuhiro Ohara
- *
- * This file is part of GNU Zebra.
- *
- * GNU Zebra is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2, or (at your option) any
- * later version.
- *
- * GNU Zebra is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; see the file COPYING; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #ifndef OSPF6_TOP_H
@@ -70,7 +55,7 @@ struct ospf6_gr_info {
 };
 
 struct ospf6_gr_helper {
-       /* Gracefull restart Helper supported configs*/
+       /* Graceful restart Helper supported configs*/
        /* Supported grace interval*/
        uint32_t supported_grace_time;
 
@@ -228,9 +213,11 @@ struct ospf6 {
        /* Action for aggregation of external LSAs */
        int aggr_action;
 
+       uint32_t seqnum_l; /* lower order Sequence Number */
+       uint32_t seqnum_h; /* higher order Sequence Number */
 #define OSPF6_EXTL_AGGR_DEFAULT_DELAY 5
        /* For ASBR summary delay timer */
-       int aggr_delay_interval;
+       uint16_t aggr_delay_interval;
        /* Table of configured Aggregate addresses */
        struct route_table *rt_aggr_tbl;
 
@@ -251,6 +238,7 @@ extern void install_element_ospf6_clear_process(void);
 extern void ospf6_top_init(void);
 extern void ospf6_delete(struct ospf6 *o);
 extern bool ospf6_router_id_update(struct ospf6 *ospf6, bool init);
+void ospf6_restart_spf(struct ospf6 *ospf6);
 
 extern void ospf6_maxage_remove(struct ospf6 *o);
 extern struct ospf6 *ospf6_instance_create(const char *name);