Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_xdp_context_test_run.c15 if (bpf_xdp_adjust_meta(xdp, 4)) in xdp_context()
Dxsk_xdp_progs.c40 err = bpf_xdp_adjust_meta(xdp, -(int)sizeof(struct xdp_info)); in xsk_xdp_populate_metadata()
Dtest_xdp_meta.c37 ret = bpf_xdp_adjust_meta(ctx, -round_up(ETH_ALEN, 4)); in ing_xdp()
Dtest_xdp_do_redirect.c55 if (bpf_xdp_adjust_meta(xdp, sizeof(__u64))) in xdp_redirect()
Dxdp_metadata.c69 ret = bpf_xdp_adjust_meta(ctx, -(int)sizeof(struct xdp_meta)); in rx()
Dxdp_hw_metadata.c75 err = bpf_xdp_adjust_meta(ctx, -(int)sizeof(struct xdp_meta)); in rx()
Dverifier_meta_access.c109 : __imm(bpf_xdp_adjust_meta), in meta_access_test5()
/linux-6.12.1/samples/bpf/
Dxdp2skb_meta_kern.c41 ret = bpf_xdp_adjust_meta(ctx, -(int)sizeof(*meta)); in _xdp_mark()
/linux-6.12.1/Documentation/networking/
Dxdp-rx-metadata.rst63 bytes out of metadata via ``bpf_xdp_adjust_meta`` and calls a subset
/linux-6.12.1/net/core/
Dfilter.c4226 BPF_CALL_2(bpf_xdp_adjust_meta, struct xdp_buff *, xdp, int, offset) in BPF_CALL_2() argument
4246 .func = bpf_xdp_adjust_meta,
7916 func == bpf_xdp_adjust_meta || in bpf_helper_changes_pkt_data()