Searched refs:netcnt (Results 1 – 2 of 2) sorted by relevance
40 struct net_cnt netcnt; in main() local112 if (bpf_map_lookup_elem(map_fd, &key, &netcnt)) { in main()125 packets = netcnt.packets; in main()126 bytes = netcnt.bytes; in main()
23 } netcnt SEC(".maps");34 cnt = bpf_get_local_storage(&netcnt, 0); in bpf_nextcnt()