Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_xdp_vlan.c207 bpf_xdp_adjust_head(ctx, VLAN_HDR_SZ); in xdp_prognum2()
259 bpf_xdp_adjust_head(ctx, VLAN_HDR_SZ); in xdp_prognum3()
Dtest_xdp.c113 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()
Dtest_xdp_noinline.c300 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()
Dbpf_helpers.h71 static int (*bpf_xdp_adjust_head)(void *ctx, int offset) = variable