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/exthdr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/exthdr.h') diff --git a/include/exthdr.h b/include/exthdr.h index cdcc2b95..c7f806eb 100644 --- a/include/exthdr.h +++ b/include/exthdr.h @@ -23,7 +23,7 @@ extern struct expr *exthdr_expr_alloc(const struct location *loc, extern void exthdr_init_raw(struct expr *expr, uint8_t type, unsigned int offset, unsigned int len, - enum nft_exthdr_op op); + enum nft_exthdr_op op, uint32_t flags); extern bool exthdr_find_template(struct expr *expr, const struct expr *mask, unsigned int *shift); -- cgit v1.2.3