diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2003-08-27 15:23:11 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2003-08-27 15:23:11 +0000 |
commit | 52338a3bafa30b1c1ea6759ea14a60c5d3fd35da (patch) | |
tree | a4104c638529709d8c4f8b869d76c7f5253c6d16 /epan/dfilter/sttype-test.h | |
parent | d3562c0480240333a99315699992e3165702a369 (diff) | |
download | wireshark-52338a3bafa30b1c1ea6759ea14a60c5d3fd35da.tar.gz |
Add a "contains" operator for byte-strings, strings, and tvbuffs (protocols).
The search uses a naive approach; more work is required to add a
Boyer-Moore Search algorithm.
svn path=/trunk/; revision=8280
Diffstat (limited to 'epan/dfilter/sttype-test.h')
-rw-r--r-- | epan/dfilter/sttype-test.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/dfilter/sttype-test.h b/epan/dfilter/sttype-test.h index a4d017f154..f662a5b097 100644 --- a/epan/dfilter/sttype-test.h +++ b/epan/dfilter/sttype-test.h @@ -1,5 +1,5 @@ /* - * $Id: sttype-test.h,v 1.3 2002/08/28 20:40:56 jmayer Exp $ + * $Id: sttype-test.h,v 1.4 2003/08/27 15:23:05 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -35,7 +35,8 @@ typedef enum { TEST_OP_GT, TEST_OP_GE, TEST_OP_LT, - TEST_OP_LE + TEST_OP_LE, + TEST_OP_CONTAINS } test_op_t; void |