diff options
author | Maria Matejka <mq@ucw.cz> | 2022-09-09 15:04:36 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-09-09 18:53:15 +0200 |
commit | 974f16b1f70ae8b7fa4efa6a217988e1811069e7 (patch) | |
tree | 4a0f0851c92f8c4e6ef1fb5496b85391062ef981 /nest/protocol.h | |
parent | 31e881bcbd59cf55c8614a7a7324d4a7ed8f3ed8 (diff) |
Created a dedicated settle timer structure
Diffstat (limited to 'nest/protocol.h')
-rw-r--r-- | nest/protocol.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/nest/protocol.h b/nest/protocol.h index e9461d41..0bf894f8 100644 --- a/nest/protocol.h +++ b/nest/protocol.h @@ -12,6 +12,7 @@ #include "lib/lists.h" #include "lib/resource.h" #include "lib/event.h" +#include "lib/settle.h" #include "nest/rt.h" #include "nest/limit.h" #include "conf/conf.h" @@ -462,8 +463,7 @@ struct channel_config { struct channel_limit in_limit; /* Limit for importing routes from protocol */ struct channel_limit out_limit; /* Limit for exporting routes to protocol */ - btime min_settle_time; /* Minimum settle time for ROA-induced reload */ - btime max_settle_time; /* Maximum settle time for ROA-induced reload */ + struct settle_config roa_settle; /* Settle times for ROA-induced reload */ u8 net_type; /* Routing table network type (NET_*), 0 for undefined */ u8 ra_mode; /* Mode of received route advertisements (RA_*) */ @@ -492,8 +492,7 @@ struct channel { struct limit in_limit; /* Input limit */ struct limit out_limit; /* Output limit */ - btime min_settle_time; /* Minimum settle time for ROA-induced reload */ - btime max_settle_time; /* Maximum settle time for ROA-induced reload */ + struct settle_config roa_settle; /* Settle times for ROA-induced reload */ u8 limit_actions[PLD_MAX]; /* Limit actions enum */ u8 limit_active; /* Flags for active limits */ |