diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-16 20:59:31 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-16 20:59:31 +0200 |
commit | 5ee50f525f79169cb984813620ca7df144f82132 (patch) | |
tree | a19549c73fc3d748772ee697ce3f0826f791f4e1 /src/core/unit.h | |
parent | 7ed1f63d506f8023db57e496519c7ef63820762e (diff) | |
parent | 32ee7d3309816994a02b3ff000e9734120d71214 (diff) |
Merge pull request #1269 from zonque/netcls
cgroup: add support for net_cls controllers
Diffstat (limited to 'src/core/unit.h')
-rw-r--r-- | src/core/unit.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/unit.h b/src/core/unit.h index 3c7684411b..c868d75c79 100644 --- a/src/core/unit.h +++ b/src/core/unit.h @@ -161,6 +161,9 @@ struct Unit { /* CGroup realize members queue */ LIST_FIELDS(Unit, cgroup_queue); + /* Units with the same CGroup netclass */ + LIST_FIELDS(Unit, cgroup_netclass); + /* PIDs we keep an eye on. Note that a unit might have many * more, but these are the ones we care enough about to * process SIGCHLD for */ @@ -189,6 +192,8 @@ struct Unit { CGroupMask cgroup_members_mask; int cgroup_inotify_wd; + uint32_t cgroup_netclass_id; + /* How to start OnFailure units */ JobMode on_failure_job_mode; |