summaryrefslogtreecommitdiff
path: root/nest/route.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-08-02 17:55:47 +0200
committerMaria Matejka <mq@ucw.cz>2022-08-02 17:55:47 +0200
commitde5b884280fef52cf3307f336262a7c61f3acbfe (patch)
treeb615c8df1a41248cb6b945244a6bff37904a226a /nest/route.h
parent3b20722a1fc777c27ab2e0451d0ea3fee7fa81a2 (diff)
Revert "Table cork: Stop creating updates when there are too many pending."
This reverts commit 3b20722a1fc777c27ab2e0451d0ea3fee7fa81a2.
Diffstat (limited to 'nest/route.h')
-rw-r--r--nest/route.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/nest/route.h b/nest/route.h
index 310cea92..88a56073 100644
--- a/nest/route.h
+++ b/nest/route.h
@@ -157,7 +157,6 @@ struct rtable_config {
btime min_settle_time; /* Minimum settle time for notifications */
btime max_settle_time; /* Maximum settle time for notifications */
btime export_settle_time; /* Delay before exports are announced */
- uint cork_limit; /* Amount of routes to be pending on export to cork imports */
};
typedef struct rtable {
@@ -188,9 +187,6 @@ typedef struct rtable {
int gc_counter; /* Number of operations since last GC */
byte prune_state; /* Table prune state, 1 -> scheduled, 2-> running */
byte nhu_state; /* Next Hop Update state */
-
- byte cork_active; /* Congestion control activated */
-
struct fib_iterator prune_fit; /* Rtable prune FIB iterator */
struct fib_iterator nhu_fit; /* Next Hop Update FIB iterator */
struct tbf rl_pipe; /* Rate limiting token buffer for pipe collisions */
@@ -382,8 +378,6 @@ struct rt_export_hook {
void (*stopped)(struct rt_export_request *); /* Stored callback when export is stopped */
};
-extern struct event_cork rt_cork;
-
#define TIS_DOWN 0
#define TIS_UP 1
#define TIS_STOP 2