diff options
author | Phil Sutter <phil@nwl.cc> | 2017-03-10 18:13:50 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-03-10 19:01:21 +0100 |
commit | 627be570eff8f05849614a257e6fa45c744f4dbd (patch) | |
tree | bf434417d7d862ab4ee74cb7f330729fa84149fc /include/expression.h | |
parent | 9fd9baba43c8ee17f944a1157b77a8e47cb9ba41 (diff) |
exthdr: Add support for exthdr specific flags
This allows to have custom flags in exthdr expression, which is
necessary for upcoming existence checks (of both IPv6 extension headers
as well as TCP options).
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/expression.h')
-rw-r--r-- | include/expression.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/expression.h b/include/expression.h index 4f2948cc..423eae71 100644 --- a/include/expression.h +++ b/include/expression.h @@ -282,6 +282,7 @@ struct expr { const struct proto_hdr_template *tmpl; unsigned int offset; enum nft_exthdr_op op; + unsigned int flags; } exthdr; struct { /* EXPR_META */ |