| Branch: | Revision:

iof-bird-daemon / filter / filter.h @ c8cafc8e

History | View | Annotate | Download (5.4 KB)

# Date Author Comment
c8cafc8e 11/08/2016 04:46 PM Ondrej Zajicek (work)

Minor code cleanups

66dbdbd9 10/03/2016 10:48 AM Ondrej Zajicek (work)

BGP: Support for large communities

Add support for large communities (draft-ietf-idr-large-community),
96bit alternative to RFC 1997 communities.

Thanks to Matt Griswold for the original patch.

1321e12a 07/20/2015 03:11 PM Ondrej Zajicek

Static: Allows to specify attributes for static routes

The patch adds suport for specifying route attributes together with
static routes, e.g.:

route via { krt_advmss = 1200; ospf_metric1 = 100; };
51762a45 02/21/2015 01:05 PM Ondrej Zajicek

Allows user data attached to f_trie_node structure.

Thanks to Alexander Chernikov for the patch.

52e030e1 11/23/2013 11:17 PM Ondrej Zajicek

Converts filters to unsigned integers.

0aeac9cb 11/22/2013 01:48 AM Ondrej Zajicek

Merge commit 'origin/bfd'

0e175f9f 10/05/2013 06:12 PM Ondrej Zajicek

Fixes some BFD bugs and makes logging thread-safe.

28a10f84 10/02/2013 12:41 PM Ondrej Zajicek

Some fixes in filter code.

Thanks to Sergey Popovich for original patches.

a5fc5958 09/26/2013 08:08 PM Ondrej Zajicek

Rewrites static attribute filter code and adds ifname/ifindex attributes.

Thanks to Sergey Popovich for the original ifname/ifindex patch.

508d9360 07/25/2013 11:15 AM Ondrej Zajicek

Implements eval command and minor CLI cleanups.

Implemented eval command can be used to evaluate expressions.

The patch also documents echo command and allows to use log classes
instead of integer as a mask for echo.

af582c48 03/18/2012 04:32 PM Ondrej Zajicek

Route Origin Authorization basics.

- ROA tables, which are used as a basic part for RPKI.
- Commands for examining and modifying ROA tables.
- Filter operators based on ROA tables consistent with RFC 6483.
42a0c054 08/14/2011 11:55 AM Ondrej Zajicek

BGP Extended communities.

0d1b3c4c 09/20/2010 11:01 AM Ondrej Zajicek

Changes print-like filter commands to use a log instead of a stderr.

And extends the log subsystem to better handle that.

7f0d245a 07/27/2010 03:17 PM Ondrej Zajicek

Minor changes in prefix trie.

126683fe 03/29/2010 05:29 PM Ondrej Zajicek

Filter language updates; new route attributes and datatype.

- Adds bgp_originator_id and bgp_cluster_list route attributes.
- Adds dotted quad filter datatype (for router IDs, used by
bgp_originator_id and ospf_router_id route attributes).
- Fixes pair ~ pair set matching....
dfd48621 02/17/2010 09:11 PM Ondrej Zajicek

Replaces the algorithm for building balanced trees.

Changes the time complexity of the algorithm from O(n^2) to O(n*log(n)).
This speeds up loading of huge DEC-IX config from 128 s to 15 s. It also
makes the code significantly simpler.

3f22fa9e 11/09/2009 09:54 PM Ondrej Zajicek

Merge branch 'dev' into ospf3

05198c12 08/27/2009 05:01 PM Ondrej Zajicek

Some cleanups.

b49e6f5a 08/25/2009 02:42 PM Ondrej Zajicek

Temporary OSPFv3 development commit

b1a597e0 03/31/2009 10:55 AM Ondrej Zajicek

Reimplementation of prefix sets.

Prefix sets were broken beyond any repair and have to be reimplemented.
They are reimplemented using a trie with bitmasks in nodes.
There is also change in the interpretation of minus prefix pattern,
but the old interpretation was already inconsistent with...

4847a894 10/26/2008 09:45 PM Ondrej Zajicek

Implementation of route reflection for BGP

26c09e1d 05/30/2000 10:42 AM Pavel Machek

Added read-only access to all required fields in rta.

ad9074e9 05/25/2000 03:20 PM Pavel Machek

Cleaned up warnings.

b1c9d871 05/16/2000 10:37 PM Martin Mares

Fixed the horrible mess Pavel has created with his last commit.

a96a979d 05/16/2000 06:50 PM Pavel Machek

Line numbers for runtime errors (what's wrong with cvs? I could not
commit this from home)

3b1c523d 05/15/2000 10:53 AM Martin Mares

Got rid of startup functions and filters_postconfig().

By the way, how do you expect pointers to fit in an int?

1c20608e 05/15/2000 10:49 AM Martin Mares

Added f_eval_int() and EVAL configuration command.

758458be 05/13/2000 11:17 AM Martin Mares

Unified parsing of prefixes.

Had to rename `prefix' in filters to `fprefix'.

7a86a8b0 04/26/2000 08:03 AM Pavel Machek

Added code for testing filters.

471bd6c3 04/26/2000 07:47 AM Pavel Machek

Marked place where new enums belong.

