From 627be570eff8f05849614a257e6fa45c744f4dbd Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Fri, 10 Mar 2017 18:13:50 +0100 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- include/expression.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/expression.h') 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 */ -- cgit v1.2.3