Files
linux/net/mptcp
Florian Westphal 4fa39b701c 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>
2022-04-11 11:55:53 +01:00
..
2020-06-26 16:21:39 -07:00
2021-08-14 11:37:25 +01:00
2022-03-04 21:54:30 -08:00
2022-03-04 21:54:30 -08:00
2022-04-11 11:55:53 +01:00
2022-03-04 21:54:30 -08:00
2022-04-11 11:55:53 +01:00
2022-01-07 11:27:06 +00:00