summaryrefslogtreecommitdiff
path: root/nest/attrs.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2019-08-06 16:58:13 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2019-08-06 16:58:13 +0200
commitef113c6f725349a2ab52f3cbef18403f82c84134 (patch)
treeda3ff7453dbb76cf5cf0290135483171842a0b38 /nest/attrs.h
parente2b530aa729f9c5973e498b45dd6f55ab669d1ac (diff)
Filter: Allow to use sets in path masks
Diffstat (limited to 'nest/attrs.h')
-rw-r--r--nest/attrs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/nest/attrs.h b/nest/attrs.h
index 4efcff79..a17b8c05 100644
--- a/nest/attrs.h
+++ b/nest/attrs.h
@@ -60,16 +60,18 @@ static inline struct adata *as_path_prepend(struct linpool *pool, const struct a
#define PM_ASTERISK 2
#define PM_ASN_EXPR 3
#define PM_ASN_RANGE 4
+#define PM_ASN_SET 5
struct f_path_mask_item {
union {
u32 asn; /* PM_ASN */
struct f_line *expr; /* PM_ASN_EXPR */
+ struct f_tree *set; /* PM_ASN_SET */
struct { /* PM_ASN_RANGE */
u32 from;
u32 to;
};
- };
+ };
int kind;
};