diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2020-05-18 16:25:08 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2020-05-18 16:25:08 +0200 |
commit | ec430a7feefd3b32ee39c641a48c44528d0eab25 (patch) | |
tree | 2faac868b9ad1daddc3bea6253ac7d1de7560323 /nest/attrs.h | |
parent | 5fc8407177fd34f2d57441a8ff9a068f4162fbfb (diff) |
Nest: Implement BGP path mask loop operator
Implement regex-like '+' operator in BGP path masks to match previous
path mask item multiple times. This is useful as ASNs may appear
multiple times in paths due to path prepending for traffic engineering
purposes.
Diffstat (limited to 'nest/attrs.h')
-rw-r--r-- | nest/attrs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/attrs.h b/nest/attrs.h index d88a73f3..50da817b 100644 --- a/nest/attrs.h +++ b/nest/attrs.h @@ -61,6 +61,7 @@ static inline struct adata *as_path_prepend(struct linpool *pool, const struct a #define PM_ASN_EXPR 3 #define PM_ASN_RANGE 4 #define PM_ASN_SET 5 +#define PM_LOOP 6 struct f_path_mask_item { union { |