Commit | Line | Data |
---|---|---|
82a37132 DB |
1 | #ifndef _UAPI_XT_CGROUP_H |
2 | #define _UAPI_XT_CGROUP_H | |
3 | ||
4 | #include <linux/types.h> | |
c38c4597 | 5 | #include <linux/limits.h> |
82a37132 | 6 | |
4ec8ff0e | 7 | struct xt_cgroup_info_v0 { |
82a37132 DB |
8 | __u32 id; |
9 | __u32 invert; | |
10 | }; | |
11 | ||
c38c4597 TH |
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 | ||
82a37132 | 24 | #endif /* _UAPI_XT_CGROUP_H */ |