Add TCP_INFO socket option
Even FreeBSD adopted this from Linux. Let met quote FreeBSD's netinet/tcp.h:
/* * The TCP_INFO socket option comes from the Linux 2.6 TCP API, and permits * the caller to query certain information about the state of a TCP * connection. We provide an overlapping set of fields with the Linux * implementation, but since this is a fixed size structure, room has been * left for growth. In order to maximize potential future compatibility with * the Linux API, the same variable names and order have been adopted, and * padding left to make room for omitted fields in case they are added later. * * XXX: This is currently an unstable ABI/API, in that it is expected to * change. */
Lack of this breaks some apps, ESPECIALLY those running on distros that support LX zones, and expect it to be there. A look at both Linux's and FreeBSD's netinet/tcp.h should be done to preserve maximum compatibility.
No data to display