]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/pkg/linux-26-headers/include/linux/netfilter/xt_connmark.h
update
[l4.git] / l4 / pkg / linux-26-headers / include / linux / netfilter / xt_connmark.h
index 359ef86918dcca37af7e7529578a6fc9236f6898..efc17a8305fb71f93741ad1579dae6f9da3075d1 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _XT_CONNMARK_H
 #define _XT_CONNMARK_H
 
+#include <linux/types.h>
+
 /* Copyright (C) 2002,2004 MARA Systems AB <http://www.marasystems.com>
  * by Henrik Nordstrom <hno@marasystems.com>
  *
  * (at your option) any later version.
  */
 
-struct xt_connmark_info {
-       unsigned long mark, mask;
-       u_int8_t invert;
+enum {
+       XT_CONNMARK_SET = 0,
+       XT_CONNMARK_SAVE,
+       XT_CONNMARK_RESTORE
+};
+
+struct xt_connmark_tginfo1 {
+       __u32 ctmark, ctmask, nfmask;
+       __u8 mode;
 };
 
 struct xt_connmark_mtinfo1 {
-       u_int32_t mark, mask;
-       u_int8_t invert;
+       __u32 mark, mask;
+       __u8 invert;
 };
 
 #endif /*_XT_CONNMARK_H*/