From cea636640005c9ee9b628ce07a2d467c132941fe Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 28 Apr 2000 15:13:29 +0000 Subject: The `bgp_origin' attribute is now an enum. --- proto/bgp/bgp.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'proto/bgp/bgp.h') diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h index 5c29488..2034df3 100644 --- a/proto/bgp/bgp.h +++ b/proto/bgp/bgp.h @@ -167,4 +167,10 @@ void bgp_log_error(struct bgp_proto *p, char *msg, unsigned code, unsigned subco #define BGP_COMM_NO_ADVERTISE 0xffffff02 /* Don't export at all */ #define BGP_COMM_NO_EXPORT_SUBCONFED 0xffffff03 /* NO_EXPORT even in local confederation */ +/* Origins */ + +#define ORIGIN_IGP 0 +#define ORIGIN_EGP 1 +#define ORIGIN_INCOMPLETE 2 + #endif -- cgit v1.2.3