root/include/uapi/linux/netfilter/xt_owner.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
   2 #ifndef _XT_OWNER_MATCH_H
   3 #define _XT_OWNER_MATCH_H
   4 
   5 #include <linux/types.h>
   6 
   7 enum {
   8         XT_OWNER_UID          = 1 << 0,
   9         XT_OWNER_GID          = 1 << 1,
  10         XT_OWNER_SOCKET       = 1 << 2,
  11         XT_OWNER_SUPPL_GROUPS = 1 << 3,
  12 };
  13 
  14 #define XT_OWNER_MASK   (XT_OWNER_UID |         \
  15                          XT_OWNER_GID |         \
  16                          XT_OWNER_SOCKET |      \
  17                          XT_OWNER_SUPPL_GROUPS)
  18 
  19 struct xt_owner_match_info {
  20         __u32 uid_min, uid_max;
  21         __u32 gid_min, gid_max;
  22         __u8 match, invert;
  23 };
  24 
  25 #endif /* _XT_OWNER_MATCH_H */

/* [<][>][^][v][top][bottom][index][help] */