From d4757b140364cd277f7f7f373475eb427003cb42 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Fri, 9 Jun 2023 18:52:16 +0200 Subject: cooker: Pass arguments to filter Signed-off-by: Stefano Brivio --- cooker/emit.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cooker/emit.h') diff --git a/cooker/emit.h b/cooker/emit.h index b9d326f..1cdadb9 100644 --- a/cooker/emit.h +++ b/cooker/emit.h @@ -43,6 +43,8 @@ struct gluten_offset emit_data_at(struct gluten_ctx *g, struct gluten_offset emit_data_or(struct gluten_ctx *g, struct gluten_offset offset, enum type type, union value *value); +void emit_bpf_arg(int index, enum type type, union value v, union value mask, + enum op_cmp_type cmp); void link_block(struct gluten_ctx *g); void link_match(struct gluten_ctx *g); void link_matches(struct gluten_ctx *g); -- cgit v1.2.3