Work for every network device using `CONFIG_NETDEV_STATISTICS`.
Log style:
<interface>:T{done}/{total},R({v4}+{v6})/{total} {Protocol}:T{tx},R{rx},D{drop}
Example:
wlan0:T10/10,R(10+20)/31 TCP:T0,R0,D0 UDP:T0,R10,D0 ICMP:T0,R0,D0 ICMP6:T0,R0,D0
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| netdev.h | ||
| netdev_carrier.c | ||
| netdev_count.c | ||
| netdev_default.c | ||
| netdev_findbyaddr.c | ||
| netdev_findbyindex.c | ||
| netdev_findbyname.c | ||
| netdev_foreach.c | ||
| netdev_ifconf.c | ||
| netdev_input.c | ||
| netdev_iob.c | ||
| netdev_ioctl.c | ||
| netdev_ipv6.c | ||
| netdev_lladdrsize.c | ||
| netdev_register.c | ||
| netdev_stats.c | ||
| netdev_txnotify.c | ||
| netdev_unregister.c | ||
| netdev_verify.c | ||
| netdown_notifier.c | ||