diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-04-21 01:26:46 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-05-03 00:18:04 +0200 |
commit | 38228087252c1d5da9dc88a09d3539e9882d808e (patch) | |
tree | 71e975e946db1b3b1421cf52df3e8bedac941aef /include/datatype.h | |
parent | 80440b227b0013eb5c0eae8ceb3af2fbba267619 (diff) |
src: add cgroupsv2 support
Add support for matching on the cgroups version 2.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/datatype.h')
-rw-r--r-- | include/datatype.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/datatype.h b/include/datatype.h index a16f8f2b..448be57f 100644 --- a/include/datatype.h +++ b/include/datatype.h @@ -48,6 +48,7 @@ * @TYPE_TIME_DATA Date type (integer subtype) * @TYPE_TIME_HOUR Hour type (integer subtype) * @TYPE_TIME_DAY Day type (integer subtype) + * @TYPE_CGROUPV2 cgroups v2 (integer subtype) */ enum datatypes { TYPE_INVALID, @@ -96,6 +97,7 @@ enum datatypes { TYPE_TIME_DATE, TYPE_TIME_HOUR, TYPE_TIME_DAY, + TYPE_CGROUPV2, __TYPE_MAX }; #define TYPE_MAX (__TYPE_MAX - 1) @@ -271,6 +273,7 @@ extern const struct datatype time_type; extern const struct datatype boolean_type; extern const struct datatype priority_type; extern const struct datatype policy_type; +extern const struct datatype cgroupv2_type; void inet_service_type_print(const struct expr *expr, struct output_ctx *octx); |