Home
last modified time | relevance | path

Searched refs:bpf_xdp_query_id (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dxdp_info.c17 err = bpf_xdp_query_id(IFINDEX_LO, 0, &prog_id); in serial_test_xdp_info()
23 err = bpf_xdp_query_id(IFINDEX_LO, XDP_FLAGS_SKB_MODE, &prog_id); in serial_test_xdp_info()
46 err = bpf_xdp_query_id(IFINDEX_LO, 0, &prog_id); in serial_test_xdp_info()
52 err = bpf_xdp_query_id(IFINDEX_LO, XDP_FLAGS_SKB_MODE, &prog_id); in serial_test_xdp_info()
58 err = bpf_xdp_query_id(IFINDEX_LO, XDP_FLAGS_DRV_MODE, &prog_id); in serial_test_xdp_info()
Dxdp_attach.c44 err = bpf_xdp_query_id(IFINDEX_LO, 0, &id0); in serial_test_xdp_attach()
57 err = bpf_xdp_query_id(IFINDEX_LO, 0, &id0); in serial_test_xdp_attach()
75 err = bpf_xdp_query_id(IFINDEX_LO, 0, &id0); in serial_test_xdp_attach()
Dxdp_link.c49 err = bpf_xdp_query_id(IFINDEX_LO, 0, &id0); in serial_test_xdp_link()
76 err = bpf_xdp_query_id(IFINDEX_LO, 0, &id0); in serial_test_xdp_link()
112 err = bpf_xdp_query_id(IFINDEX_LO, 0, &id0); in serial_test_xdp_link()
/linux-6.1.9/samples/bpf/
Dxdp1_user.c28 if (bpf_xdp_query_id(ifindex, xdp_flags, &curr_prog_id)) { in int_exit()
Dxdp_adjust_tail_user.c36 if (bpf_xdp_query_id(ifindex, xdp_flags, &curr_prog_id)) { in int_exit()
Dxdp_sample_pkts_user.c53 err = bpf_xdp_query_id(idx, xdp_flags, &curr_prog_id); in do_detach()
Dxdp_fwd_user.c59 if (bpf_xdp_query_id(ifindex, xdp_flags, &curr_prog_id)) { in do_detach()
Dxdp_tx_iptunnel_user.c34 if (bpf_xdp_query_id(ifindex, xdp_flags, &curr_prog_id)) { in int_exit()
Dxdp_rxq_info_user.c67 if (bpf_xdp_query_id(ifindex, xdp_flags, &curr_prog_id)) { in int_exit()
Dxdp_sample_user.c1267 ret = bpf_xdp_query_id(ifindex, xdp_flags, &cur_prog_id); in __sample_remove_xdp()
1309 ret = bpf_xdp_query_id(ifindex, xdp_flags, &prog_id); in sample_install_xdp()
/linux-6.1.9/tools/testing/selftests/bpf/
Dxdp_redirect_multi.c34 if (bpf_xdp_query_id(ifaces[i], xdp_flags, &prog_id)) { in int_exit()
Dxdp_synproxy.c373 err = bpf_xdp_query_id(ifindex, 0, &prog_id); in main()
Dxsk.c498 err = bpf_xdp_query_id(ctx->ifindex, xsk->config.xdp_flags, &prog_id); in xsk_create_bpf_link()
869 err = bpf_xdp_query_id(ctx->ifindex, xsk->config.xdp_flags, &prog_id); in __xsk_setup_xdp_prog()
/linux-6.1.9/tools/lib/bpf/
Dlibbpf.map328 bpf_xdp_query_id;
Dlibbpf.h969 LIBBPF_API int bpf_xdp_query_id(int ifindex, int flags, __u32 *prog_id);
Dnetlink.c399 int bpf_xdp_query_id(int ifindex, int flags, __u32 *prog_id) in bpf_xdp_query_id() function