From 298f2530ec05ee86c52f2fbce306ac186a3f6dd8 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Tue, 30 May 2000 10:13:02 +0000 Subject: [PATCH] Moved description of filters to programmers docs. --- doc/bird.sgml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/doc/bird.sgml b/doc/bird.sgml index 4cfcd339..c4649f05 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -245,12 +245,6 @@ call other functions, but recursion is not allowed. Filter language contains con as if's and switches, but it allows no loops. Filters are interpreted. Filter using many features can be found in filter/test.conf. -

You can find sources of filters language in filter/ -directory. filter/config.Y contains filter grammar, and basically translates source from -user into tree of f_inst structures. These trees are later interpreted using code in -filter/filter.c. Filters internally work with values/variables in struct -f_val, which contains type of value and value. -

Filter basically gets the route, looks at its attributes and modifies some of them if it wishes. At the end, it decides, whether to pass change route through (using