diff options
author | Martin Mares <mj@ucw.cz> | 2000-04-28 15:13:29 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-04-28 15:13:29 +0000 |
commit | cea636640005c9ee9b628ce07a2d467c132941fe (patch) | |
tree | 5ceba7f7ad159ce62efaafe5457eba2b712cb53f /proto/bgp/bgp.h | |
parent | a412f01ea84709b9af0113acc5aa2ce3dad1d292 (diff) |
The `bgp_origin' attribute is now an enum.
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r-- | proto/bgp/bgp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h index 5c29488a..2034df38 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 |