mirror of https://github.com/OISF/suricata
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
656 B
C
28 lines
656 B
C
/* Copyright (c) 2009 Open Information Security Foundation */
|
|
|
|
/** \file
|
|
* \author Victor Julien <victor@inliniac.net>
|
|
* \author Breno Silva <breno.silva@gmail.com>
|
|
*/
|
|
|
|
#ifndef __DETECT_FLOWBITS_H__
|
|
#define __DETECT_FLOWBITS_H__
|
|
|
|
#define DETECT_FLOWBITS_CMD_ISSET 0
|
|
#define DETECT_FLOWBITS_CMD_ISNOTSET 1
|
|
#define DETECT_FLOWBITS_CMD_SET 2
|
|
#define DETECT_FLOWBITS_CMD_UNSET 3
|
|
#define DETECT_FLOWBITS_CMD_TOGGLE 4
|
|
#define DETECT_FLOWBITS_CMD_NOALERT 5
|
|
|
|
typedef struct DetectFlowbitsData_ {
|
|
uint16_t idx;
|
|
uint8_t cmd;
|
|
} DetectFlowbitsData;
|
|
|
|
/* prototypes */
|
|
void DetectFlowbitsRegister (void);
|
|
|
|
#endif /* __DETECT_FLOWBITS_H__ */
|
|
|