GNOME Bugzilla – Bug 528175
Add Linux IPv6 support to glibtop_get_proc_open_files
Last modified: 2018-01-10 19:46:03 UTC
The open files enumerating code in libgtop currently doesn't support IPv6 sockets. I have created a patch to add support for a new file type (GLIBTOP_FILE_TYPE_INET6SOCKET), along with the relevant parsing code for /proc/net/tcp6 for Linux systems. AFACT, FreeBSD is the only other platform where this library supports socket enumeration, but I didn't implement IPv6 there since I don't have a FreeBSD system to test on.
Created attachment 109289 [details] [review] IPv6 patch
Hello Mark, i'm pleased to see that there are still people who care about libgtop2 :). Your patch is almost perfect (only the hashtable destruction is missing, no need to update the patch). I'm going to test it, then i'll first have to branch libgtop and i'll merge your patch. This is totally going into 2.24. I'll then update system-monitor 2.23. Very nice work.
Thank you for those words! If you haven't already updated system-monitor, I can submit a patch for that too. It was actually the reason that I made this patch.
Anyway, i don't know why i never though of udp ...
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/libgtop/issues/8.