suricata
detect-mark.h
Go to the documentation of this file.
1
/* Copyright (C) 2011 Open Information Security Foundation
2
*
3
* You can copy, redistribute or modify this Program under the terms of
4
* the GNU General Public License version 2 as published by the Free
5
* Software Foundation.
6
*
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU General Public License for more details.
11
*
12
* You should have received a copy of the GNU General Public License
13
* version 2 along with this program; if not, write to the Free Software
14
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
15
* 02110-1301, USA.
16
*/
17
18
/**
19
* \file
20
*
21
* \author Eric Leblond <eric@regit.org>
22
*
23
* Based on detect-mark.h by Breno Silva <breno.silva@gmail.com>
24
*
25
* Implements the nfq_set_mark keyword
26
*/
27
28
#ifndef __DETECT_MARK_H__
29
#define __DETECT_MARK_H__
30
31
32
/**
33
* \struct DetectMarkData_
34
* DetectMarkData_ is used to store nfq_set_mark: input value
35
*/
36
37
/**
38
* \typedef DetectMarkData
39
* A typedef for DetectMarkData_
40
*/
41
42
typedef
struct
DetectMarkData_
{
43
uint32_t
mark
;
/**< Rule mark */
44
uint32_t
mask
;
/**< Rule mask */
45
}
DetectMarkData
;
46
47
/**
48
* Registration function for nfq_set_mark: keyword
49
*/
50
51
void
DetectMarkRegister
(
void
);
52
53
#endif
/*__DETECT_MARK_H__ */
DetectMarkData_
Definition:
detect-mark.h:42
DetectMarkRegister
void DetectMarkRegister(void)
Registration function for nfq_set_mark: keyword.
Definition:
detect-mark.c:56
DetectMarkData_::mark
uint32_t mark
Definition:
detect-mark.h:43
DetectMarkData
struct DetectMarkData_ DetectMarkData
DetectMarkData_::mask
uint32_t mask
Definition:
detect-mark.h:44
src
detect-mark.h
Generated on Fri Sep 22 2023 23:30:34 for suricata by
1.8.18