Searched refs:bpf_xdp_adjust_head (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/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 | 71 if (bpf_xdp_adjust_head(xdp, 0 - headroom)) in send_icmp4_too_big()
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | test_xdp.c | 113 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct iphdr))) in handle_ipv4() 183 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct ipv6hdr))) in handle_ipv6()
|
D | test_xdp_noinline.c | 300 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct ipv6hdr))) in encap_v6() 348 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct iphdr))) in encap_v4() 380 if (bpf_xdp_adjust_head(xdp, (int)sizeof(struct iphdr))) in encap_v4() 399 if (bpf_xdp_adjust_head(xdp, (int)sizeof(struct ipv6hdr))) in decap_v6() 417 if (bpf_xdp_adjust_head(xdp, (int)sizeof(struct iphdr))) in decap_v4()
|
D | bpf_helpers.h | 64 static int (*bpf_xdp_adjust_head)(void *ctx, int offset) = variable
|
/Linux-v4.19/net/core/ |
D | filter.c | 3073 BPF_CALL_2(bpf_xdp_adjust_head, struct xdp_buff *, xdp, int, offset) in BPF_CALL_2() argument 3094 .func = bpf_xdp_adjust_head, 4806 func == bpf_xdp_adjust_head || in bpf_helper_changes_pkt_data()
|