summaryrefslogtreecommitdiffstats
path: root/filter/filter.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-04-12 15:07:53 +0200
committerPavel Machek <pavel@ucw.cz>2000-04-12 15:07:53 +0200
commitdcab78904794156483878b4b8cd924e30a71bcdd (patch)
tree3ee8c297a8ae5db2feb3a3368ba5e7b0177ba92a /filter/filter.h
parentc3edb89ec141355de58fbade353d4b2182c62c1e (diff)
downloadbird-dcab78904794156483878b4b8cd924e30a71bcdd.tar
bird-dcab78904794156483878b4b8cd924e30a71bcdd.zip
Renamed f_path to f_path_mask -- which is what it really is. Use
linklist instead of array of signed integers for path mask.
Diffstat (limited to 'filter/filter.h')
-rw-r--r--filter/filter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/filter.h b/filter/filter.h
index ecfd88d..ab33739 100644
--- a/filter/filter.h
+++ b/filter/filter.h
@@ -50,8 +50,8 @@ struct f_val {
} val;
};
-struct f_path {
- struct f_path *next;
+struct f_path_mask {
+ struct f_path_mask *next;
int val;
};
@@ -115,7 +115,7 @@ void val_print(struct f_val v);
#define T_IP 0x20
#define T_PREFIX 0x21
#define T_STRING 0x22
-#define T_PATH 0x23 /* BGP path */
+#define T_PATH_MASK 0x23 /* mask for BGP path */
#define T_RETURN 0x40
#define T_SET 0x80