<HTML> <HEAD> <TITLE>KSnuffle: Triggers</TITLE> </HEAD> <BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#AA0000"> <FONT FACE="Helvetica"> <A HREF="http://www.kde.org/"><IMG SRC="logotp3.gif" ALT="The K Desktop Environment" BORDER=0 ></A> <BR> <HR noshade> <DIV ALIGN=right> <A HREF="index-4.5.html">Next</A> <A HREF="index-4.3.html">Previous</A> <A HREF="index.html#toc4">Table of Contents</A> </DIV> <BR> <H3> <A NAME="ss4.4"></A>4.4 Triggers </H3> <P> KSnuffle provides triggers which can control when packets are displayed. Associated with each <I>sniffer</I> or <I>replayer</I> are two triggers, the <I>start</I> and <I>stop</I> triggers. These are displayed on the <I>Filters/triggers</I> page. </P> <P> Each trigger is a packet filter, and is constructed in the same way as the <A HREF="index-4.3.html">main packet filter</A>. Note, however, the the triggers are applied to packets independantly of the main filter (ie., a packet can be passed by a trigger even though it is not passed by the main filter). </P> <P> There are five trigger settings: <UL> <LI><B>All packets</B><BR> All packets which are accepted by the main packet filter are displayed. In this case both of the the triggers are ignored. </LI> <LI><B>Until stop</B><BR> Packets are displayed until a packet is received which matches the <I>stop</I> trigger. After this, no further packets are displayed. The <I>start</I> trigger is ignored. </LI> <LI><B>From start</B><BR> No packets are displayed until a packet is received which matches the <I>start</I> trigger. After this, all packets are displayed. The <I>stop</I> trigger is ignored. </LI> <LI><B>One shot</B><BR> No packets are displayed until a packet is received which matches the <I>start</I> trigger. After this, all packets are displayed until one is received which matches the <I>stop</I> trigger. From this point, no further packets are displayed. </LI> <LI><B>Repeat</B><BR> This is the same as <B>One Shot</B>, except that after the <I>stop</I> trigger is matched, the <I>sniffer</I> or <I>replayer</I> returns to waiting for the <I>start</I> trigger to be matched. </LI> </UL> </P> <P> <A HREF="index-4.5.html">Next</A> <A HREF="index-4.3.html">Previous</A> <A HREF="index.html#toc4">Table of Contents</A> </P> <P> <HR size="3" noshade> </P> </BODY> </HTML>