Add Linux IPv6 support to glibtop_get_proc_open_files
Submitted by Mark McClelland
Link to original bug (#528175)
Description
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.