From 9f1918ad12d02cf3ba02e4a43879a2a284a8289e Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Wed, 2 Mar 2016 13:56:43 +0100 Subject: exthdr: store offset for later use Its possible that we cannot find the template without also considering an implicit mask. For this we need to store the offset. Signed-off-by: Florian Westphal Acked-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 eacbb2d5..72b6f69b 100644 --- a/include/expression.h +++ b/include/expression.h @@ -264,6 +264,7 @@ struct expr { /* EXPR_EXTHDR */ const struct exthdr_desc *desc; const struct proto_hdr_template *tmpl; + unsigned int offset; } exthdr; struct { /* EXPR_META */ -- cgit v1.2.3