Committer: Michael Beasley <mike@snafu.setup>
[mikesnafu-overlay.git] / include / linux / netfilter / xt_SECMARK.h
blobc53fbffa997de7693b9f495a0d3076837e4de931
1 #ifndef _XT_SECMARK_H_target
2 #define _XT_SECMARK_H_target
4 /*
5 * This is intended for use by various security subsystems (but not
6 * at the same time).
8 * 'mode' refers to the specific security subsystem which the
9 * packets are being marked for.
11 #define SECMARK_MODE_SEL 0x01 /* SELinux */
12 #define SECMARK_SELCTX_MAX 256
14 struct xt_secmark_target_selinux_info {
15 u_int32_t selsid;
16 char selctx[SECMARK_SELCTX_MAX];
19 struct xt_secmark_target_info {
20 u_int8_t mode;
21 union {
22 struct xt_secmark_target_selinux_info sel;
23 } u;
26 #endif /*_XT_SECMARK_H_target */