summaryrefslogtreecommitdiffstats
path: root/nest/attrs.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-04-17 13:11:33 +0200
committerPavel Machek <pavel@ucw.cz>2000-04-17 13:11:33 +0200
commit2a40efa5e6252eb5a5dbe5e82dcd9c67ad7838a9 (patch)
tree6d856eaff0bcfc6b77e477c30acc50b66e1d6565 /nest/attrs.h
parent684c6f5a0e134426159be7dbd514271aea9f4d3d (diff)
downloadbird-2a40efa5e6252eb5a5dbe5e82dcd9c67ad7838a9.tar
bird-2a40efa5e6252eb5a5dbe5e82dcd9c67ad7838a9.zip
as_path_match moved to a-path.c
Diffstat (limited to 'nest/attrs.h')
-rw-r--r--nest/attrs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/nest/attrs.h b/nest/attrs.h
index 67ec52d..ede152c 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);