Home
last modified time | relevance | path

Searched refs:bpf_args_t (Results 1 – 15 of 15) sorted by relevance

/netbsd-src/tests/lib/libbpfjit/
H A Dt_cop.c43 static uint32_t retA(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
44 static uint32_t retBL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
45 static uint32_t retWL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
46 static uint32_t retNF(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
47 static uint32_t setARG(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
64 retA(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) in retA()
71 retBL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) in retBL()
78 retWL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) in retWL()
85 retNF(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) in retNF()
95 setARG(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) in setARG()
[all …]
H A Dt_extmem.c43 static uint32_t retM(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
57 retM(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) in retM()
86 bpf_args_t args = { in ATF_TC_BODY()
125 bpf_args_t args = { in ATF_TC_BODY()
189 bpf_args_t args = { in ATF_TC_BODY()
241 bpf_args_t args = { in ATF_TC_BODY()
309 bpf_args_t args = { in ATF_TC_BODY()
354 bpf_args_t args = { in ATF_TC_BODY()
400 bpf_args_t args = { in ATF_TC_BODY()
446 bpf_args_t args = { in ATF_TC_BODY()
H A Dt_bpfjit.c50 bpf_args_t args; in jitcall()
/netbsd-src/tests/net/bpfjit/
H A Dt_cop.c51 static uint32_t retA(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
52 static uint32_t retBL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
53 static uint32_t retWL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
54 static uint32_t retNF(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
55 static uint32_t setARG(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
72 retA(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) in retA()
79 retBL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) in retBL()
86 retWL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) in retWL()
93 retNF(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) in retNF()
103 setARG(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) in setARG()
[all …]
H A Dt_extmem.c51 static uint32_t retM(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
65 retM(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) in retM()
94 bpf_args_t args = { in ATF_TC_BODY()
170 bpf_args_t args = { in ATF_TC_BODY()
228 bpf_args_t args = { in ATF_TC_BODY()
308 bpf_args_t args = { in ATF_TC_BODY()
359 bpf_args_t args = { in ATF_TC_BODY()
411 bpf_args_t args = { in ATF_TC_BODY()
463 bpf_args_t args = { in ATF_TC_BODY()
H A Dt_bpfjit.c63 bpf_args_t args; in jitcall()
/netbsd-src/sys/net/npf/
H A Dnpf_bpf.c59 static uint32_t npf_cop_l3(const bpf_ctx_t *, bpf_args_t *, uint32_t);
60 static uint32_t npf_cop_table(const bpf_ctx_t *, bpf_args_t *, uint32_t);
85 npf_bpf_prepare(npf_cache_t *npc, bpf_args_t *args, uint32_t *M) in npf_bpf_prepare()
126 npf_bpf_filter(bpf_args_t *args, const void *code, bpfjit_func_t jcode) in npf_bpf_filter()
154 npf_cop_l3(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) in npf_cop_l3()
174 npf_cop_table(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) in npf_cop_table()
H A Dnpf_ruleset.c806 npf_rule_inspect(const npf_rule_t *rl, bpf_args_t *bc_args, in npf_rule_inspect()
834 npf_rule_reinspect(const npf_rule_t *rg, bpf_args_t *bc_args, in npf_rule_reinspect()
870 bpf_args_t bc_args; in npf_ruleset_inspect()
H A Dnpf_impl.h375 void npf_bpf_prepare(npf_cache_t *, bpf_args_t *, uint32_t *);
376 int npf_bpf_filter(bpf_args_t *, const void *, bpfjit_func_t);
/netbsd-src/tests/net/bpf/
H A Dh_bpf.h47 const struct bpf_insn *, bpf_args_t *);
86 bpf_args_t args; in exec_prog()
115 bpf_args_t args; in interp_prog_mchain2()
139 bpf_args_t args; in exec_prog_mchain2()
/netbsd-src/sys/net/
H A Dbpf.h407 } bpf_args_t; typedef
411 typedef uint32_t (*bpf_copfunc_t)(const bpf_ctx_t *, bpf_args_t *, uint32_t);
591 u_int bpf_filter_ext(const bpf_ctx_t *, const struct bpf_insn *, bpf_args_t *);
H A Dbpfjit.h55 typedef unsigned int (*bpfjit_func_t)(const bpf_ctx_t *, bpf_args_t *);
H A Dbpf_filter.c200 bpf_args_t args = { in bpf_filter()
212 bpf_filter_ext(const bpf_ctx_t *bc, const struct bpf_insn *pc, bpf_args_t *args) in bpf_filter_ext()
223 bpf_args_t args_store = { in bpf_filter_ext()
230 bpf_args_t * const args = &args_store; in bpf_filter_ext()
H A Dbpf.c1682 bpf_args_t args = { in bpf_xfilter()
/netbsd-src/usr.sbin/npf/npftest/libnpftest/
H A Dnpf_bpf_test.c49 bpf_args_t bc_args; in test_bpf_code()