Messages in this thread | | From: Amerigo Wang <amwang@redhat.com> Date: Mon, 1 Feb 2010 02:59:32 -0500
> > Currently, we can only get TCP send buffer size by > getsockopt (SO_SNDBUF or TCP_INFO), this is not enough > for the tools like netstat or ss to read. > > Show TCP send buffer size via netlink NETLINK_INET_DIAG. > > Signed-off-by: WANG Cong <amwang@redhat.com> > Cc: David Miller <davem@davemloft.net>
You can't change the layout of struct tcp_info, it's hard coded into applications.
| |