|
@@ -0,0 +1,30 @@
|
|
1
|
+#ifndef _IPT_CONNMARK_H_target
|
|
2
|
+#define _IPT_CONNMARK_H_target
|
|
3
|
+
|
|
4
|
+/* Copyright (C) 2002,2004 MARA Systems AB <http://www.marasystems.com>
|
|
5
|
+ * by Henrik Nordstrom <hno@marasystems.com>
|
|
6
|
+ *
|
|
7
|
+ * This program is free software; you can redistribute it and/or modify
|
|
8
|
+ * it under the terms of the GNU General Public License as published by
|
|
9
|
+ * the Free Software Foundation; either version 2 of the License, or
|
|
10
|
+ * (at your option) any later version.
|
|
11
|
+ */
|
|
12
|
+
|
|
13
|
+enum {
|
|
14
|
+ IPT_CONNMARK_SET = 0,
|
|
15
|
+ IPT_CONNMARK_SAVE,
|
|
16
|
+ IPT_CONNMARK_RESTORE
|
|
17
|
+};
|
|
18
|
+
|
|
19
|
+struct ipt_connmark_target_info {
|
|
20
|
+#ifdef KERNEL_64_USERSPACE_32
|
|
21
|
+ unsigned long long mark;
|
|
22
|
+ unsigned long long mask;
|
|
23
|
+#else
|
|
24
|
+ unsigned long mark;
|
|
25
|
+ unsigned long mask;
|
|
26
|
+#endif
|
|
27
|
+ u_int8_t mode;
|
|
28
|
+};
|
|
29
|
+
|
|
30
|
+#endif /*_IPT_CONNMARK_H_target*/
|