diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2012-03-15 20:42:29 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2012-03-15 21:07:58 +0100 |
commit | 0888a737b045b48106edbd28ba3cd62fcc8c191e (patch) | |
tree | 5a9321e48934ede411e7f8b1bc2c947c0f2a3b7e /nest/attrs.h | |
parent | 9f1500f50a0196f912eeb97e77ccf6873e186c29 (diff) |
Extends set operations in filters.
Allows add/filter/delete clist on clist (set algebra on clists).
Allows number ~ bgppath match.
Diffstat (limited to 'nest/attrs.h')
-rw-r--r-- | nest/attrs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nest/attrs.h b/nest/attrs.h index 85e4e59a..42f81a10 100644 --- a/nest/attrs.h +++ b/nest/attrs.h @@ -96,6 +96,8 @@ struct adata *int_set_add(struct linpool *pool, struct adata *list, u32 val); struct adata *ec_set_add(struct linpool *pool, struct adata *list, u64 val); struct adata *int_set_del(struct linpool *pool, struct adata *list, u32 val); struct adata *ec_set_del(struct linpool *pool, struct adata *list, u64 val); +struct adata *int_set_union(struct linpool *pool, struct adata *l1, struct adata *l2); +struct adata *ec_set_union(struct linpool *pool, struct adata *l1, struct adata *l2); #endif |