diff options
author | Patrick McHardy <kaber@trash.net> | 2014-01-08 13:02:15 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2014-01-08 13:02:15 +0000 |
commit | 77ef4d83c8d030b183ff763605b2c3026545fc9c (patch) | |
tree | 8ad321d7a8d5f285d84f3873c75f65c408ec11be /include/payload.h | |
parent | 8f86606efe82489945db1706bd1d1a4d524afcad (diff) |
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 <kaber@trash.net>
Diffstat (limited to 'include/payload.h')
-rw-r--r-- | include/payload.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/payload.h b/include/payload.h index 54d8d547..d47e5645 100644 --- a/include/payload.h +++ b/include/payload.h @@ -10,9 +10,6 @@ extern struct expr *payload_expr_alloc(const struct location *loc, extern void payload_init_raw(struct expr *expr, enum proto_bases base, unsigned int offset, unsigned int len); -extern void payload_expr_pctx_update(struct proto_ctx *ctx, - const struct expr *expr); - struct eval_ctx; extern int payload_gen_dependency(struct eval_ctx *ctx, const struct expr *expr, struct expr **res); |