Searched refs:bpf_skb_adjust_room (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | test_sockmap_kern.h | 167 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()
|
D | test_tc_tunnel.c | 223 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()
|
D | decap_sanity.c | 56 err = bpf_skb_adjust_room(skb, -(s32)(ETH_HLEN + sizeof(ip6h) + sizeof(udph)), in decap_sanity()
|
D | test_cls_redirect_dynptr.c | 282 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()
|
D | test_cls_redirect.c | 390 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/ |
D | filter.c | 3631 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()
|