Lines Matching defs:args

51 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)
79 retBL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A)
82 return args->buflen;
86 retWL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A)
89 return args->wirelen;
93 retNF(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A)
103 setARG(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A)
105 bool *arg = (bool *)args->arg;
157 bpf_args_t args = {
172 ATF_CHECK(code(&ctx, &args) == 13);
196 bpf_args_t args = {
211 ATF_CHECK(code(&ctx, &args) == sizeof(pkt));
235 bpf_args_t args = {
250 ATF_CHECK(code(&ctx, &args) == sizeof(pkt));
274 bpf_args_t args = {
289 ATF_CHECK(code(&ctx, &args) == ctx.nfuncs);
316 bpf_args_t args = {
333 ATF_CHECK(code(&ctx, &args) == 0);
364 bpf_args_t args = {
379 ATF_CHECK(code(&ctx, &args) == 3 + ctx.nfuncs);
458 bpf_args_t args = {
473 ATF_CHECK(code(&ctx, &args) == 13);
498 bpf_args_t args = {
513 ATF_CHECK(code(&ctx, &args) == sizeof(pkt));
538 bpf_args_t args = {
553 ATF_CHECK(code(&ctx, &args) == sizeof(pkt));
578 bpf_args_t args = {
593 ATF_CHECK(code(&ctx, &args) == ctx.nfuncs);
621 bpf_args_t args = {
638 ATF_CHECK(code(&ctx, &args) == 0);
670 bpf_args_t args = {
685 ATF_CHECK(code(&ctx, &args) == 5 + ctx.nfuncs);
709 bpf_args_t args = {
724 ATF_CHECK(code(&ctx, &args) == 0);