Home
last modified time | relevance | path

Searched refs:ctx_out (Results 1 – 10 of 10) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dxdp_context_test_run.c33 struct xdp_md ctx_in, ctx_out; in test_xdp_context_test_run() local
37 .ctx_out = &ctx_out, in test_xdp_context_test_run()
38 .ctx_size_out = sizeof(ctx_out), in test_xdp_context_test_run()
69 ASSERT_EQ(ctx_out.data_meta, 0, "valid-datameta"); in test_xdp_context_test_run()
70 ASSERT_EQ(ctx_out.data, 0, "valid-data"); in test_xdp_context_test_run()
71 ASSERT_EQ(ctx_out.data_end, sizeof(pkt_v4), "valid-dataend"); in test_xdp_context_test_run()
Dskb_helpers.c17 .ctx_out = &skb, in test_skb_helpers()
Dskb_ctx.c26 .ctx_out = &skb, in test_skb_ctx()
Dsk_lookup.c1064 .ctx_out = &ctx, in run_sk_assign()
/tools/lib/bpf/
Dbpf.h219 void *ctx_out; /* optional */ member
280 void *ctx_out; /* optional */ member
Dbpf.c834 attr.test.ctx_out = ptr_to_u64(test_attr->ctx_out); in bpf_prog_test_run_xattr()
868 attr.test.ctx_out = ptr_to_u64(OPTS_GET(opts, ctx_out, NULL)); in bpf_prog_test_run_opts()
/tools/bpf/bpftool/Documentation/
Dbpftool-prog.rst34 …ILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_out** *FILE* [**ctx_s…
172 …ILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_out** *FILE* [**ctx_s…
186 written to the *FILE* passed with **ctx_out**. For both
202 not all of them can take the **ctx_in**/**ctx_out**
/tools/bpf/bpftool/
Dprog.c1186 void *ctx_in = NULL, *ctx_out = NULL; in do_run() local
1301 err = alloc_run_data(&ctx_out, test_attr.ctx_size_out); in do_run()
1311 test_attr.ctx_out = ctx_out; in do_run()
1332 err += print_run_output(test_attr.ctx_out, in do_run()
1347 free(ctx_out); in do_run()
/tools/bpf/bpftool/bash-completion/
Dbpftool571 data_in|data_out|ctx_in|ctx_out)
580 ctx_in ctx_out ctx_size_out repeat'
/tools/include/uapi/linux/
Dbpf.h1376 __aligned_u64 ctx_out; member