Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/bpf/progs/
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()
183 err = bpf_skb_adjust_room(skb, 4, 0, 0); in bpf_prog3()
Dtest_tc_tunnel.c223 if (bpf_skb_adjust_room(skb, olen, BPF_ADJ_ROOM_MAC, flags)) in __encap_ipv4()
352 if (bpf_skb_adjust_room(skb, olen, BPF_ADJ_ROOM_MAC, flags)) in __encap_ipv6()
396 if (bpf_skb_adjust_room(skb, olen, BPF_ADJ_ROOM_MAC, flags)) in encap_ipv6_ipip6()
660 if (bpf_skb_adjust_room(skb, -olen, BPF_ADJ_ROOM_MAC, flags)) in decap_internal()
Ddecap_sanity.c56 err = bpf_skb_adjust_room(skb, -(s32)(ETH_HLEN + sizeof(ip6h) + sizeof(udph)), in decap_sanity()
Dtest_cls_redirect_dynptr.c282 if (bpf_skb_adjust_room(skb, -encap_overhead, BPF_ADJ_ROOM_MAC, in accept_locally()
384 if (bpf_skb_adjust_room(skb, delta, BPF_ADJ_ROOM_NET, in forward_with_gre()
Dtest_cls_redirect.c390 if (bpf_skb_adjust_room(skb, -encap_overhead, BPF_ADJ_ROOM_MAC, in accept_locally()
489 if (bpf_skb_adjust_room(skb, delta, BPF_ADJ_ROOM_NET, in forward_with_gre()
/linux-6.6.21/net/core/
Dfilter.c3631 BPF_CALL_4(bpf_skb_adjust_room, struct sk_buff *, skb, s32, len_diff, in BPF_CALL_4() argument
3695 .func = bpf_skb_adjust_room,
7822 func == bpf_skb_adjust_room || in bpf_helper_changes_pkt_data()