Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dtest_xdp_context_test_run.c15 if (bpf_xdp_adjust_meta(xdp, 4)) in xdp_context()
Dxsk_xdp_progs.c39 err = bpf_xdp_adjust_meta(xdp, -(int)sizeof(struct xdp_info)); in xsk_xdp_populate_metadata()
Dxdp_metadata.c37 ret = bpf_xdp_adjust_meta(ctx, -(int)sizeof(struct xdp_meta)); in rx()
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_hw_metadata.c64 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-v6.6/samples/bpf/
Dxdp2skb_meta_kern.c41 ret = bpf_xdp_adjust_meta(ctx, -(int)sizeof(*meta)); in _xdp_mark()
/Linux-v6.6/Documentation/networking/
Dxdp-rx-metadata.rst55 bytes out of metadata via ``bpf_xdp_adjust_meta`` and calls a subset
/Linux-v6.6/net/core/
Dfilter.c4139 BPF_CALL_2(bpf_xdp_adjust_meta, struct xdp_buff *, xdp, int, offset) in BPF_CALL_2() argument
4159 .func = bpf_xdp_adjust_meta,
7761 func == bpf_xdp_adjust_meta || in bpf_helper_changes_pkt_data()