Page 1 of 1

Networking stats?

Posted: Tue Jun 12, 2018 10:20 pm
by fly135
Wondering if there are any lower level apis for collecting network stats? Having a lot of problems with network reliability and would like to get stats like..
TCP/IP level issues
packet issues
drops
errors
retransmits
fragments
out-of-sequence errors
etc
TCP buffer errors, settings
Does the buffer auto-size? etc.
TCP/IP statistics in general
packets in/out
data in/out
Wifi driver perf and debugging
errors
retries
rx, tx errors
John A

Re: Networking stats?

Posted: Wed Jun 20, 2018 12:47 am
by fly135
Since no one answered and the higher ups bugged me some more I looked into this. You can enable LwIP stats in make menuconfig, and there are calls in lwip/stats.h to dump a lot of information.

John A

Re: Networking stats?

Posted: Wed Jun 20, 2018 1:58 am
by vonnieda
fly135 wrote:Since no one answered and the higher ups bugged me some more I looked into this. You can enable LwIP stats in make menuconfig, and there are calls in lwip/stats.h to dump a lot of information.

John A
Nice find! Thanks for posting!