Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm
[deliverable/linux.git] / include / linux / netfilter / xt_SECMARK.h
1 #ifndef _XT_SECMARK_H_target
2 #define _XT_SECMARK_H_target
3
4 /*
5 * This is intended for use by various security subsystems (but not
6 * at the same time).
7 *
8 * 'mode' refers to the specific security subsystem which the
9 * packets are being marked for.
10 */
11 #define SECMARK_MODE_SEL 0x01 /* SELinux */
12 #define SECMARK_SELCTX_MAX 256
13
14 struct xt_secmark_target_selinux_info {
15 u_int32_t selsid;
16 char selctx[SECMARK_SELCTX_MAX];
17 };
18
19 struct xt_secmark_target_info {
20 u_int8_t mode;
21 union {
22 struct xt_secmark_target_selinux_info sel;
23 } u;
24 };
25
26 #endif /*_XT_SECMARK_H_target */
This page took 0.032383 seconds and 6 git commands to generate.