Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dtest_sockmap_kern.h163 err = bpf_skb_adjust_room(skb, -13, 0, 0); in bpf_prog3()
166 err = bpf_skb_adjust_room(skb, 4, 0, 0); in bpf_prog3()
179 err = bpf_skb_adjust_room(skb, 4, 0, 0); in bpf_prog3()
Dtest_tc_tunnel.c219 if (bpf_skb_adjust_room(skb, olen, BPF_ADJ_ROOM_MAC, flags)) in __encap_ipv4()
348 if (bpf_skb_adjust_room(skb, olen, BPF_ADJ_ROOM_MAC, flags)) in __encap_ipv6()
572 if (bpf_skb_adjust_room(skb, -olen, BPF_ADJ_ROOM_MAC, in decap_internal()
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()
/external/libbpf/src/
Dbpf_helper_defs.h1273 static long (*bpf_skb_adjust_room)(struct __sk_buff *skb, __s32 len_diff, __u32 mode, __u64 flags) … variable