[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <dfc7151c-4796-1039-d023-f94ac6de30d2@gmail.com>
Date: Wed, 21 Apr 2021 22:12:07 -0700
From: David Ahern <dsahern@...il.com>
To: Florian Westphal <fw@...len.de>, netdev@...r.kernel.org
Cc: mptcp@...ts.linux.dev, dsahern@...il.com,
stephen@...workplumber.org
Subject: Re: [PATCH iproute2] mptcp: add support for event monitoring
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@...len.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,
Powered by blists - more mailing lists