Searched refs:bpf_xdp_adjust_head (Results 1 – 4 of 4) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/bpf/ |
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.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 | 71 static int (*bpf_xdp_adjust_head)(void *ctx, int offset) = variable
|