Home
last modified time | relevance | path

Searched refs:bpf_xdp_detach (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dxdp_attach.c66 err = bpf_xdp_detach(IFINDEX_LO, 0, &opts); in serial_test_xdp_attach()
71 err = bpf_xdp_detach(IFINDEX_LO, 0, &opts); in serial_test_xdp_attach()
80 bpf_xdp_detach(IFINDEX_LO, 0, NULL); in serial_test_xdp_attach()
Dxdp_link.c59 bpf_xdp_detach(IFINDEX_LO, XDP_FLAGS_REPLACE, &opts); in serial_test_xdp_link()
65 err = bpf_xdp_detach(IFINDEX_LO, XDP_FLAGS_REPLACE, &opts); in serial_test_xdp_link()
92 err = bpf_xdp_detach(IFINDEX_LO, 0, NULL); in serial_test_xdp_link()
Dxdp_cpumap_attach.c31 err = bpf_xdp_detach(IFINDEX_LO, XDP_FLAGS_SKB_MODE, NULL); in test_xdp_with_cpumap_helpers()
51 bpf_xdp_detach(IFINDEX_LO, XDP_FLAGS_SKB_MODE, NULL); in test_xdp_with_cpumap_helpers()
Dxdp_devmap_attach.c33 err = bpf_xdp_detach(IFINDEX_LO, XDP_FLAGS_SKB_MODE, NULL); in test_xdp_with_devmap_helpers()
53 bpf_xdp_detach(IFINDEX_LO, XDP_FLAGS_SKB_MODE, NULL); in test_xdp_with_devmap_helpers()
Dxdp_info.c65 bpf_xdp_detach(IFINDEX_LO, 0, NULL); in serial_test_xdp_info()
/Linux-v6.1/samples/bpf/
Dxdp_tx_iptunnel_user.c39 bpf_xdp_detach(ifindex, xdp_flags, NULL); in int_exit()
307 bpf_xdp_detach(ifindex, xdp_flags, NULL); in main()
Dxdp1_user.c33 bpf_xdp_detach(ifindex, xdp_flags, NULL); in int_exit()
Dxdp_adjust_tail_user.c41 bpf_xdp_detach(ifindex, xdp_flags, NULL); in int_exit()
Dxdp_sample_pkts_user.c59 err = bpf_xdp_detach(idx, xdp_flags, NULL); in do_detach()
Dxdp_fwd_user.c95 err = bpf_xdp_detach(ifindex, xdp_flags, &opts); in do_detach()
Dxdp_rxq_info_user.c75 bpf_xdp_detach(ifindex, xdp_flags, NULL); in int_exit()
Dxdp_sample_user.c1280 return bpf_xdp_detach(ifindex, xdp_flags, NULL); in __sample_remove_xdp()
/Linux-v6.1/tools/testing/selftests/bpf/
Dxdp_redirect_multi.c39 bpf_xdp_detach(ifaces[i], xdp_flags, NULL); in int_exit()
Dxdping.c31 bpf_xdp_detach(ifindex, xdp_flags, NULL); in cleanup()
Dxsk.c818 bpf_xdp_detach(ctx->ifindex, 0, NULL); in xsk_init_xdp_res()
Dxskxceiver.c1888 bpf_xdp_detach(ifindex, flags, NULL); in is_xdp_supported()
/Linux-v6.1/tools/lib/bpf/
Dlibbpf.map326 bpf_xdp_detach;
Dlibbpf.h966 LIBBPF_API int bpf_xdp_detach(int ifindex, __u32 flags,
Dnetlink.c294 int bpf_xdp_detach(int ifindex, __u32 flags, const struct bpf_xdp_attach_opts *opts) in bpf_xdp_detach() function