From 77ef4d83c8d030b183ff763605b2c3026545fc9c Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Wed, 8 Jan 2014 13:02:15 +0000 Subject: expr: add protocol context update callback Add a callback function to the expression ops to update the protocol context for relational protocol expressions (EXPR_F_PROTOCOL). Also set the EXPR_F_PROTOCOL flag for IIFTYPE meta expressions to make sure the callback is invoked when necessary. Signed-off-by: Patrick McHardy --- include/meta.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/meta.h') diff --git a/include/meta.h b/include/meta.h index 23f78cf1..459221fb 100644 --- a/include/meta.h +++ b/include/meta.h @@ -25,7 +25,5 @@ struct meta_template { extern struct expr *meta_expr_alloc(const struct location *loc, enum nft_meta_keys key); -extern void meta_expr_pctx_update(struct proto_ctx *ctx, - const struct expr *expr); #endif /* NFTABLES_META_H */ -- cgit v1.2.3