procfs icon indicating copy to clipboard operation
procfs copied to clipboard

Support drops column in /proc/net/udp

Open dergecko opened this issue 1 year ago • 4 comments

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

dergecko avatar Aug 26 '24 08:08 dergecko

Thanks! Can you check the CI build failures?

eminence avatar Sep 10 '24 03:09 eminence

I'm working on it

dergecko avatar Oct 28 '24 07:10 dergecko

Sorry, too less coffee this morning. I will ping you when it's ready for review!

dergecko avatar Oct 28 '24 07:10 dergecko

Ok I fixed the CI build failures, but had to add some functionality to do so. Feel free to have another look at it!

dergecko avatar Oct 28 '24 09:10 dergecko