Searched refs:xsks_map_fd (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/tools/lib/bpf/ |
D | xsk.c | 82 int xsks_map_fd; member 434 BPF_LD_MAP_FD(BPF_REG_1, ctx->xsks_map_fd), in xsk_load_xdp_prog() 446 BPF_LD_MAP_FD(BPF_REG_1, ctx->xsks_map_fd), in xsk_load_xdp_prog() 458 BPF_LD_MAP_FD(BPF_REG_1, ctx->xsks_map_fd), in xsk_load_xdp_prog() 477 BPF_LD_MAP_FD(BPF_REG_1, ctx->xsks_map_fd), in xsk_load_xdp_prog() 591 ctx->xsks_map_fd = fd; in xsk_create_bpf_maps() 600 bpf_map_delete_elem(ctx->xsks_map_fd, &ctx->queue_id); in xsk_delete_bpf_maps() 601 close(ctx->xsks_map_fd); in xsk_delete_bpf_maps() 631 ctx->xsks_map_fd = -1; in xsk_lookup_bpf_maps() 646 ctx->xsks_map_fd = fd; in xsk_lookup_bpf_maps() [all …]
|
D | xsk.h | 275 int xsk_setup_xdp_prog(int ifindex, int *xsks_map_fd); 277 int xsk_socket__update_xskmap(struct xsk_socket *xsk, int xsks_map_fd);
|
/linux-5.19.10/samples/bpf/ |
D | xdpsock_ctrl_proc.c | 112 int xsks_map_fd; in main() local 141 err = xsk_setup_xdp_prog(ifindex, &xsks_map_fd); in main() 154 err = send_xsks_map_fd(msgsock, xsks_map_fd); in main()
|
D | xdpsock_user.c | 1856 recv_xsks_map_fd(int *xsks_map_fd) in recv_xsks_map_fd() argument 1876 err = recv_xsks_map_fd_from_ctrl_node(sock, xsks_map_fd); in recv_xsks_map_fd() 1892 int xsks_map_fd = 0; in main() local 1962 ret = recv_xsks_map_fd(&xsks_map_fd); in main() 1968 ret = xsk_socket__update_xskmap(xsks[0]->xsk, xsks_map_fd); in main()
|