All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Abeni <pabeni at redhat.com>
To: mptcp at lists.01.org
Subject: [MPTCP] [PATCH 0/3] mptcp: msk diag support
Date: Thu, 25 Jun 2020 12:22:27 +0200	[thread overview]
Message-ID: <cover.1593080104.git.pabeni@redhat.com> (raw)

[-- 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

                 reply	other threads:[~2020-06-25 10:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1593080104.git.pabeni@redhat.com \
    --to=unknown@example.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.