1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

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.
This commit is contained in:
Ondrej Zajicek (work)
2020-05-18 16:25:08 +02:00
parent 5fc8407177
commit ec430a7fee
7 changed files with 86 additions and 29 deletions

View File

@@ -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 {