Searched refs:bpf_xdp_adjust_head (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | test_xdp_vlan.c | 207 bpf_xdp_adjust_head(ctx, VLAN_HDR_SZ); in xdp_prognum2() 259 bpf_xdp_adjust_head(ctx, VLAN_HDR_SZ); in xdp_prognum3()
|
D | test_xdp_loop.c | 107 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()
|
D | test_xdp.c | 111 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()
|
D | test_xdp_noinline.c | 289 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() 388 if (bpf_xdp_adjust_head(xdp, (int)sizeof(struct ipv6hdr))) in decap_v6() 406 if (bpf_xdp_adjust_head(xdp, (int)sizeof(struct iphdr))) in decap_v4()
|
/linux-6.1.9/samples/bpf/ |
D | xdp_tx_iptunnel_kern.c | 112 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()
|
D | xdp_adjust_tail_kern.c | 74 if (bpf_xdp_adjust_head(xdp, 0 - headroom)) in send_icmp4_too_big()
|
/linux-6.1.9/net/core/ |
D | filter.c | 3833 BPF_CALL_2(bpf_xdp_adjust_head, struct xdp_buff *, xdp, int, offset) in BPF_CALL_2() argument 3854 .func = bpf_xdp_adjust_head, 7600 func == bpf_xdp_adjust_head || in bpf_helper_changes_pkt_data()
|