diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2014-10-02 12:46:26 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2014-10-02 12:52:50 +0200 |
commit | 7aa809016e9a2e24ef914888f7413dc1f2721b17 (patch) | |
tree | 57f57e78d86f940fbf78096ffe8bb42a729541c6 /nest/route.h | |
parent | 1123e707400984108f48ac7c1be559f7ed8d9306 (diff) |
Implements show route noexport option.
Shows routes that would be exported to the protocol but are rejected by
the export filter.
Diffstat (limited to 'nest/route.h')
-rw-r--r-- | nest/route.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nest/route.h b/nest/route.h index 82d9e202..5ee04a30 100644 --- a/nest/route.h +++ b/nest/route.h @@ -301,6 +301,12 @@ struct rt_show_data { }; void rt_show(struct rt_show_data *); +/* Value of export_mode in struct rt_show_data */ +#define RSEM_NONE 0 /* Export mode not used */ +#define RSEM_PREEXPORT 1 /* Routes ready for export, before filtering */ +#define RSEM_EXPORT 2 /* Routes accepted by export filter */ +#define RSEM_NOEXPORT 3 /* Routes rejected by export filter */ + /* * Route Attributes * |