summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2022-04-08 22:46:00 +0300
committerDavid S. Miller <davem@davemloft.net>2022-04-11 13:55:53 +0300
commit4fa39b701ce9be7ec2169f7fba4f8dc1a3b92aac (patch)
tree59915df358ffa19fd23115538a32f2c624572ffa /tools
parente8887b716142e41d5b975309a96fdcbe8e5bd698 (diff)
downloadlinux-4fa39b701ce9be7ec2169f7fba4f8dc1a3b92aac.tar.xz
mptcp: listen diag dump support
makes 'ss -Ml' show mptcp listen sockets. Iterate over the tcp listen sockets and pick those that have mptcp ulp info attached. mptcp_diag_get_info() is modified to prefer msk->first for mptcp sockets in listen state. This reports accurate number for recv and send queue (pending / max connection backlog counters). Sample output: ss -Mil State Recv-Q Send-Q Local Address:Port Peer Address:Port LISTEN 0 20 127.0.0.1:12000 0.0.0.0:* subflows_max:2 Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions