Searched refs:bpf_skb_adjust_room (Results 1 – 6 of 6) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A 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() 180 err = bpf_skb_adjust_room(skb, 4, 0, 0); in bpf_prog3()
|
H A D | test_tc_tunnel.c | 226 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 D | decap_sanity.c | 56 err = bpf_skb_adjust_room(skb, -(s32)(ETH_HLEN + sizeof(ip6h) + sizeof(udph)), in decap_sanity()
|
H A D | test_cls_redirect.c | 393 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 D | test_cls_redirect_dynptr.c | 284 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 D | filter.c | 3662 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,
|