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

Extends delete/filter operators to work no bgp_paths.

This commit is contained in:
Ondrej Zajicek
2013-08-15 01:06:47 +02:00
parent 8a112d8ba2
commit bff9ce5130
5 changed files with 112 additions and 3 deletions

View File

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