Home
last modified time | relevance | path

Searched refs:bpf_skb_adjust_room (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_sockmap_kern.h167 err = bpf_skb_adjust_room(skb, -13, 0, 0); in bpf_prog3()
170 err = bpf_skb_adjust_room(skb, 4, 0, 0); in bpf_prog3()
180 err = bpf_skb_adjust_room(skb, 4, 0, 0); in bpf_prog3()
H A Dtest_tc_tunnel.c226 if (bpf_skb_adjust_room(skb, olen, BPF_ADJ_ROOM_MAC, flags)) in __encap_ipv4()
355 if (bpf_skb_adjust_room(skb, olen, BPF_ADJ_ROOM_MAC, flags)) in __encap_ipv6()
399 if (bpf_skb_adjust_room(skb, olen, BPF_ADJ_ROOM_MAC, flags)) in encap_ipv6_ipip6()
663 if (bpf_skb_adjust_room(skb, -olen, BPF_ADJ_ROOM_MAC, flags)) in decap_internal()
H A Ddecap_sanity.c56 err = bpf_skb_adjust_room(skb, -(s32)(ETH_HLEN + sizeof(ip6h) + sizeof(udph)), in decap_sanity()
H A Dtest_cls_redirect.c393 if (bpf_skb_adjust_room(skb, -encap_overhead, BPF_ADJ_ROOM_MAC, in accept_locally()
492 if (bpf_skb_adjust_room(skb, delta, BPF_ADJ_ROOM_NET, in forward_with_gre()
H A Dtest_cls_redirect_dynptr.c284 if (bpf_skb_adjust_room(skb, -encap_overhead, BPF_ADJ_ROOM_MAC, in accept_locally()
386 if (bpf_skb_adjust_room(skb, delta, BPF_ADJ_ROOM_NET, in forward_with_gre()
/linux/net/core/
H A Dfilter.c3662 BPF_CALL_4(bpf_skb_adjust_room, struct sk_buff *, skb, s32, len_diff, in BPF_CALL_4() argument
3726 .func = bpf_skb_adjust_room,