Warning: This file is not a C or C++ file. It does not have highlighting.
1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
---|---|
2 | #ifndef _XT_NFLOG_TARGET |
3 | #define _XT_NFLOG_TARGET |
4 | |
5 | #include <linux/types.h> |
6 | |
7 | #define XT_NFLOG_DEFAULT_GROUP 0x1 |
8 | #define XT_NFLOG_DEFAULT_THRESHOLD 0 |
9 | |
10 | #define XT_NFLOG_MASK 0x1 |
11 | |
12 | /* This flag indicates that 'len' field in xt_nflog_info is set*/ |
13 | #define XT_NFLOG_F_COPY_LEN 0x1 |
14 | |
15 | struct xt_nflog_info { |
16 | /* 'len' will be used iff you set XT_NFLOG_F_COPY_LEN in flags */ |
17 | __u32 len; |
18 | __u16 group; |
19 | __u16 threshold; |
20 | __u16 flags; |
21 | __u16 pad; |
22 | char prefix[64]; |
23 | }; |
24 | |
25 | #endif /* _XT_NFLOG_TARGET */ |
26 |
Warning: This file is not a C or C++ file. It does not have highlighting.