Home
last modified time | relevance | path

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

/openbmc/linux/samples/bpf/
H A Dxdp_router_ipv4_user.c36 static int lpm_map_fd; variable
191 if (bpf_map_lookup_elem(lpm_map_fd, prefix_key, in read_route()
200 assert(bpf_map_update_elem(lpm_map_fd, in read_route()
206 assert(bpf_map_delete_elem(lpm_map_fd, in read_route()
234 assert(bpf_map_update_elem(lpm_map_fd, in read_route()
637 lpm_map_fd = bpf_map__fd(skel->maps.lpm_map); in main()
638 if (lpm_map_fd < 0) { in main()
640 strerror(-lpm_map_fd)); in main()