summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-03-11 12:54:21 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-03-11 12:54:21 +0000
commit9cf558b328c8aee614395d1731b9dafa0d2ca9bb (patch)
tree49978b6b33a570b0469b0743bc607e86d0b2a162 /usr.sbin/bgpd/bgpd.h
parente45069d653342d4463f4f43fcc2fd66dbc4d4c31 (diff)
Finally commit the transparent-as and nexthop no-modify stuff I wrote on the
way to FOSDEM. With transparent-as set to ye bgpd will not prepend his own AS for sent updates. NB the neighbor needs to set "enforce neighbor-as no" or it will not like the received AS paths. With set nexthop no-modify bgpd will change the nexthop as done normaly. OK henning@ man page update with help of jmc@
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r--usr.sbin/bgpd/bgpd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index 77b623e6d6b..5633c3aa05a 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.155 2005/02/01 21:36:01 henning Exp $ */
+/* $OpenBSD: bgpd.h,v 1.156 2005/03/11 12:54:19 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -53,6 +53,7 @@
#define BGPD_FLAG_REFLECTOR 0x0004
#define BGPD_FLAG_DECISION_MASK 0x0f00
#define BGPD_FLAG_DECISION_ROUTEAGE 0x0100
+#define BGPD_FLAG_DECISION_TRANS_AS 0x0200
#define BGPD_LOG_UPDATES 0x0001
@@ -544,6 +545,7 @@ enum action_types {
ACTION_SET_NEXTHOP,
ACTION_SET_NEXTHOP_REJECT,
ACTION_SET_NEXTHOP_BLACKHOLE,
+ ACTION_SET_NEXTHOP_NOMODIFY,
ACTION_SET_COMMUNITY,
/* ACTION_SCRUB_COMMUNITY, */
ACTION_PFTABLE