diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2013-08-15 01:06:47 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2013-08-15 01:06:47 +0200 |
commit | bff9ce5130d16af2fd802d42bdb2bff00980c9ae (patch) | |
tree | 823dda756311b34c5f2dad4f537671f8d732c9c7 /nest/attrs.h | |
parent | 8a112d8ba2e77d79468146ec8f54b3c90b6e68e4 (diff) |
Extends delete/filter operators to work no bgp_paths.
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 12f2fcf4..44a23e18 100644 --- a/nest/attrs.h +++ b/nest/attrs.h @@ -37,6 +37,8 @@ int as_path_get_first(struct adata *path, u32 *orig_as); int as_path_get_last(struct adata *path, u32 *last_as); int as_path_is_member(struct adata *path, u32 as); int as_path_match_set(struct adata *path, struct f_tree *set); +struct adata *as_path_filter(struct linpool *pool, struct adata *path, struct f_tree *set, u32 key, int pos); + #define PM_ASN 0 #define PM_QUESTION 1 |