This page contains a (almost complete) specification of the syntax of the driver program, as well as a documentation of its control commands. An example is also available from the Example Section:
( Statement ;
)*
IFConfig
Select
ControlCommand
ifconfig
number Predicate
ifconfig
number TagSetList
Constraint
Predicate Or Constraint
Predicate And Constraint
||
|
\/
&&
,
/\
Name Operator LiteralValue
Name any
Type // any-value constraint
{A-Za-z
}{A-Za-z/.-
}*
=
!=
<
>
=*
// prefix
*=
// suffix
**
// substring
C-style integer literal
C-style string literal
C-style double literal
true
false
C-style integer literal
integer
string
boolean
double
any
{
TagSet }
TagSetList [,
] {
TagSet }
Tag
TagSet [,
] Tag
Name
C-style string literal
select
Message ;
select
{
TagSet }
;
Attribute
Message Attribute
Name =
LiteralValue
statistics
[format]
prints the current statistics using the given format string, or the preconfigured format string if none is given.
set
statistics_only
=
true
only reads and counts the input predicates and messages, without compiling or a forwarding table. This might be useful to count the number of filters, predicates, constraints, etc. in a particular file.
set
preprocessing_limit
=
number
sets the number of preprocessing rounds for the FwdTable algorithm.
set
algorithm
=
algorithm
uses the given algorithm for the forwarding table. known algorithms are: fwdtable
, bddbtable
, zddbtable
, btable
, btrietable
, sorted_btable
, bxtable
, bctable
, bvtable
, ttable
, tagstable
,
timer
start
starts the performance timers
timer
stop
stops the performance timers
output
on
activates the normal output of the matcher
output
off
suppresses the normal output of the matcher
output
>
[filename]
redirects the output of the matcher to the given file, or to standard output if a name is not given
clear
clears the forwarding table. This is necessary to reconstruct the table (from scratch). This operation also releases the memory allocated for the forwwarding table.
clear
recycle
clears the forwarding table without releasing the allocated memory. This means that the memory will be recycled for the new content of the table.
consolidate