]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/rib.h
isisd: implement the 'lsp-too-large' notification
[mirror_frr.git] / zebra / rib.h
index f821c6edb4cfa0377d0202437d78aa08d6e6584d..ae25a0e67980acd6593863782c42d039938197fa 100644 (file)
@@ -91,6 +91,9 @@ struct route_entry {
        /* Nexthop information. */
        uint8_t nexthop_num;
        uint8_t nexthop_active_num;
+
+       /* Sequence value incremented for each dataplane operation */
+       uint32_t dplane_sequence;
 };
 
 /* meta-queue structure:
@@ -279,8 +282,6 @@ extern enum multicast_mode multicast_mode_ipv4_get(void);
 extern void rib_lookup_and_dump(struct prefix_ipv4 *p, vrf_id_t vrf_id);
 extern void rib_lookup_and_pushup(struct prefix_ipv4 *p, vrf_id_t vrf_id);
 
-extern int rib_lookup_ipv4_route(struct prefix_ipv4 *p, union sockunion *qgate,
-                                vrf_id_t vrf_id);
 #define ZEBRA_RIB_LOOKUP_ERROR -1
 #define ZEBRA_RIB_FOUND_EXACT 0
 #define ZEBRA_RIB_FOUND_NOGATE 1
@@ -355,7 +356,7 @@ extern uint8_t route_distance(int type);
  */
 static inline rib_table_info_t *rib_table_info(struct route_table *table)
 {
-       return (rib_table_info_t *)table->info;
+       return (rib_table_info_t *)route_table_get_info(table);
 }
 
 /*