X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ospfd%2Fospf_route.h;h=5463e70ffba574897dc981387b4da91ecea5f655;hb=787bd3ba6c960a073b94d99764b12c687b32e45a;hp=c3fa5954d57e9361af9227b819a8a493433c45e9;hpb=beb91114ec5fcfa2bca1c7c1358b39c6640aec4c;p=mirror_frr.git diff --git a/ospfd/ospf_route.h b/ospfd/ospf_route.h index c3fa5954d..5463e70ff 100644 --- a/ospfd/ospf_route.h +++ b/ospfd/ospf_route.h @@ -42,6 +42,10 @@ struct sr_nexthop_info { * or NULL if next hop is the destination of the prefix */ struct sr_node *nexthop; + + /* TI-LFA */ + struct mpls_label_stack *backup_label_stack; + struct in_addr backup_nexthop; }; /* OSPF Path. */ @@ -120,8 +124,11 @@ struct ospf_route { struct route_standard std; struct route_external ext; } u; + + bool changed; }; +extern const char *ospf_path_type_name(int path_type); extern struct ospf_path *ospf_path_new(void); extern void ospf_path_free(struct ospf_path *); extern struct ospf_path *ospf_path_lookup(struct list *, struct ospf_path *); @@ -132,7 +139,6 @@ extern void ospf_route_table_free(struct route_table *); extern void ospf_route_install(struct ospf *, struct route_table *); extern void ospf_route_table_dump(struct route_table *); -extern void ospf_route_table_print(struct vty *vty, struct route_table *rt); extern void ospf_intra_add_router(struct route_table *, struct vertex *, struct ospf_area *);