Searched refs:xsks_map_fd (Results 1 – 2 of 2) sorted by relevance
/external/libbpf/src/ |
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);
|