blob: e96dfa1b34f7ff8a118105b936b2e1324d7ebe94 [file] [log] [blame]
Christopher Ferris25981132017-11-14 16:53:49 -08001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Christopher Ferrise0845012014-07-09 14:58:51 -07002#ifndef _UAPI_XT_CGROUP_H
3#define _UAPI_XT_CGROUP_H
4
5#include <linux/types.h>
Christopher Ferrisccfaccd2016-08-24 12:11:31 -07006#include <linux/limits.h>
Christopher Ferrise0845012014-07-09 14:58:51 -07007
Christopher Ferrisccfaccd2016-08-24 12:11:31 -07008struct xt_cgroup_info_v0 {
Christopher Ferrise0845012014-07-09 14:58:51 -07009 __u32 id;
10 __u32 invert;
11};
12
Christopher Ferrisccfaccd2016-08-24 12:11:31 -070013struct 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 Ferrise0845012014-07-09 14:58:51 -070025#endif /* _UAPI_XT_CGROUP_H */