3bbc4ad6 04/17/2000 12:40 PM Pavel Machek

Special hack for atomic_aggr.

159fa4ce 04/17/2000 11:20 AM Pavel Machek

Finish moving of path matching. Use int_set_print from core for
printing community lists.

4b641bab 04/17/2000 10:50 AM Pavel Machek

Path matching now actually works, including / * 1 2 3 * /.

a2d15746 04/12/2000 02:05 PM Pavel Machek

One less shift/reduce conflict.

ac7a2145 04/12/2000 02:02 PM Pavel Machek

f_new_dynamic_attr gets third argument, type as filters know it.

10a53608 04/12/2000 01:31 PM Pavel Machek

Filters now know type path. It is possible to declare variable of type
path, but it is not possible to write constant of type path.

It should be possible to print paths and match them.

dcab7890 04/12/2000 01:07 PM Pavel Machek

Renamed f_path to f_path_mask -- which is what it really is. Use
linklist instead of array of signed integers for path mask.

77de6882 04/12/2000 12:10 PM Pavel Machek

BGP_PATH masks now actually work as data type.

3076b5ae 03/30/2000 08:50 AM Martin Mares

Renamed FF_OUTGOING to FF_FORCE_TMPATTR which much better fits the semantics.

Call rte_cow() instead of rte_do_cow(), so that COW works properly.

Stripped "\n" off several (de)bug messages.

0a06a9b8 03/29/2000 09:02 AM Pavel Machek

f_run gets one more parameter to distinguish between in and out modes.

62ab789d 03/01/2000 02:42 PM Pavel Machek

Added type parameter to f_new_dynamic_attr.

db1326aa 03/01/2000 11:32 AM Martin Mares

Dynamic attributes are now declared in per-protocol grammar files instead
of filter/config.Y. Bird now compiles even if you disable RIP.

Removed RTA and IMPOSSIBLE tokens (unused).

Removed superfluous comment in filter.h.

I've tried to do my best, but Pavel, please check these changes.

2d496d20 02/25/2000 11:15 AM Pavel Machek

Get rid of 'ab'-s, added return to functions.

9a4037d4 01/31/2000 05:44 PM Pavel Machek

filter_same() implemented. Don't bet on it, yet.

30a6108c 01/16/2000 05:49 PM Martin Mares

Added filter_same() for comparision of two filters.

Pavel, please implement this as soon as possible.

d46ffc97 12/16/1999 12:18 PM Martin Mares

Kicked off F_MODIFY (not generated nor used)

c7b43f33 11/18/1999 02:01 PM Pavel Machek

Split inst->code into inst->code and inst->aux. Both are only 16 bit,
so aux is suitable for storing type but not much more.

cb8034f4 11/10/1999 01:44 PM Pavel Machek

First try on enumerational types.

Mj's noassoc removed: this brings back shift/reduce conflict but
it makes parser actually work. Mj please check it. IF/THEN/ELSE still
will not work.

f4536657 11/10/1999 12:44 PM Pavel Machek

Enumerational types, defined keyword added.

6dc7a0cb 11/03/1999 10:23 PM Pavel Machek

Filters now do not allow function (int arg; int arg2; ).

d3dd620b 10/12/1999 06:27 AM Pavel Machek

Filters: permit variables of prefix types, cleanup around
variables. TODO list added, hopefully complete. Use new features of
filters in bird.conf

9a706f32 08/03/1999 07:31 PM Martin Mares

Added missing structure declarations.

38506f71 04/12/1999 07:58 PM Pavel Machek

Sets of integers now actually work. Sets of IP will work as soon as
compare function is ready.

2db3b288 04/10/1999 09:45 AM Pavel Machek

Decrease number of warnings.

23b1539b 04/07/1999 12:11 PM Pavel Machek

Filters upgraded - a bit. Moved code to filter.c because it is where
it belongs. (f-util.c stays there for auxiliary and non-important things.)

63a381db 04/05/1999 08:10 PM Martin Mares

Several filter changes. (Pavel, please check if they are OK.)

o  Changed parameters of f_run. Changed rtein+rteout pair to rte pointer
passed by reference, added ea_list of temporary attrs again passed
by reference and finally added a pointer to memory pool for storing...
ba921648 03/29/1999 08:21 PM Pavel Machek

Update of filters towards new interface.

e0f2e42f 03/17/1999 02:29 PM Martin Mares

A couple of filter tweaks:

o  Introduced struct filter which serves as an external reference
to filter. Using struct symbol for this is unwise since it doesn't
allow extra information attached to the filter and it also forces
all filters to be named....
d36d838d 03/17/1999 10:19 AM Pavel Machek

accept & reject should now work

b7005824 03/08/1999 08:30 PM Pavel Machek

Filters are now a tiny bit stronger (if is actually working ;-)

84c7e194 03/02/1999 07:49 PM Pavel Machek

Add interface for running filters (please comment!), avoid bison warnings

ca3d562b 01/15/1999 06:13 PM Pavel Machek

filters_init() renamed to filters_postconfig().

b9d70dc8 01/15/1999 04:49 PM Pavel Machek

Filters, second try. This time they have their own directory.