summaryrefslogtreecommitdiff
path: root/zebra/rib.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/rib.h')
-rw-r--r--zebra/rib.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/zebra/rib.h b/zebra/rib.h
index 64bbaf3e76..e20084f8cf 100644
--- a/zebra/rib.h
+++ b/zebra/rib.h
@@ -185,6 +185,10 @@ struct route_entry {
* don't generate routes
*/
#define MQ_SIZE 11
+
+/* For checking that an object has already queued in some sub-queue */
+#define MQ_BIT_MASK ((1 << MQ_SIZE) - 1)
+
struct meta_queue {
struct list *subq[MQ_SIZE];
uint32_t size; /* sum of lengths of all subqueues */
@@ -625,6 +629,8 @@ extern pid_t pid;
extern bool v6_rr_semantics;
+extern uint32_t rt_table_main_id;
+
/* Name of hook calls */
#define ZEBRA_ON_RIB_PROCESS_HOOK_CALL "on_rib_process_dplane_results"