RT-AC56 3.0.0.4.374.37 core
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / include / linux / netfilter / xt_SECMARK.h
blob6fcd3448b18631f04e081cde470f85218dd7f9b8
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_SELCTX_MAX 256
16 struct xt_secmark_target_selinux_info {
17 __u32 selsid;
18 char selctx[SECMARK_SELCTX_MAX];
21 struct xt_secmark_target_info {
22 __u8 mode;
23 union {
24 struct xt_secmark_target_selinux_info sel;
25 } u;
28 #endif /*_XT_SECMARK_H_target */