wengzhe opened a new pull request, #13093:
URL: https://github.com/apache/nuttx/pull/13093
## Summary
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
````
## Impact
Log for netdev controlled by `NETDEV_STATISTICS_LOG_PERIOD`, no print if
there's no traffic.
## Testing
Manually on both SIM and products.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]