Home
last modified time | relevance | path

Searched refs:bpf_xdp_load_bytes (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dtest_xdp_update_frags.c26 err = bpf_xdp_load_bytes(xdp, offset, val, sizeof(val)); in xdp_adjust_frags()
/Linux-v6.1/samples/bpf/
Dxdp1_kern.c56 if (bpf_xdp_load_bytes(ctx, 0, pkt, sizeof(pkt))) in xdp_prog1()
Dxdp2_kern.c72 if (bpf_xdp_load_bytes(ctx, 0, pkt, sizeof(pkt))) in xdp_prog1()
/Linux-v6.1/net/core/
Dfilter.c3926 BPF_CALL_4(bpf_xdp_load_bytes, struct xdp_buff *, xdp, u32, offset, in BPF_CALL_4() argument
3944 .func = bpf_xdp_load_bytes,