From a0fe1944d12771d60986a352552e5f4b306e5f7f Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Wed, 8 Jun 2016 16:22:44 +0200 Subject: Add AS# ranges to bgpmask. --- nest/attrs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nest/attrs.h') 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); -- cgit v1.2.3