diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-01-07 10:03:01 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-08-16 11:00:22 -0400 |
| commit | 039f3a3495b9b19e486d296de57a8ba46f9a8c87 (patch) | |
| tree | 7e99170e3abc58e6a2dad057873330b859c267b3 /lib/filter.h | |
| parent | 6bcd6029f1143b62f005c3508df3b3021787f898 (diff) | |
lib, bgpd, tests: Refactor FILTER_X in zebra.h
lib/zebra.h has FILTER_X #define's. These do not belong there.
Put them in lib/filter.h where they belong.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
(cherry picked from commit 0490729cc033a3483fc6b0ed45085ee249cac779)
Diffstat (limited to 'lib/filter.h')
| -rw-r--r-- | lib/filter.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/filter.h b/lib/filter.h index 37535cb13b..e6ccd33b3a 100644 --- a/lib/filter.h +++ b/lib/filter.h @@ -25,6 +25,11 @@ #include "if.h" +/* Filter direction. */ +#define FILTER_IN 0 +#define FILTER_OUT 1 +#define FILTER_MAX 2 + /* Filter type is made by `permit', `deny' and `dynamic'. */ enum filter_type { |
