summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/xt_SECMARK.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-12-15 23:36:19 +0100
committerPatrick McHardy <kaber@trash.net>2010-12-15 23:36:19 +0100
commit3a84b3d5de492e40aff7bae5038b06dd6b6041c4 (patch)
tree6d9b602bbd4ece24176325d0006ea3c12d7934a7 /include/linux/netfilter/xt_SECMARK.h
parent2f09f1b39ced2ae7109382dcf066785bab4a966a (diff)
parenta3f101331deb9314caa0cfa1061c925865e79380 (diff)
Merge branch 'master' of git://dev.medozas.de/iptables
Diffstat (limited to 'include/linux/netfilter/xt_SECMARK.h')
-rw-r--r--include/linux/netfilter/xt_SECMARK.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/include/linux/netfilter/xt_SECMARK.h b/include/linux/netfilter/xt_SECMARK.h
index 6fcd3448..989092bd 100644
--- a/include/linux/netfilter/xt_SECMARK.h
+++ b/include/linux/netfilter/xt_SECMARK.h
@@ -11,18 +11,12 @@
* packets are being marked for.
*/
#define SECMARK_MODE_SEL 0x01 /* SELinux */
-#define SECMARK_SELCTX_MAX 256
-
-struct xt_secmark_target_selinux_info {
- __u32 selsid;
- char selctx[SECMARK_SELCTX_MAX];
-};
+#define SECMARK_SECCTX_MAX 256
struct xt_secmark_target_info {
__u8 mode;
- union {
- struct xt_secmark_target_selinux_info sel;
- } u;
+ __u32 secid;
+ char secctx[SECMARK_SECCTX_MAX];
};
#endif /*_XT_SECMARK_H_target */