~ubuntu-branches/ubuntu/precise/suricata/precise-proposed

« back to all changes in this revision

Viewing changes to src/detect-bytetest.h

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2010-06-19 17:39:14 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100619173914-5vkjfgz24mbia29z
Tags: 0.9.2-1
ImportedĀ UpstreamĀ versionĀ 0.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 
40
40
/** Bytetest Flags */
41
41
#define DETECT_BYTETEST_NEGOP    0x01 /**< "!" negated operator */
42
 
#define DETECT_BYTETEST_LITTLE   0x02 /**< "little" endian value (default "big") */
43
 
#define DETECT_BYTETEST_STRING   0x04 /**< "string" value */
44
 
#define DETECT_BYTETEST_RELATIVE 0x08 /**< "relative" offset */
 
42
#define DETECT_BYTETEST_LITTLE   0x02 /**< "little" endian value */
 
43
#define DETECT_BYTETEST_BIG      0x04 /**< "bi" endian value */
 
44
#define DETECT_BYTETEST_STRING   0x08 /**< "string" value */
 
45
#define DETECT_BYTETEST_RELATIVE 0x10 /**< "relative" offset */
 
46
#define DETECT_BYTETEST_DCE      0x20 /**< dce enabled */
45
47
 
46
48
typedef struct DetectBytetestData_ {
47
49
    uint8_t nbytes;                   /**< Number of bytes to compare */