X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=zebra%2Fzserv.h;h=f0b8934ae13053cfc2a0e988f6c812f3e99b15dc;hb=7e1d580ad730cbc5a522ea9e4dacb0ab0e103ce9;hp=f7967f54f00b18e6afa5da7b5e4db12950ad21bd;hpb=0c9503eb4e71edddd57ae86d2574fd37c46ad4d0;p=mirror_frr.git diff --git a/zebra/zserv.h b/zebra/zserv.h index f7967f54f..f0b8934ae 100644 --- a/zebra/zserv.h +++ b/zebra/zserv.h @@ -73,6 +73,9 @@ struct zserv { struct thread *t_read; struct thread *t_write; + /* Event for message processing, for the main pthread */ + struct thread *t_process; + /* Threads for the main pthread */ struct thread *t_cleanup; @@ -184,6 +187,7 @@ struct zebra_t { /* rib work queue */ #define ZEBRA_RIB_PROCESS_HOLD_TIME 10 +#define ZEBRA_RIB_PROCESS_RETRY_TIME 1 struct work_queue *ribq; struct meta_queue *mq;