diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-02-02 14:06:06 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-02-02 14:06:06 +0000 |
commit | 77d306336665df0202684ea013b56ccab67d48cb (patch) | |
tree | 652858e3d80d9536217068cbab5d9e8c1e7be628 /usr.sbin/bgpd/bgpd.h | |
parent | e48d9cd4078b2e4ea1d1d65efef627a69574921f (diff) |
Implement new special community "neighbor-as". neighbor-as is expanded on
the fly to the remote AS of the current neighbor. This can be used to
simplify rulesets in a dramatic way -- going from a script based nightmare
down to a handfull rules. jajajaja henning@
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r-- | usr.sbin/bgpd/bgpd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index 60ad43caa99..4e91db8ae32 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.189 2006/01/24 15:28:02 henning Exp $ */ +/* $OpenBSD: bgpd.h,v 1.190 2006/02/02 14:06:05 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -532,6 +532,7 @@ struct filter_peers { /* special community type */ #define COMMUNITY_ERROR -1 #define COMMUNITY_ANY -2 +#define COMMUNITY_NEIGHBOR_AS -3 #define COMMUNITY_WELLKNOWN 0xffff #define COMMUNITY_NO_EXPORT 0xff01 #define COMMUNITY_NO_ADVERTISE 0xff02 |