Searched refs:ctx_out (Results 1 – 8 of 8) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | xdp_context_test_run.c | 51 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 D | skb_helpers.c | 17 .ctx_out = &skb, in test_skb_helpers()
|
| H A D | time_tai.c | 32 .ctx_out = &skb, in test_time_tai()
|
| H A D | skb_ctx.c | 28 .ctx_out = &skb, in test_skb_ctx()
|
| H A D | sk_lookup.c | 1037 .ctx_out = &ctx, in run_sk_assign()
|
| /linux/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-prog.rst | 39 | **bpftool** **prog run** *PROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *FILE* [**ctx_out** *FILE* [**ctx_size_out** *M*]]] [**repeat** *N*] 189 bpftool prog run *PROG* data_in *FILE* [data_out *FILE* [data_size_out *L*]] [ctx_in *FILE* [ctx_out *FILE* [ctx_size_out *M*]]] [repeat *N*] 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/tools/include/uapi/linux/ |
| H A D | bpf.h | 371 * *ctx_out*, *data_out* (for example, packet data), result of the 375 * parameters *ctx_in*, *ctx_out*, *data_in*, and *data_out* must 389 * *ctx_out*, *data_in* and *data_out* must be NULL. 1694 __u32 ctx_size_out; /* input/output: len of ctx_out 1695 * returns ENOSPC if ctx_out 1699 __aligned_u64 ctx_out; 1673 __aligned_u64 ctx_out; global() member
|
| /linux/kernel/bpf/ |
| H A D | syscall.c | 4733 if ((attr->test.ctx_size_out && !attr->test.ctx_out) || in bpf_prog_test_run() 4734 (!attr->test.ctx_size_out && attr->test.ctx_out)) in bpf_prog_test_run() 6411 attr->test.ctx_out || attr->test.duration || in kern_sys_bpf()
|