summaryrefslogtreecommitdiff
path: root/zebra/rib.h
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2023-04-04 21:10:54 -0500
committerGitHub <noreply@github.com>2023-04-04 21:10:54 -0500
commit92c4494ce5ef69ce436ed06fb03c352987dede0f (patch)
tree02052a43dbf296eb986e489537927b2f6f9e39a6 /zebra/rib.h
parent117bc6ba2b82c71de35934fdc317cd36bdea233e (diff)
parent81322b96b0b1b31a89ce8e292814ed13c2cee9eb (diff)
Merge pull request #13145 from donaldsharp/do_delete
Improve and fix zebra GR
Diffstat (limited to 'zebra/rib.h')
-rw-r--r--zebra/rib.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/zebra/rib.h b/zebra/rib.h
index 26425a331f..a56bb05d68 100644
--- a/zebra/rib.h
+++ b/zebra/rib.h
@@ -180,7 +180,7 @@ struct route_entry {
* sub-queue 9: any other origin (if any) typically those that
* don't generate routes
*/
-#define MQ_SIZE 10
+#define MQ_SIZE 11
struct meta_queue {
struct list *subq[MQ_SIZE];
uint32_t size; /* sum of lengths of all subqueues */
@@ -602,6 +602,12 @@ static inline struct nexthop_group *rib_get_fib_backup_nhg(
return &(re->fib_backup_ng);
}
+extern void zebra_gr_process_client(afi_t afi, vrf_id_t vrf_id, uint8_t proto,
+ uint8_t instance);
+
+extern int rib_add_gr_run(afi_t afi, vrf_id_t vrf_id, uint8_t proto,
+ uint8_t instance);
+
extern void zebra_vty_init(void);
extern pid_t pid;