Home
last modified time | relevance | path

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

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