Home
last modified time | relevance | path

Searched refs:exact_match_map_fd (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/samples/bpf/
H A Dxdp_router_ipv4_user.c38 static int exact_match_map_fd; variable
176 assert(bpf_map_delete_elem(exact_match_map_fd, in read_route()
183 assert(bpf_map_update_elem(exact_match_map_fd, in read_route()
356 if (bpf_map_lookup_elem(exact_match_map_fd, in read_arp()
366 assert(bpf_map_update_elem(exact_match_map_fd, in read_arp()
649 exact_match_map_fd = bpf_map__fd(skel->maps.exact_match); in main()
650 if (exact_match_map_fd < 0) { in main()
651 fprintf(stderr, "Failed loading exact_match_map_fd %s\n", in main()
652 strerror(-exact_match_map_fd)); in main()
/kernel/linux/linux-5.10/samples/bpf/
H A Dxdp_router_ipv4_user.c36 static int exact_match_map_fd; variable
222 assert(bpf_map_delete_elem(exact_match_map_fd, in read_route()
229 assert(bpf_map_update_elem(exact_match_map_fd, in read_route()
420 if (bpf_map_lookup_elem(exact_match_map_fd, in read_arp()
430 assert(bpf_map_update_elem(exact_match_map_fd, in read_arp()
690 exact_match_map_fd = bpf_object__find_map_fd_by_name(obj, in main()
694 exact_match_map_fd < 0 || tx_port_map_fd < 0) { in main()

Completed in 2 milliseconds