diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-06-06 01:10:30 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-06-06 01:10:30 +0000 |
commit | e30123f62cefd11d5df4928fb56d398c7d671bac (patch) | |
tree | 8b79dd9dddc6846dd2936fa4076a92f443652db1 /usr.sbin/bgpd/bgpd.h | |
parent | f1c395125acf7c5bdeb01ecdcf91dc81045d10da (diff) |
Some preliminary filter magic to support multiple RIBs on the filters.
It is ugly but does the trick for now. Filters will be rewritten anyway.
The rib specifier only makes sense on from rules. e.g. deny rib OMG from any
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r-- | usr.sbin/bgpd/bgpd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index a650688de42..749c3cbd4b2 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.234 2009/06/05 19:52:32 claudio Exp $ */ +/* $OpenBSD: bgpd.h,v 1.235 2009/06/06 01:10:29 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -603,6 +603,7 @@ enum comp_ops { struct filter_peers { u_int32_t peerid; u_int32_t groupid; + u_int16_t ribid; }; /* special community type */ @@ -657,6 +658,7 @@ TAILQ_HEAD(filter_head, filter_rule); struct filter_rule { TAILQ_ENTRY(filter_rule) entry; + char rib[PEER_DESCR_LEN]; struct filter_peers peer; struct filter_match match; struct filter_set_head set; |