Christopher Ferris | e084501 | 2014-07-09 14:58:51 -0700 | [diff] [blame] | 1 | #ifndef _UAPI_XT_CGROUP_H |
| 2 | #define _UAPI_XT_CGROUP_H |
| 3 | |
| 4 | #include <linux/types.h> |
Christopher Ferris | ccfaccd | 2016-08-24 12:11:31 -0700 | [diff] [blame^] | 5 | #include <linux/limits.h> |
Christopher Ferris | e084501 | 2014-07-09 14:58:51 -0700 | [diff] [blame] | 6 | |
Christopher Ferris | ccfaccd | 2016-08-24 12:11:31 -0700 | [diff] [blame^] | 7 | struct xt_cgroup_info_v0 { |
Christopher Ferris | e084501 | 2014-07-09 14:58:51 -0700 | [diff] [blame] | 8 | __u32 id; |
| 9 | __u32 invert; |
| 10 | }; |
| 11 | |
Christopher Ferris | ccfaccd | 2016-08-24 12:11:31 -0700 | [diff] [blame^] | 12 | struct xt_cgroup_info_v1 { |
| 13 | __u8 has_path; |
| 14 | __u8 has_classid; |
| 15 | __u8 invert_path; |
| 16 | __u8 invert_classid; |
| 17 | char path[PATH_MAX]; |
| 18 | __u32 classid; |
| 19 | |
| 20 | /* kernel internal data */ |
| 21 | void *priv __attribute__((aligned(8))); |
| 22 | }; |
| 23 | |
Christopher Ferris | e084501 | 2014-07-09 14:58:51 -0700 | [diff] [blame] | 24 | #endif /* _UAPI_XT_CGROUP_H */ |