diff -Naurp snort-2.9.0.5.orig/doc/snort_manual.tex snort-2.9.0.5/doc/snort_manual.tex
--- snort-2.9.0.5.orig/doc/snort_manual.tex	2011-03-25 19:24:28.000000000 +0000
+++ snort-2.9.0.5/doc/snort_manual.tex	2011-04-29 03:35:29.000067000 +0000
@@ -7043,7 +7043,7 @@ conversion.
     byte_test:<convert>, [!]<operator>, <value>, <offset> [, relative], dce;
 
     convert    = 1 | 2 | 4 (only with option "dce")
-    operator   = '<' | '=' | '>' | '&' | '^'
+    operator   = '<' | '=' | '>' | '&' | '^' | '|'
     value      = 0 - 4294967295
     offset     = -65535 to 65535
 \end{verbatim}
@@ -7067,11 +7067,12 @@ normal \texttt{byte\_test} arguments wil
 \item[] \textit{Syntax}
 \footnotesize
 \begin{verbatim}
-    byte_jump:<convert>, <offset>[, relative][, multiplier <mult_value>] \
-        [, align][, post_offet <adjustment_value>], dce;
+    byte_jump:<convert>, <offset>[, relative][, mask <mask_value>] \
+        [, multiplier <mult_value>][, align][, post_offet <adjustment_value>], dce;
 
     convert           = 1 | 2 | 4 (only with option "dce")
     offset            = -65535 to 65535
+    mask_value        = 0 to 4294967295 (does not accept hex notation)
     mult_value        = 0 - 65535
     adjustment_value  = -65535 to 65535
 \end{verbatim}
@@ -12342,7 +12343,7 @@ values}.
         [, relative][, <endian>][, string, <number type>][, dce];
 
     bytes      = 1 - 10
-    operator   = '<' | '=' | '>' | '&' | '^'
+    operator   = '<' | '=' | '>' | '&' | '^' | '|'
     value      = 0 - 4294967295
     offset     = -65535 to 65535
 \end{verbatim}
@@ -12364,7 +12365,8 @@ used without \texttt{dce}. If used with 
 \item \textgreater{} - greater than
 \item = - equal
 \item \& - bitwise AND
-\item \textasciicircum{} - bitwise OR
+\item \textasciicircum{} - bitwise XOR
+\item \| - bitwise OR
 \end{itemize}\\
 \hline
 \texttt{value} & Value to test the converted value against\\
@@ -12467,13 +12469,15 @@ values}.
 
 \begin{verbatim}
     byte_jump:<bytes_to_convert>, <offset> \
-        [, relative][, multiplier <mult_value>][, <endian>][, string, <number_type>]\
-        [, align][, from_beginning][, post_offset <adjustment value>][, dce];
+        [, relative][, mask <mask_value>][, multiplier <multiplier_value>][, <endian>]\
+        [, string, <number_type>][, align][, from_beginning]\
+        [, post_offset <adjustment value>][, dce];
 
-    bytes       = 1 - 10
-    offset      = -65535 to 65535
-    mult_value  = 0 - 65535
-    post_offset = -65535 to 65535
+    bytes             = 1 - 10
+    offset            = -65535 to 65535
+    mask_value        = 0 to 4294967295 (does not accept hex notation)
+    multiplier_value  = 0 - 65535
+    post_offset       = -65535 to 65535
     
 \end{verbatim}
 
@@ -12492,8 +12496,10 @@ used without \texttt{dce}. If used with 
 \hline
 \texttt{relative} & Use an offset relative to last pattern match\\
 \hline
-\texttt{multiplier $<$value$>$} & Multiply the number of calculated bytes by
-\texttt{$<$value$>$} and skip forward that number of bytes.\\
+\texttt{mask $<$mask_value$>$} & Bitwise AND the number of calculated bytes by \texttt{$<$mask_value$>$}.\\
+\hline
+\texttt{multiplier $<$multiplier_value$>$} & Multiply the number of calculated bytes by
+\texttt{$<$multiplier_value$>$} and skip forward that number of bytes.\\
 \hline
 \texttt{big} & Process data as big endian (default)\\
 \hline
@@ -12550,8 +12556,14 @@ re-used in the same rule any number of t
 
 \begin{verbatim}
     byte_extract:<bytes_to_extract>, <offset>, <name> \
-        [, relative][, multiplier <multiplier value>][, <endian>]\ 
-        [, string, <number_type>][, align <align value>][, dce]
+        [, relative][,mask <mask_value>][, multiplier <multiplier_value>]\
+        [, <endian>][, string, <number_type>][, align <align value>][, dce]
+
+    bytes             = 1 - 4
+    offset            = -65535 to 65535
+    mask_value        = 0 to 4294967295 (does not accept hex notation)
+    multiplier_value  = 0 - 65535
+
 \end{verbatim}
 
 \begin{tabular}{| l | p{4.5in} |}
@@ -12559,7 +12571,7 @@ re-used in the same rule any number of t
 {\bf Option} & {\bf Description}\\
 \hline
 \hline
-\texttt{bytes\_to\_convert} & Number of bytes to pick up from the packet\\
+\texttt{bytes\_to\_convert} & Number of bytes to pick up from the packet. The allowed values are 1 to 4.\\
 \hline
 \texttt{offset} & Number of bytes into the payload to start processing\\
 \hline
@@ -12568,6 +12580,8 @@ variable in other rule options.\\
 \hline
 \texttt{relative} & Use an offset relative to last pattern match\\
 \hline
+\texttt{mask $<$mask_value$>$} & Bitwise AND the number of calculated bytes by \texttt{$<$mask_value$>$}.\\
+\hline
 \texttt{multiplier $<$value$>$} & Multiply the bytes read from the packet by
 \texttt{$<$value$>$} and save that number into the variable.\\
 \hline
