Home
last modified time | relevance | path

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

/Linux-v5.4/samples/bpf/
Dxdp_router_ipv4_user.c33 static int lpm_map_fd; variable
245 if (bpf_map_lookup_elem(lpm_map_fd, prefix_key, in read_route()
254 assert(bpf_map_update_elem(lpm_map_fd, in read_route()
267 assert(bpf_map_delete_elem(lpm_map_fd, in read_route()
295 assert(bpf_map_update_elem(lpm_map_fd, in read_route()
684 lpm_map_fd = bpf_object__find_map_fd_by_name(obj, "lpm_map"); in main()
690 if (lpm_map_fd < 0 || rxcnt_map_fd < 0 || arp_table_map_fd < 0 || in main()