summaryrefslogtreecommitdiff
path: root/nest/route.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2021-11-16 12:23:24 +0100
committerMaria Matejka <mq@ucw.cz>2021-11-22 19:05:44 +0100
commitaadf690b14b3ac7773beb63102989fb8c1cdf7db (patch)
treee8968c34d972144159f3f55c5f3e5fc783310823 /nest/route.h
parentdf476c2e5d0684c3beab9058bc85d627b0e4d7ed (diff)
Higher settle times when route refresh in the source table is running
Diffstat (limited to 'nest/route.h')
-rw-r--r--nest/route.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nest/route.h b/nest/route.h
index 531e004b..b5d44040 100644
--- a/nest/route.h
+++ b/nest/route.h
@@ -163,6 +163,7 @@ typedef struct rtable_private {
struct fib fib;
int use_count; /* Number of protocols using this table */
u32 rt_count; /* Number of routes in the table */
+ u32 rr_count; /* Number of running route refresh requests */
list imports; /* Registered route importers */
list exports; /* Registered route exporters */
@@ -220,6 +221,8 @@ struct rtable_config {
byte sorted; /* Routes of network are sorted according to rte_better() */
btime min_settle_time; /* Minimum settle time for notifications */
btime max_settle_time; /* Maximum settle time for notifications */
+ btime min_rr_settle_time; /* Minimum settle time for notifications when route refresh is running */
+ btime max_rr_settle_time; /* Maximum settle time for notifications when route refresh is running */
uint cork_limit; /* Amount of routes to be pending on export to cork imports */
};