diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/payload.h | 1 | ||||
-rw-r--r-- | include/rule.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/payload.h b/include/payload.h index b180ff53..37375c10 100644 --- a/include/payload.h +++ b/include/payload.h @@ -9,6 +9,7 @@ extern struct expr *payload_expr_alloc(const struct location *loc, unsigned int type); extern void payload_init_raw(struct expr *expr, enum proto_bases base, unsigned int offset, unsigned int len); +extern unsigned int payload_hdr_field(const struct expr *expr); struct eval_ctx; struct stmt; diff --git a/include/rule.h b/include/rule.h index 6dbde130..09b3ff70 100644 --- a/include/rule.h +++ b/include/rule.h @@ -192,6 +192,7 @@ extern struct rule *rule_alloc(const struct location *loc, const struct handle *h); extern void rule_free(struct rule *rule); extern void rule_print(const struct rule *rule); +extern struct rule *rule_lookup(const struct chain *chain, uint64_t handle); /** * enum set_flags |