Home
last modified time | relevance | path

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

/Linux-v4.19/samples/bpf/
Dxdp2skb_meta_kern.c41 ret = bpf_xdp_adjust_meta(ctx, -(int)sizeof(*meta)); in _xdp_mark()
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_xdp_meta.c37 ret = bpf_xdp_adjust_meta(ctx, -round_up(ETH_ALEN, 4)); in ing_xdp()
Dbpf_helpers.h66 static int (*bpf_xdp_adjust_meta)(void *ctx, int offset) = variable
/Linux-v4.19/net/core/
Dfilter.c3125 BPF_CALL_2(bpf_xdp_adjust_meta, struct xdp_buff *, xdp, int, offset) in BPF_CALL_2() argument
3146 .func = bpf_xdp_adjust_meta,
4807 func == bpf_xdp_adjust_meta || in bpf_helper_changes_pkt_data()