From: David Ahern <dsahern@gmail.com>
To: Florian Westphal <fw@strlen.de>, netdev@vger.kernel.org
Cc: mptcp@lists.linux.dev, dsahern@gmail.com, stephen@networkplumber.org
Subject: Re: [PATCH iproute2] mptcp: add support for event monitoring
Date: Wed, 21 Apr 2021 22:12:07 -0700 [thread overview]
Message-ID: <dfc7151c-4796-1039-d023-f94ac6de30d2@gmail.com> (raw)
In-Reply-To: <20210416135930.9480-1-fw@strlen.de>
On 4/16/21 6:59 AM, Florian Westphal wrote:
> This adds iproute2 support for mptcp event monitoring, e.g. creation,
> establishment, address announcements from the peer, subflow establishment
> and so on.
>
> While the kernel-generated events are primarily aimed at mptcpd (e.g. for
> subflow management), this is also useful for debugging.
>
> This adds print support for the existing events.
>
> Sample output of 'ip mptcp monitor':
> [ CREATED] token=83f3a692 remid=0 locid=0 saddr4=10.0.1.2 daddr4=10.0.1.1 sport=58710 dport=10011
> [ ESTABLISHED] token=83f3a692 remid=0 locid=0 saddr4=10.0.1.2 daddr4=10.0.1.1 sport=58710 dport=10011
> [SF_ESTABLISHED] token=83f3a692 remid=0 locid=1 saddr4=10.0.2.2 daddr4=10.0.1.1 sport=40195 dport=10011 backup=0
> [ CLOSED] token=83f3a692
>
> Signed-off-by: Florian Westphal <fw@strlen.de>
> ---
> include/libgenl.h | 1 +
> include/uapi/linux/mptcp.h | 2 +
> ip/ipmptcp.c | 113 +++++++++++++++++++++++++++++++++++++
> lib/libgenl.c | 66 ++++++++++++++++++++++
> man/man8/ip-mptcp.8 | 8 +++
> 5 files changed, 190 insertions(+)
>
applied to iproute2-next. Thanks,
prev parent reply other threads:[~2021-04-22 5:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-16 13:59 [PATCH iproute2] mptcp: add support for event monitoring Florian Westphal
2021-04-22 5:12 ` David Ahern [this message]
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=dfc7151c-4796-1039-d023-f94ac6de30d2@gmail.com \
--to=dsahern@gmail.com \
--cc=fw@strlen.de \
--cc=mptcp@lists.linux.dev \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).