+94
−0
+1
−1
net/kcm/kcmproc.c
0 → 100644
+422
−0
+80
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This patch adds various counters for KCM. These include counters for messages and bytes received or sent, as well as counters for number of attached/unattached TCP sockets and other error or edge events. The statistics are exposed via a proc interface. /proc/net/kcm provides statistics per KCM socket and per psock (attached TCP sockets). /proc/net/kcm_stats provides aggregate statistics. Signed-off-by:Tom Herbert <tom@herbertland.com> Signed-off-by:
David S. Miller <davem@davemloft.net>