diff options
author | Pavel Machek <pavel@ucw.cz> | 2000-04-17 11:11:33 +0000 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2000-04-17 11:11:33 +0000 |
commit | 2a40efa5e6252eb5a5dbe5e82dcd9c67ad7838a9 (patch) | |
tree | 6d856eaff0bcfc6b77e477c30acc50b66e1d6565 /nest/attrs.h | |
parent | 684c6f5a0e134426159be7dbd514271aea9f4d3d (diff) |
as_path_match moved to a-path.c
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); |