[Snort-devel] [PATCH 3/5]: byte_jump: Add bitmasking support for calculated bytes

Joshua.Kinard at ...3108... Joshua.Kinard at ...3108...
Fri Apr 29 00:43:31 EDT 2011

This patch is similar to my patch to byte_extract, except this affects
byte_jump.  I don't know of a good testcase for byte_jump, but I'm
certain someone will find one.  byte_test does not need this because it
already has the '&' operator available to it.  The syntax is the same,
"mask <value>".

The DCE version of byte_jump is in a follow-on patch.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: snort-2905-byte_jump-bitmasking.patch
Type: application/octet-stream
Size: 4676 bytes
Desc: snort-2905-byte_jump-bitmasking.patch
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20110428/d572c13a/attachment.obj>

More information about the Snort-devel mailing list