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 SURICATA_DETECT_MARK_H
29
#define SURICATA_DETECT_MARK_H
30
31
/**
32
* \struct DetectMarkData_
33
* DetectMarkData_ is used to store nfq_set_mark: input value
34
*/
35
36
/**
37
* \typedef DetectMarkData
38
* A typedef for DetectMarkData_
39
*/
40
41
typedef
struct
DetectMarkData_
{
42
uint32_t
mark
;
/**< Rule mark */
43
uint32_t
mask
;
/**< Rule mask */
44
}
DetectMarkData
;
45
46
/**
47
* Registration function for nfq_set_mark: keyword
48
*/
49
50
void
DetectMarkRegister
(
void
);
51
52
#endif
/*SURICATA_DETECT_MARK_H */
DetectMarkData_
Definition:
detect-mark.h:41
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:42
DetectMarkData
struct DetectMarkData_ DetectMarkData
DetectMarkData_::mask
uint32_t mask
Definition:
detect-mark.h:43
src
detect-mark.h
Generated on Sat Dec 21 2024 23:30:32 for suricata by
1.8.18