Home | History | Annotate | Download | only in netfilter
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ****************************************************************************
     11  ****************************************************************************/
     12 #ifndef _XT_SECMARK_H_target
     13 #define _XT_SECMARK_H_target
     14 
     15 #define SECMARK_MODE_SEL 0x01
     16 #define SECMARK_SELCTX_MAX 256
     17 
     18 struct xt_secmark_target_selinux_info {
     19  u_int32_t selsid;
     20  char selctx[SECMARK_SELCTX_MAX];
     21 };
     22 
     23 struct xt_secmark_target_info {
     24  u_int8_t mode;
     25  union {
     26  struct xt_secmark_target_selinux_info sel;
     27  } u;
     28 };
     29 
     30 #endif
     31