diff options
author | Florian Westphal <fw@strlen.de> | 2021-08-02 11:12:29 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2021-08-05 13:58:18 +0200 |
commit | 5f823f8fd90dc77b4256fc6cc296834cbe5c0f21 (patch) | |
tree | 9f4825137debfee7b3ee4773d868207708528dc5 /include/internal/object.h | |
parent | 5f6a7f009687f9790411e8e94b41423dcbe205b1 (diff) |
src: add support for status dump filter
This tells kernel to suppress conntrack entries that do not match
the status bits/bitmask filter.
This is useful to e.g. only list entries that are not assured
(value 0, mask == ASSUED) or entries that only saw one-way traffic
(value 0, mask == SEEN_REPLY).
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include/internal/object.h')
-rw-r--r-- | include/internal/object.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/internal/object.h b/include/internal/object.h index 3f6904f..75ffdbe 100644 --- a/include/internal/object.h +++ b/include/internal/object.h @@ -287,6 +287,7 @@ struct nfct_filter { struct nfct_filter_dump { struct nfct_filter_dump_mark mark; + struct nfct_filter_dump_mark status; uint8_t l3num; uint32_t set; }; |