* [MPTCP] [PATCH 0/3] mptcp: msk diag support
@ 2020-06-25 10:22 Paolo Abeni
0 siblings, 0 replies; only message in thread
From: Paolo Abeni @ 2020-06-25 10:22 UTC (permalink / raw)
To: mptcp
[-- Attachment #1: Type: text/plain, Size: 1084 bytes --]
This introduces basic mptcp sockets diag support.
As IPPROTO_MPTCP excedes 8 bits, we need some changes at the inet_diag level:
a new attribute is introduced to allow user-space providing u32 protocol
values.
Patch 2 introduces new token APIs to allow traversing the existing msks, while
patch 3 bring in the actual diag implementation.
Paolo Abeni (3):
inet_diag: support for wider protocol numbers
mptcp: add msk interations helpers
mptcp: add MPTCP socket diag interface
include/uapi/linux/inet_diag.h | 1 +
include/uapi/linux/mptcp.h | 15 ++++
net/core/sock.c | 1 +
net/ipv4/inet_diag.c | 63 +++++++++----
net/mptcp/Kconfig | 4 +
net/mptcp/Makefile | 2 +
net/mptcp/mptcp_diag.c | 160 +++++++++++++++++++++++++++++++++
net/mptcp/options.c | 6 +-
net/mptcp/protocol.h | 3 +
net/mptcp/token.c | 83 +++++++++++++++++
10 files changed, 318 insertions(+), 20 deletions(-)
create mode 100644 net/mptcp/mptcp_diag.c
--
2.26.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-25 10:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-25 10:22 [MPTCP] [PATCH 0/3] mptcp: msk diag support Paolo Abeni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.