diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2016-02-16 17:33:58 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2016-02-16 17:33:58 +0100 |
commit | 9c9cc35c0273f8bcae10fb8b546d199514b2bbc5 (patch) | |
tree | 060b7ebe4012294ee4468a47cb4e73e3f6b1f0c1 /nest/attrs.h | |
parent | c2106b674ca632f7c0bffd7cab4b1940f74d353c (diff) |
Filter: Implement last_nonaggregated operator on bgp_path
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 1d005a6a..0171c6a8 100644 --- a/nest/attrs.h +++ b/nest/attrs.h @@ -35,6 +35,7 @@ int as_path_getlen(struct adata *path); int as_path_getlen_int(struct adata *path, int bs); int as_path_get_first(struct adata *path, u32 *orig_as); int as_path_get_last(struct adata *path, u32 *last_as); +u32 as_path_get_last_nonaggregated(struct adata *path); int as_path_contains(struct adata *path, u32 as, int min); 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); |