Searched refs:bpf_args_t (Results 1 – 12 of 12) sorted by relevance
| /netbsd/src/tests/lib/libbpfjit/ |
| D | t_cop.c | 43 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 …]
|
| D | t_extmem.c | 43 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()
|
| D | t_bpfjit.c | 50 bpf_args_t args; in jitcall()
|
| /netbsd/src/sys/net/npf/ |
| D | npf_bpf.c | 59 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()
|
| D | npf_ruleset.c | 806 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()
|
| D | npf_impl.h | 375 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/ |
| D | h_bpf.h | 47 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/ |
| D | bpf.h | 407 } 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 *);
|
| D | bpfjit.h | 55 typedef unsigned int (*bpfjit_func_t)(const bpf_ctx_t *, bpf_args_t *);
|
| D | bpf_filter.c | 200 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()
|
| D | bpf.c | 1682 bpf_args_t args = { in bpf_xfilter()
|
| /netbsd/src/usr.sbin/npf/npftest/libnpftest/ |
| D | npf_bpf_test.c | 49 bpf_args_t bc_args; in test_bpf_code()
|