Searched refs:bpf_xdp_query_id (Results 1 – 16 of 16) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | xdp_info.c | 17 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()
|
D | xdp_attach.c | 44 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()
|
D | xdp_link.c | 49 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/ |
D | xdp1_user.c | 28 if (bpf_xdp_query_id(ifindex, xdp_flags, &curr_prog_id)) { in int_exit()
|
D | xdp_adjust_tail_user.c | 36 if (bpf_xdp_query_id(ifindex, xdp_flags, &curr_prog_id)) { in int_exit()
|
D | xdp_sample_pkts_user.c | 53 err = bpf_xdp_query_id(idx, xdp_flags, &curr_prog_id); in do_detach()
|
D | xdp_fwd_user.c | 59 if (bpf_xdp_query_id(ifindex, xdp_flags, &curr_prog_id)) { in do_detach()
|
D | xdp_tx_iptunnel_user.c | 34 if (bpf_xdp_query_id(ifindex, xdp_flags, &curr_prog_id)) { in int_exit()
|
D | xdp_rxq_info_user.c | 67 if (bpf_xdp_query_id(ifindex, xdp_flags, &curr_prog_id)) { in int_exit()
|
D | xdp_sample_user.c | 1267 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/ |
D | xdp_redirect_multi.c | 34 if (bpf_xdp_query_id(ifaces[i], xdp_flags, &prog_id)) { in int_exit()
|
D | xdp_synproxy.c | 373 err = bpf_xdp_query_id(ifindex, 0, &prog_id); in main()
|
D | xsk.c | 498 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/ |
D | libbpf.map | 328 bpf_xdp_query_id;
|
D | libbpf.h | 969 LIBBPF_API int bpf_xdp_query_id(int ifindex, int flags, __u32 *prog_id);
|
D | netlink.c | 399 int bpf_xdp_query_id(int ifindex, int flags, __u32 *prog_id) in bpf_xdp_query_id() function
|