On Wed, Aug 10, 2016 at 12:37:27PM -0700, Joe Williams wrote: > > What do you think ? If you want, as a first step we can merge your patch > > as-is with surrounding #ifdef __linux__ and drop the two parts that are > > not compatible with 2.4. Probably that we'll have to think about dropping > > support for linux < 2.6.something for version 1.8. > > I think this seems like the most reasonable solution for the time being. I > agree in the long run it probably makes sense to have a wrapper around > tcp_info to make things agnostic.
OK just done now for linux, freebsd and netbsd with all fields except the last two ones. The patch looks reasonably clean with a few more #ifdef but not that much since things stay grouped together. Build-tested on linux and freebsd. Thanks! Willy

