From 92a72a4cbdd010f69e8d054019770e55a47637e0 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Mon, 1 Jun 2009 19:32:41 +0200 Subject: Adds support for dynamic pair and bgp mask expressions. --- nest/attrs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nest/attrs.h') 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); -- cgit v1.2.3