Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_context_test_run.c51 struct xdp_md ctx_in, ctx_out; in test_xdp_context_test_run() local
55 .ctx_out = &ctx_out, in test_xdp_context_test_run()
56 .ctx_size_out = sizeof(ctx_out), in test_xdp_context_test_run()
87 ASSERT_EQ(ctx_out.data_meta, 0, "valid-datameta"); in test_xdp_context_test_run()
88 ASSERT_EQ(ctx_out.data, 0, "valid-data"); in test_xdp_context_test_run()
89 ASSERT_EQ(ctx_out.data_end, sizeof(pkt_v4), "valid-dataend"); in test_xdp_context_test_run()
H A Dskb_helpers.c17 .ctx_out = &skb, in test_skb_helpers()
H A Dtime_tai.c32 .ctx_out = &skb, in test_time_tai()
H A Dskb_ctx.c28 .ctx_out = &skb, in test_skb_ctx()
H A Dsk_lookup.c1037 .ctx_out = &ctx, in run_sk_assign()
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-prog.rst39 …ILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_out** *FILE* [**ctx_s…
189 …OG* data_in *FILE* [data_out *FILE* [data_size_out *L*]] [ctx_in *FILE* [ctx_out *FILE* [ctx_size_…
201 passed with **ctx_out**. For both output flows, "**-**" can be used to
214 them can take the **ctx_in**/**ctx_out** arguments. bpftool does not
/linux/net/bpf/
H A Dtest_run.c757 kattr->test.ctx_out || kattr->test.duration || in bpf_prog_test_run_raw_tp()
806 void __user *data_out = u64_to_user_ptr(kattr->test.ctx_out); in bpf_ctx_init()
838 void __user *data_out = u64_to_user_ptr(kattr->test.ctx_out); in bpf_ctx_finish()
1309 (do_live && (kattr->test.data_out || kattr->test.ctx_out))) in bpf_prog_test_run_xdp()
1623 kattr->test.ctx_out || kattr->test.duration || in bpf_prog_test_run_syscall()
/linux/Documentation/bpf/
H A Dbpf_prog_run.rst70 it, etc). For this reason, setting the ``data_out`` or ``ctx_out`` attributes
/linux/include/uapi/linux/
H A Dbpf.h363 * *ctx_out*, *data_out* (for example, packet data), result of the
367 * parameters *ctx_in*, *ctx_out*, *data_in*, and *data_out* must
381 * *ctx_out*, *data_in* and *data_out* must be NULL.
1672 __u32 ctx_size_out; /* input/output: len of ctx_out
1673 * returns ENOSPC if ctx_out member
1677 __aligned_u64 ctx_out;
/linux/tools/include/uapi/linux/
H A Dbpf.h363 * *ctx_out*, *data_out* (for example, packet data), result of the
367 * parameters *ctx_in*, *ctx_out*, *data_in*, and *data_out* must
381 * *ctx_out*, *data_in* and *data_out* must be NULL.
1672 __u32 ctx_size_out; /* input/output: len of ctx_out
1673 * returns ENOSPC if ctx_out member
1677 __aligned_u64 ctx_out;
/linux/kernel/bpf/
H A Dsyscall.c4694 if ((attr->test.ctx_size_out && !attr->test.ctx_out) || in bpf_prog_test_run()
4695 (!attr->test.ctx_size_out && attr->test.ctx_out)) in bpf_prog_test_run()
6325 attr->test.ctx_out || attr->test.duration || in kern_sys_bpf()