From 7b0de5ae35083554f258e68dcfb0c9ada702e70a Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Mon, 11 Nov 2013 16:01:46 +0800 Subject: Refresh prebuilts/ndk/9/platforms with r9b+, part 2/2 Part 2: add new API level 12, 13, 15, 16, 17 and 19 Change-Id: I305970f7766b3ed3e5faf2532952eaa03398fcbd --- .../usr/include/linux/netfilter/xt_SECMARK.h | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 9/platforms/android-12/arch-mips/usr/include/linux/netfilter/xt_SECMARK.h (limited to '9/platforms/android-12/arch-mips/usr/include/linux/netfilter/xt_SECMARK.h') diff --git a/9/platforms/android-12/arch-mips/usr/include/linux/netfilter/xt_SECMARK.h b/9/platforms/android-12/arch-mips/usr/include/linux/netfilter/xt_SECMARK.h new file mode 100644 index 0000000..a91d32c --- /dev/null +++ b/9/platforms/android-12/arch-mips/usr/include/linux/netfilter/xt_SECMARK.h @@ -0,0 +1,30 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + **************************************************************************** + ****************************************************************************/ +#ifndef _XT_SECMARK_H_target +#define _XT_SECMARK_H_target + +#define SECMARK_MODE_SEL 0x01 +#define SECMARK_SELCTX_MAX 256 + +struct xt_secmark_target_selinux_info { + u_int32_t selsid; + char selctx[SECMARK_SELCTX_MAX]; +}; + +struct xt_secmark_target_info { + u_int8_t mode; + union { + struct xt_secmark_target_selinux_info sel; + } u; +}; + +#endif -- cgit v1.1