Skip to content

RFC preliminary support for 'ss'

Davide Caratti mptcp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tcp: ulp: add functions to dump ulp-specific informationinclude/net/tcp.h include/uapi/linux/inet_diag.h net/ipv4/tcp_diag.c+36 -20 replies
2/2mptcp: allow dumping subflow context to userspaceinclude/uapi/linux/inet_diag.h include/uapi/linux/mptcp.h net/mptcp/Makefile +3 more+105 -15 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [MPTCP] [PATCH RFC mptcp 0/2] preliminary support for 'ss'

dumping subflow-related information from userspace tools can be useful also in the early stages of developement, for writing functional tests and for debugging purposes.

- patch 1 adds support for ULP-specific information in the output of INET_DIAG_INFO request.
- patch2 is a POC that dumps several members of struct subflow_context.

Davide Caratti (2):
tcp: ulp: add functions to dump ulp-specific information
mptcp: allow dumping subflow context to userspace

 include/net/tcp.h              |  3 ++
 include/uapi/linux/inet_diag.h |  7 ++++
 include/uapi/linux/mptcp.h     | 21 ++++++++++
 net/ipv4/tcp_diag.c            | 33 ++++++++++++++-
 net/mptcp/Makefile             |  2 +-
 net/mptcp/diag.c               | 73 ++++++++++++++++++++++++++++++++++
 net/mptcp/protocol.h           |  3 ++
 net/mptcp/subflow.c            |  2 +
 8 files changed, 141 insertions(+), 3 deletions(-)
 create mode 100644 include/uapi/linux/mptcp.h
 create mode 100644 net/mptcp/diag.c
Signature · 1 line
2.20.1