Searched refs:rxcnt_map_fd (Results 1 – 4 of 4) sorted by relevance
/samples/bpf/ |
D | xdp_redirect_user.c | 29 static int rxcnt_map_fd; variable 76 assert(bpf_map_lookup_elem(rxcnt_map_fd, &key, values) == 0); in poll_stats() 173 rxcnt_map_fd = bpf_object__find_map_fd_by_name(obj, "rxcnt"); in main() 174 if (tx_port_map_fd < 0 || rxcnt_map_fd < 0) { in main()
|
D | xdp_redirect_map_user.c | 29 static int rxcnt_map_fd; variable 76 assert(bpf_map_lookup_elem(rxcnt_map_fd, &key, values) == 0); in poll_stats() 172 rxcnt_map_fd = bpf_object__find_map_fd_by_name(obj, "rxcnt"); in main() 173 if (tx_port_map_fd < 0 || rxcnt_map_fd < 0) { in main()
|
D | xdp_tx_iptunnel_user.c | 27 static int rxcnt_map_fd; variable 68 assert(bpf_map_lookup_elem(rxcnt_map_fd, &proto, in poll_stats() 275 rxcnt_map_fd = bpf_object__find_map_fd_by_name(obj, "rxcnt"); in main() 277 if (vip2tnl_map_fd < 0 || rxcnt_map_fd < 0) { in main()
|
D | xdp_router_ipv4_user.c | 34 static int rxcnt_map_fd; variable 574 assert(bpf_map_lookup_elem(rxcnt_map_fd, in monitor_route() 685 rxcnt_map_fd = bpf_object__find_map_fd_by_name(obj, "rxcnt"); in main() 690 if (lpm_map_fd < 0 || rxcnt_map_fd < 0 || arp_table_map_fd < 0 || in main()
|