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