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.
22 lines
427 B
C
22 lines
427 B
C
15 years ago
|
/* Copyright (c) 2009 Open Information Security Foundation */
|
||
|
|
||
|
/** \file
|
||
|
* \author Breno Silva <breno.silva@gmail.com>
|
||
|
*/
|
||
|
|
||
|
#ifndef __DETECT_FRAGOFFSET_H__
|
||
|
#define __DETECT_FRAGOFFSET_H__
|
||
|
|
||
|
#define FRAG_LESS 1
|
||
|
#define FRAG_MORE 2
|
||
|
|
||
|
typedef struct DetectFragOffsetData_ {
|
||
|
uint16_t frag_off;
|
||
|
uint8_t mode;
|
||
|
} DetectFragOffsetData;
|
||
|
|
||
|
/* prototypes */
|
||
|
void DetectFragOffsetRegister(void);
|
||
|
|
||
|
#endif /* __DETECT_FRAGOFFSET__ */
|