Jan Engelhardt | 0265ab4 | 2007-12-04 23:27:38 -0800 | [diff] [blame] | 1 | #ifndef _XT_OWNER_MATCH_H |
| 2 | #define _XT_OWNER_MATCH_H |
| 3 | |
Arnd Bergmann | 60c195c | 2009-02-26 00:51:43 +0100 | [diff] [blame] | 4 | #include <linux/types.h> |
| 5 | |
Jan Engelhardt | 0265ab4 | 2007-12-04 23:27:38 -0800 | [diff] [blame] | 6 | enum { |
| 7 | XT_OWNER_UID = 1 << 0, |
| 8 | XT_OWNER_GID = 1 << 1, |
| 9 | XT_OWNER_SOCKET = 1 << 2, |
| 10 | }; |
| 11 | |
| 12 | struct xt_owner_match_info { |
Arnd Bergmann | 60c195c | 2009-02-26 00:51:43 +0100 | [diff] [blame] | 13 | __u32 uid_min, uid_max; |
| 14 | __u32 gid_min, gid_max; |
| 15 | __u8 match, invert; |
Jan Engelhardt | 0265ab4 | 2007-12-04 23:27:38 -0800 | [diff] [blame] | 16 | }; |
| 17 | |
| 18 | #endif /* _XT_OWNER_MATCH_H */ |