Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / include / linux / netfilter / xt_SECMARK.h
blob989092bd6274b44585ccc0faf4f005a0d7b909b7
1 #ifndef _XT_SECMARK_H_target
2 #define _XT_SECMARK_H_target
4 #include <linux/types.h>
6 /*
7 * This is intended for use by various security subsystems (but not
8 * at the same time).
10 * 'mode' refers to the specific security subsystem which the
11 * packets are being marked for.
13 #define SECMARK_MODE_SEL 0x01 /* SELinux */
14 #define SECMARK_SECCTX_MAX 256
16 struct xt_secmark_target_info {
17 __u8 mode;
18 __u32 secid;
19 char secctx[SECMARK_SECCTX_MAX];
22 #endif /*_XT_SECMARK_H_target */