diff options
| author | Florian Westphal <[email protected]> | 2022-04-08 12:46:00 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-04-11 11:55:53 +0100 |
| commit | 4fa39b701ce9be7ec2169f7fba4f8dc1a3b92aac (patch) | |
| tree | 59915df358ffa19fd23115538a32f2c624572ffa /tools/perf/scripts/python/libxed.py | |
| parent | e8887b716142e41d5b975309a96fdcbe8e5bd698 (diff) | |
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 <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions