1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _XT_SECMARK_H_target
3 #define _XT_SECMARK_H_target
5 #include <linux/types.h>
8 * This is intended for use by various security subsystems (but not
11 * 'mode' refers to the specific security subsystem which the
12 * packets are being marked for.
14 #define SECMARK_MODE_SEL 0x01 /* SELinux */
15 #define SECMARK_SECCTX_MAX 256
17 struct xt_secmark_target_info {
20 char secctx[SECMARK_SECCTX_MAX];
23 struct xt_secmark_target_info_v1 {
25 char secctx[SECMARK_SECCTX_MAX];
29 #endif /*_XT_SECMARK_H_target */