<br><font size=2 face="sans-serif">Dear Gabriele</font>
<br>
<br><font size=2 face="sans-serif">The semantics of the test block with
the "for each packet"= true is:</font>
<br>
<br><font size=2 face="sans-serif">1. All incoming packets to the test
are considered one at a time. </font>
<br><font size=2 face="sans-serif">2. For each packet the cases are evaluated
one by one.</font>
<br><font size=2 face="sans-serif">3. The success of the case is determined
on a per packet basis and the packets are then routed accordingly.</font>
<br>
<br>
<br><font size=2 face="sans-serif">The semantics of the test block with
"for each packet" = false is:</font>
<br>
<br><font size=2 face="sans-serif">1. All in coming packets are passed
to the first case.</font>
<br><font size=2 face="sans-serif">2. If even one case generates a successful
match then the case is considered successful and only the successful packets
will be passed through.</font>
<br><font size=2 face="sans-serif">3. If a cut is enabled in the case,
even the packets which failed the case will not be tested.</font>
<br>
<br><font size=2 face="sans-serif">for each packet = true is equivalent
to the ForBlock while the for each packet = false is equivalent to the
ForBlock.</font>
<br>
<br><font size=2 face="sans-serif">I hope this explains it.</font>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br><font size=2 face="sans-serif">Adi</font>
<br>
<br><font size=2 face="sans-serif">-----------------------------------<br>
Aditya Agrawal<br>
mailto:aagrawa@us.ibm.com<br>
IBM T. J. Watson<br>
+1 (914) 784-6068<br>
</font>
<br>
<br><font size=2><tt>great-users-bounces@list.isis.vanderbilt.edu wrote
on 09/22/2004 08:39:38 PM:<br>
<br>
> Hi all,<br>
> The Test block has a ForEachPacket flag which defaults to true.<br>
> I don't remember the semantics of this flag: what does it do?<br>
> <br>
> Thank you<br>
> Gabriele<br>
> _______________________________________________<br>
> great-users mailing list<br>
> great-users@list.isis.vanderbilt.edu<br>
> http://list.isis.vanderbilt.edu/mailman/listinfo/great-users<br>
</tt></font>