]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ss: add SK_MEMINFO_DROPS display
authorEric Dumazet <edumazet@google.com>
Thu, 21 Apr 2016 12:19:04 +0000 (05:19 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 22 Apr 2016 17:20:32 +0000 (10:20 -0700)
commit6df9c7a06a8454db30121b9890ecd5a544f9710e
treea451a4bc2a06ecf342f3e60019088889c45534c8
parent32c0b9b7a8211d83ef82fc030c3cb2e137e00821
ss: add SK_MEMINFO_DROPS display

SK_MEMINFO_DROPS is added in linux-4.7 for TCP, UDP and SCTP

skmem will display the socket drop count using d prefix as in :

$ ss -tm src :22 | more
State      Recv-Q Send-Q Local Address:Port    Peer Address:Port
ESTAB      0      52     10.246.7.151:ssh      172.20.10.101:50759
 skmem:(r0,rb8388608,t0,tb8388608,f1792,w2304,o0,bl0,d0)

Signed-off-by: Eric Dumazet <edumazet@google.com>
misc/ss.c