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

as_path_match moved to a-path.c

This commit is contained in:
Pavel Machek
2000-04-17 11:11:33 +00:00
parent 684c6f5a0e
commit 2a40efa5e6
3 changed files with 76 additions and 67 deletions

View File

@@ -18,6 +18,14 @@ struct adata *as_path_prepend(struct linpool *pool, struct adata *olda, int as);
void as_path_format(struct adata *path, byte *buf, unsigned int size);
int as_path_getlen(struct adata *path);
struct f_path_mask {
struct f_path_mask *next;
int val;
};
#define PM_ANY -1
int as_path_match(struct adata *path, struct f_path_mask *mask);
/* a-set.c */
void int_set_format(struct adata *set, byte *buf, unsigned int size);