summaryrefslogtreecommitdiff
path: root/nest/protocol.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2020-03-09 15:31:10 +0100
committerMaria Matejka <mq@ucw.cz>2021-11-09 19:20:41 +0100
commit8f3942a97e16370f5c22e9c39ddbfe63b38bd5ce (patch)
tree991563705788b01b2bcb4ef83f53f40229b08109 /nest/protocol.h
parentc56752e4367733c03a05e65ba62ccd2e54f7aadd (diff)
Route export: rejected by filter bitmap
If a route has been rejected by filter, store that information to avoid repeated export filter runs on rejected routes.
Diffstat (limited to 'nest/protocol.h')
-rw-r--r--nest/protocol.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/protocol.h b/nest/protocol.h
index 9be8e531..4c87c72d 100644
--- a/nest/protocol.h
+++ b/nest/protocol.h
@@ -511,7 +511,8 @@ struct channel {
struct rtable *table;
const struct filter *in_filter; /* Input filter */
const struct filter *out_filter; /* Output filter */
- struct bmap export_map; /* Keeps track which routes passed export filter */
+ struct bmap export_map; /* Keeps track which routes were really exported */
+ struct bmap export_reject_map; /* Keeps track which routes were rejected by export filter */
struct channel_limit rx_limit; /* Receive limit (for in_keep_filtered) */
struct channel_limit in_limit; /* Input limit */
struct channel_limit out_limit; /* Output limit */