summaryrefslogtreecommitdiffstats
path: root/filter/filter.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-11-10 13:44:07 +0100
committerPavel Machek <pavel@ucw.cz>1999-11-10 13:44:07 +0100
commitf453665704cc8d946f86057e67151ef27419e280 (patch)
treea595188a4b3be8acf3b2f9c90fca57522578affe /filter/filter.h
parent6ba36f06ae10ea7efd60c30f8ef40d6143c69ef6 (diff)
downloadbird-f453665704cc8d946f86057e67151ef27419e280.tar
bird-f453665704cc8d946f86057e67151ef27419e280.zip
Enumerational types, defined keyword added.
Diffstat (limited to 'filter/filter.h')
-rw-r--r--filter/filter.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/filter/filter.h b/filter/filter.h
index 4cdf8f6..ebb0925 100644
--- a/filter/filter.h
+++ b/filter/filter.h
@@ -92,7 +92,12 @@ void val_print(struct f_val v);
#define T_INT 0x10
#define T_BOOL 0x11
#define T_PAIR 0x12
-#define T_ENUM 0x13
+
+/* Put enumerational types in 0x30..0x7f range */
+#define T_ENUM_LO 0x30
+#define T_ENUM_HI 0x7f
+
+#define T_ENUM T_ENUM_LO ... T_ENUM_HI
/* Bigger ones */
#define T_IP 0x20