Home
last modified time | relevance | path

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

/Linux-v5.4/samples/bpf/
Dxdp2skb_meta_kern.c41 ret = bpf_xdp_adjust_meta(ctx, -(int)sizeof(*meta)); in _xdp_mark()
/Linux-v5.4/tools/testing/selftests/bpf/progs/
Dtest_xdp_meta.c37 ret = bpf_xdp_adjust_meta(ctx, -round_up(ETH_ALEN, 4)); in ing_xdp()
/Linux-v5.4/tools/testing/selftests/bpf/
Dbpf_helpers.h86 static int (*bpf_xdp_adjust_meta)(void *ctx, int offset) = variable
/Linux-v5.4/net/core/
Dfilter.c3432 BPF_CALL_2(bpf_xdp_adjust_meta, struct xdp_buff *, xdp, int, offset) in BPF_CALL_2() argument
3453 .func = bpf_xdp_adjust_meta,
5948 func == bpf_xdp_adjust_meta || in bpf_helper_changes_pkt_data()