From c6add07fa6ca8366fbdcfcd9bc2872c129378366 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 17 Apr 2000 10:18:55 +0000 Subject: Printing of AS paths and community sets. --- nest/attrs.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'nest/attrs.h') diff --git a/nest/attrs.h b/nest/attrs.h index c1a96f9..fc960fb 100644 --- a/nest/attrs.h +++ b/nest/attrs.h @@ -12,5 +12,13 @@ /* a-path.c */ 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); + +#define AS_PATH_SET 1 /* Types of path segments */ +#define AS_PATH_SEQUENCE 2 + +/* a-set.c */ + +void int_set_format(struct adata *set, byte *buf, unsigned int size); #endif -- cgit v1.2.3