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/ |
D | xdp_info.c | 17 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()
|
D | xdp_attach.c | 46 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()
|
D | xdp_link.c | 48 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/ |
D | xdp_redirect_map_user.c | 35 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()
|
D | xdp_redirect_user.c | 35 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()
|
D | xdp1_user.c | 29 if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { in int_exit()
|
D | xdp_adjust_tail_user.c | 37 if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { in int_exit()
|
D | xdp_sample_pkts_user.c | 54 err = bpf_get_link_xdp_id(idx, &curr_prog_id, xdp_flags); in do_detach()
|
D | xdp_tx_iptunnel_user.c | 35 if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { in int_exit()
|
D | xdp_rxq_info_user.c | 65 if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { in int_exit()
|
D | xdpsock_user.c | 464 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()
|
D | xdp_router_ipv4_user.c | 46 if (bpf_get_link_xdp_id(ifindex_list[i], &prog_id, flags)) { in int_exit()
|
D | xdp_redirect_cpu_user.c | 103 if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { in int_exit()
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | libbpf.map | 137 bpf_get_link_xdp_id;
|
D | netlink.c | 340 int bpf_get_link_xdp_id(int ifindex, __u32 *prog_id, __u32 flags) in bpf_get_link_xdp_id() function
|
D | libbpf.h | 517 LIBBPF_API int bpf_get_link_xdp_id(int ifindex, __u32 *prog_id, __u32 flags);
|
D | xsk.c | 578 err = bpf_get_link_xdp_id(ctx->ifindex, &prog_id, in xsk_setup_xdp_prog()
|