ALL (*) condition

<< Click to Display Table of Contents >>

Navigation:  Event and Object Analysis > Capture Results Filtering > Filtration Basics > Rules > Criteria and Conditions >

ALL (*) condition

A special condition which is true for all the filtered objects.

Description

The condition is true for any object. It is implied if the <match>…</match> match is empty or is missing from the rule (the rule only contains <actions>).

Format

<c name="all" />
<c name="*" />

The "name" attribute:

The name attribute specifies the name of the condition: name="all" or name="*".

Example

The rule accepts all messages for further processing.

<?xml version="1.0" encoding="utf-8"?>
<filter name="HTTP filter" version="1.0">
 <comment>HTTP filter.</comment>
 
 <table name="main">
 
   <rule enabled="1">
     <comment>This rule accepts all messages for further processing.</comment>
     <match>
       <c name="all" />
     </match>
     <action name="accept" />
   </rule>
 </table>
 
</filter>

Example (implicit "all" condition)

<?xml version="1.0" encoding="utf-8"?>
<filter name="HTTP filter" version="1.0">
 <comment>HTTP filter comment.</comment>
 <table name="main">
   <rule enabled="1">
     <action name="accept" />
   </rule>
 </table>
</filter>