summaryrefslogtreecommitdiffstats
path: root/filter/filter.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2011-08-12 21:03:43 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2011-08-14 13:55:02 +0200
commit42a0c05408c4151442e6a0ec1c6889acbcfe9c17 (patch)
tree5a4992c5fa66256987e335ffe94ee960ed1ff9db /filter/filter.h
parentbde872bba745e5596bdb066df6ef323b7cabcfdd (diff)
downloadbird-42a0c05408c4151442e6a0ec1c6889acbcfe9c17.tar
bird-42a0c05408c4151442e6a0ec1c6889acbcfe9c17.zip
BGP Extended communities.
Diffstat (limited to 'filter/filter.h')
-rw-r--r--filter/filter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/filter/filter.h b/filter/filter.h
index c3eb8b4..2cf4652 100644
--- a/filter/filter.h
+++ b/filter/filter.h
@@ -46,6 +46,7 @@ struct f_val {
int type;
union {
int i;
+ u64 ec;
/* ip_addr ip; Folded into prefix */
struct f_prefix px;
char *s;
@@ -152,6 +153,8 @@ int tree_compare(const void *p1, const void *p2);
#define T_PATH_MASK 0x23 /* mask for BGP path */
#define T_PATH 0x24 /* BGP path */
#define T_CLIST 0x25 /* Community list */
+#define T_ECLIST 0x26 /* Extended community list */
+#define T_EC 0x27 /* Extended community value, u64 */
#define T_RETURN 0x40
#define T_SET 0x80