1
2 #ifndef _XT_CONNMARK_H
3 #define _XT_CONNMARK_H
4
5 #include <linux/types.h>
6
7
8
9
10
11
12
13
14
15
16 enum {
17 XT_CONNMARK_SET = 0,
18 XT_CONNMARK_SAVE,
19 XT_CONNMARK_RESTORE
20 };
21
22 enum {
23 D_SHIFT_LEFT = 0,
24 D_SHIFT_RIGHT,
25 };
26
27 struct xt_connmark_tginfo1 {
28 __u32 ctmark, ctmask, nfmask;
29 __u8 mode;
30 };
31
32 struct xt_connmark_tginfo2 {
33 __u32 ctmark, ctmask, nfmask;
34 __u8 shift_dir, shift_bits, mode;
35 };
36
37 struct xt_connmark_mtinfo1 {
38 __u32 mark, mask;
39 __u8 invert;
40 };
41
42 #endif