diff options
Diffstat (limited to 'nest/attrs.h')
-rw-r--r-- | nest/attrs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nest/attrs.h b/nest/attrs.h index 67ec52d8..ede152ce 100644 --- a/nest/attrs.h +++ b/nest/attrs.h @@ -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); |