aboutgitcodelistschat:MatrixIRC
path: root/cooker/emit.h
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2023-06-09 18:52:16 +0200
committerStefano Brivio <sbrivio@redhat.com>2023-06-09 18:52:38 +0200
commitd4757b140364cd277f7f7f373475eb427003cb42 (patch)
tree159e5da9d3c9f151c99c25ec0e9bffc2222de970 /cooker/emit.h
parent65b5eacaa500e702b982c6848e1ffc18094bc9a9 (diff)
downloadseitan-d4757b140364cd277f7f7f373475eb427003cb42.tar
seitan-d4757b140364cd277f7f7f373475eb427003cb42.tar.gz
seitan-d4757b140364cd277f7f7f373475eb427003cb42.tar.bz2
seitan-d4757b140364cd277f7f7f373475eb427003cb42.tar.lz
seitan-d4757b140364cd277f7f7f373475eb427003cb42.tar.xz
seitan-d4757b140364cd277f7f7f373475eb427003cb42.tar.zst
seitan-d4757b140364cd277f7f7f373475eb427003cb42.zip
cooker: Pass arguments to filter
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'cooker/emit.h')
-rw-r--r--cooker/emit.h2
1 files changed, 2 insertions, 0 deletions
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);