]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospf6d/ospf6_spf.h
Merge pull request #12105 from opensourcerouting/fix/bgp_list_sequence_handling_frr...
[mirror_frr.git] / ospf6d / ospf6_spf.h
index 523b318d5bbeaf15797dcd412e0fde2ed18ba446..cc52d168614e8086dda7c53a3c5ababe01101b37 100644 (file)
@@ -35,6 +35,8 @@ extern unsigned char conf_debug_ospf6_spf;
 #define IS_OSPF6_DEBUG_SPF(level)                                              \
        (conf_debug_ospf6_spf & OSPF6_DEBUG_SPF_##level)
 
+#define OSPF6_ASE_CALC_INTERVAL 1
+
 PREDECL_SKIPLIST_NONUNIQ(vertex_pqueue);
 /* Transit Vertex */
 struct ospf6_vertex {
@@ -90,6 +92,8 @@ struct ospf6_vertex {
 #define OSPF6_SPF_FLAGS_ROUTER_LSA_ORIGINATED    (1 << 6)
 #define OSPF6_SPF_FLAGS_NETWORK_LSA_ORIGINATED   (1 << 7)
 #define OSPF6_SPF_FLAGS_CONFIG_CHANGE            (1 << 8)
+#define OSPF6_SPF_FLAGS_ASBR_STATUS_CHANGE       (1 << 9)
+#define OSPF6_SPF_FLAGS_GR_FINISH                (1 << 10)
 
 static inline void ospf6_set_spf_reason(struct ospf6 *ospf, unsigned int reason)
 {
@@ -160,5 +164,7 @@ extern struct ospf6_lsa *ospf6_create_single_router_lsa(struct ospf6_area *area,
                                                        struct ospf6_lsdb *lsdb,
                                                        uint32_t adv_router);
 extern void ospf6_remove_temp_router_lsa(struct ospf6_area *area);
-
+extern void ospf6_ase_calculate_timer_add(struct ospf6 *ospf6);
+extern int ospf6_ase_calculate_route(struct ospf6 *ospf6, struct ospf6_lsa *lsa,
+                                    struct ospf6_area *area);
 #endif /* OSPF6_SPF_H */