]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commit
ss: use new INET_DIAG_SKMEMINFO option to get more memory information for tcp socket
authorShan Wei <shanwei88@gmail.com>
Thu, 3 May 2012 08:39:52 +0000 (16:39 +0800)
committerStephen Hemminger <shemminger@vyatta.com>
Thu, 3 May 2012 15:27:28 +0000 (08:27 -0700)
commit910b039771dd655e53bccaea6e82735718ab4e61
tree7f03acbfb63cc911a2c5b2ec26e1dd0f1e6c84e0
parente2780880761df1ab1e8249653e9a18d19d66ae81
ss: use new INET_DIAG_SKMEMINFO option to get more memory information for tcp socket

INET_DIAG_SKMEMINFO is used to monitor socket memory information
which contains more information than INET_DIAG_MEMINFO.

-m option is retained for old kernel that don't surpport INET_DIAG_SKMEMINFO.

Signed-off-by: Shan Wei <davidshan@tencent.com>
misc/ss.c