Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/
Dtest_netcnt.c40 struct net_cnt netcnt; in main() local
112 if (bpf_map_lookup_elem(map_fd, &key, &netcnt)) { in main()
125 packets = netcnt.packets; in main()
126 bytes = netcnt.bytes; in main()
/tools/testing/selftests/bpf/progs/
Dnetcnt_prog.c23 } netcnt SEC(".maps");
34 cnt = bpf_get_local_storage(&netcnt, 0); in bpf_nextcnt()