Home
last modified time | relevance | path

Searched refs:bpf_get_link_xdp_id (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dxdp_info.c17 err = bpf_get_link_xdp_id(IFINDEX_LO, &prog_id, 0); in test_xdp_info()
23 err = bpf_get_link_xdp_id(IFINDEX_LO, &prog_id, XDP_FLAGS_SKB_MODE); in test_xdp_info()
46 err = bpf_get_link_xdp_id(IFINDEX_LO, &prog_id, 0); in test_xdp_info()
52 err = bpf_get_link_xdp_id(IFINDEX_LO, &prog_id, XDP_FLAGS_SKB_MODE); in test_xdp_info()
58 err = bpf_get_link_xdp_id(IFINDEX_LO, &prog_id, XDP_FLAGS_DRV_MODE); in test_xdp_info()
Dxdp_attach.c46 err = bpf_get_link_xdp_id(IFINDEX_LO, &id0, 0); in test_xdp_attach()
60 err = bpf_get_link_xdp_id(IFINDEX_LO, &id0, 0); in test_xdp_attach()
78 err = bpf_get_link_xdp_id(IFINDEX_LO, &id0, 0); in test_xdp_attach()
Dxdp_link.c48 err = bpf_get_link_xdp_id(IFINDEX_LO, &id0, 0); in test_xdp_link()
75 err = bpf_get_link_xdp_id(IFINDEX_LO, &id0, 0); in test_xdp_link()
112 err = bpf_get_link_xdp_id(IFINDEX_LO, &id0, 0); in test_xdp_link()
/kernel/linux/linux-5.10/samples/bpf/
Dxdp_redirect_map_user.c35 if (bpf_get_link_xdp_id(ifindex_in, &curr_prog_id, xdp_flags)) { in int_exit()
48 if (bpf_get_link_xdp_id(ifindex_out, &curr_prog_id, in int_exit()
Dxdp_redirect_user.c35 if (bpf_get_link_xdp_id(ifindex_in, &curr_prog_id, xdp_flags)) { in int_exit()
48 if (bpf_get_link_xdp_id(ifindex_out, &curr_prog_id, in int_exit()
Dxdp1_user.c29 if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { in int_exit()
Dxdp_adjust_tail_user.c37 if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { in int_exit()
Dxdp_sample_pkts_user.c54 err = bpf_get_link_xdp_id(idx, &curr_prog_id, xdp_flags); in do_detach()
Dxdp_tx_iptunnel_user.c35 if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { in int_exit()
Dxdp_rxq_info_user.c65 if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { in int_exit()
Dxdpsock_user.c464 if (bpf_get_link_xdp_id(opt_ifindex, &curr_prog_id, opt_xdp_flags)) { in remove_xdp_program()
870 ret = bpf_get_link_xdp_id(opt_ifindex, &prog_id, opt_xdp_flags); in xsk_configure_socket()
Dxdp_router_ipv4_user.c46 if (bpf_get_link_xdp_id(ifindex_list[i], &prog_id, flags)) { in int_exit()
Dxdp_redirect_cpu_user.c103 if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { in int_exit()
/kernel/linux/linux-5.10/tools/lib/bpf/
Dlibbpf.map137 bpf_get_link_xdp_id;
Dnetlink.c340 int bpf_get_link_xdp_id(int ifindex, __u32 *prog_id, __u32 flags) in bpf_get_link_xdp_id() function
Dlibbpf.h517 LIBBPF_API int bpf_get_link_xdp_id(int ifindex, __u32 *prog_id, __u32 flags);
Dxsk.c578 err = bpf_get_link_xdp_id(ctx->ifindex, &prog_id, in xsk_setup_xdp_prog()