Home
last modified time | relevance | path

Searched refs:bpf_xdp_adjust_head (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_vlan.c207 bpf_xdp_adjust_head(ctx, VLAN_HDR_SZ); in xdp_prognum2()
246 bpf_xdp_adjust_head(ctx, VLAN_HDR_SZ); in xdp_prognum3()
H A Dtest_xdp_loop.c107 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct iphdr))) in handle_ipv4()
177 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct ipv6hdr))) in handle_ipv6()
H A Dtest_xdp.c111 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct iphdr))) in handle_ipv4()
181 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct ipv6hdr))) in handle_ipv6()
H A Dtest_xdp_dynptr.c121 if (bpf_xdp_adjust_head(xdp, 0 - (int)iphdr_sz)) in handle_ipv4()
200 if (bpf_xdp_adjust_head(xdp, 0 - (int)ipv6hdr_sz)) in handle_ipv6()
H A Dtest_xdp_noinline.c289 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct ipv6hdr))) in encap_v6()
337 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct iphdr))) in encap_v4()
369 if (bpf_xdp_adjust_head(xdp, (int)sizeof(struct iphdr))) in encap_v4()
H A Ddynptr_fail.c1210 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(*hdr))) in xdp_invalid_data_slice1()
1235 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(*hdr))) in xdp_invalid_data_slice2()
1661 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(*hdr))) in clone_xdp_packet_data()
/openbmc/linux/samples/bpf/
H A Dxdp_tx_iptunnel_kern.c112 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct iphdr))) in handle_ipv4()
184 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct ipv6hdr))) in handle_ipv6()
H A Dxdp_adjust_tail_kern.c75 if (bpf_xdp_adjust_head(xdp, 0 - headroom)) in send_icmp4_too_big()
/openbmc/linux/net/core/
H A Dfilter.c3933 BPF_CALL_2(bpf_xdp_adjust_head, struct xdp_buff *, xdp, int, offset) in BPF_CALL_2() argument
3954 .func = bpf_xdp_adjust_head,
7880 func == bpf_xdp_adjust_head || in bpf_helper_changes_pkt_data()