summaryrefslogtreecommitdiff
path: root/nest/attrs.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2016-06-08 16:22:44 +0200
committerOndrej Filip <feela@network.cz>2016-06-08 16:22:44 +0200
commita0fe1944d12771d60986a352552e5f4b306e5f7f (patch)
tree48383090906b9011fa85f2a93ce670afe43cd9c5 /nest/attrs.h
parent90dc0f08434323535f84d64e113dae84675c46b2 (diff)
Add AS# ranges to bgpmask.
Diffstat (limited to 'nest/attrs.h')
-rw-r--r--nest/attrs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nest/attrs.h b/nest/attrs.h
index 0171c6a8..670b048f 100644
--- a/nest/attrs.h
+++ b/nest/attrs.h
@@ -45,11 +45,13 @@ struct adata *as_path_filter(struct linpool *pool, struct adata *path, struct f_
#define PM_QUESTION 1
#define PM_ASTERISK 2
#define PM_ASN_EXPR 3
+#define PM_ASN_RANGE 4
struct f_path_mask {
struct f_path_mask *next;
int kind;
uintptr_t val;
+ uintptr_t val2;
};
int as_path_match(struct adata *path, struct f_path_mask *mask);