summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2004-05-21 15:36:41 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2004-05-21 15:36:41 +0000
commit66ad79cdaaf232c69e2c23b334663335e31c41b9 (patch)
treea6de6ef4f185bb33d75dc21e42f684238002cd31 /usr.sbin/bgpd/bgpd.h
parent7ab3008b01a67c9f78cd18812453911c9fd48581 (diff)
RFC 2796 bgp route reflector support. This is very useful in conjunction
with templates. looks good, go for it henning@
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r--usr.sbin/bgpd/bgpd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index ba5d5efac8f..9ddd92d22c8 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.124 2004/05/21 11:48:56 claudio Exp $ */
+/* $OpenBSD: bgpd.h,v 1.125 2004/05/21 15:36:40 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -50,6 +50,7 @@
#define BGPD_FLAG_NO_FIB_UPDATE 0x0001
#define BGPD_FLAG_NO_EVALUATE 0x0002
+#define BGPD_FLAG_REFLECTOR 0x0004
#define BGPD_LOG_UPDATES 0x0001
@@ -111,6 +112,7 @@ struct bgpd_config {
int opts;
u_int16_t as;
u_int32_t bgpid;
+ u_int32_t clusterid;
u_int16_t holdtime;
u_int16_t min_holdtime;
int flags;
@@ -203,6 +205,7 @@ struct peer_config {
enum enforce_as enforce_as;
struct peer_auth auth;
u_int8_t capabilities;
+ u_int8_t reflector_client;
enum reconf_action reconf_action;
};