summaryrefslogtreecommitdiff
path: root/nest/attrs.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-06-01 19:32:41 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-06-01 19:32:41 +0200
commit92a72a4cbdd010f69e8d054019770e55a47637e0 (patch)
tree75c45f29473f4ad20a3ff7031ad7720273c1e149 /nest/attrs.h
parentf429d4348275030a9f488046c4021aa377ad1a79 (diff)
Adds support for dynamic pair and bgp mask expressions.
Diffstat (limited to 'nest/attrs.h')
-rw-r--r--nest/attrs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/attrs.h b/nest/attrs.h
index 5542be6f..b838ce96 100644
--- a/nest/attrs.h
+++ b/nest/attrs.h
@@ -35,11 +35,12 @@ int as_path_is_member(struct adata *path, u32 as);
#define PM_ASN 0
#define PM_QUESTION 1
#define PM_ASTERISK 2
+#define PM_ASN_EXPR 3
struct f_path_mask {
struct f_path_mask *next;
int kind;
- u32 val;
+ uintptr_t val;
};
int as_path_match(struct adata *path, struct f_path_mask *mask);