diff options
author | Maria Matejka <mq@ucw.cz> | 2023-05-07 23:04:47 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2023-05-11 11:41:01 +0200 |
commit | a818a3011e6543f6e224e37fb8eb46f64bafa490 (patch) | |
tree | 5110e8e95397dc404b61f5447c1b471be3dd5867 /nest/protocol.h | |
parent | bb28b16fd6b9173ffdfaedddb3b2fd6de772674f (diff) |
Channel: configurable feed block size
Diffstat (limited to 'nest/protocol.h')
-rw-r--r-- | nest/protocol.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nest/protocol.h b/nest/protocol.h index e8f19801..4916e756 100644 --- a/nest/protocol.h +++ b/nest/protocol.h @@ -502,6 +502,8 @@ struct channel_config { struct settle_config roa_settle; /* Settle times for ROA-induced reload */ + uint feed_block_size; /* How many routes to feed at once */ + u8 net_type; /* Routing table network type (NET_*), 0 for undefined */ u8 ra_mode; /* Mode of received route advertisements (RA_*) */ u16 preference; /* Default route preference */ @@ -560,6 +562,8 @@ struct channel { u32 refeed_count; /* Number of routes exported during refeed regardless of out_limit */ + uint feed_block_size; /* How many routes to feed at once */ + u8 net_type; /* Routing table network type (NET_*), 0 for undefined */ u8 ra_mode; /* Mode of received route advertisements (RA_*) */ u16 preference; /* Default route preference */ |