diff options
author | Pavel Machek <pavel@ucw.cz> | 2000-05-30 10:13:02 +0000 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2000-05-30 10:13:02 +0000 |
commit | 298f2530ec05ee86c52f2fbce306ac186a3f6dd8 (patch) | |
tree | 3a360f1fd7095cab971207fd41a3c73ed966d0e8 | |
parent | 9e85a5e6f26866a255577ff10786c12a64cba624 (diff) |
Moved description of filters to programmers docs.
-rw-r--r-- | doc/bird.sgml | 6 |
1 files changed, 0 insertions, 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 <file>filter/test.conf</file>. -<p>You can find sources of filters language in <file>filter/</file> -directory. <file>filter/config.Y</file> contains filter grammar, and basically translates source from -user into tree of <cf>f_inst</cf> structures. These trees are later interpreted using code in -<file>filter/filter.c</file>. Filters internally work with values/variables in <tt>struct -f_val</tt>, which contains type of value and value. - <p>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 <cf/accept/), or whether to <cf/reject/ given route. It looks |