Open dergecko opened 1 month ago
Since Kernel 2.6.27 the kernel reports drops on udp sockets. I created this merge request to include the named column as I can become in handy.
The official man page does not list the udp drops column however the feature was introduces a long time ago. Kernel commit: https://github.com/torvalds/linux/commit/cb61cb9b8b5ef6c2697d84e5015e314626eb2fba
Please let me know if I should change anything on the PR or if I missed something important, as this is my first PR here.
I added unit tests for parsing the /proc/net/udp prior and after kernel version 2.6.27
/proc/net/udp
Thanks! Can you check the CI build failures?
Description
Since Kernel 2.6.27 the kernel reports drops on udp sockets. I created this merge request to include the named column as I can become in handy.
The official man page does not list the udp drops column however the feature was introduces a long time ago. Kernel commit: https://github.com/torvalds/linux/commit/cb61cb9b8b5ef6c2697d84e5015e314626eb2fba
Please let me know if I should change anything on the PR or if I missed something important, as this is my first PR here.
How was this PR tested?
I added unit tests for parsing the
/proc/net/udp
prior and after kernel version 2.6.27