[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0dc70546-627c-f44e-2293-d8b59da5200f@gmail.com>
Date: Wed, 10 May 2023 14:03:41 -0600
From: David Ahern <dsahern@...il.com>
To: Andrea Claudi <aclaudi@...hat.com>, netdev@...r.kernel.org
Cc: stephen@...workplumber.org
Subject: Re: [PATCH iproute2-next] mptcp: add support for implicit flag
On 5/5/23 7:58 AM, Andrea Claudi wrote:
> Kernel supports implicit flag since commit d045b9eb95a9 ("mptcp:
> introduce implicit endpoints"), included in v5.18.
>
> Let's add support for displaying it to iproute2.
>
> Before this change:
> $ ip mptcp endpoint show
> 10.0.2.2 id 1 rawflags 10
>
> After this change:
> $ ip mptcp endpoint show
> 10.0.2.2 id 1 implicit
>
> Signed-off-by: Andrea Claudi <aclaudi@...hat.com>
> ---
> ip/ipmptcp.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/ip/ipmptcp.c b/ip/ipmptcp.c
> index beba7a41..9847f95b 100644
> --- a/ip/ipmptcp.c
> +++ b/ip/ipmptcp.c
> @@ -58,6 +58,7 @@ static const struct {
> { "subflow", MPTCP_PM_ADDR_FLAG_SUBFLOW },
> { "backup", MPTCP_PM_ADDR_FLAG_BACKUP },
> { "fullmesh", MPTCP_PM_ADDR_FLAG_FULLMESH },
> + { "implicit", MPTCP_PM_ADDR_FLAG_IMPLICIT },
> { "nobackup", MPTCP_PM_ADDR_FLAG_NONE },
> { "nofullmesh", MPTCP_PM_ADDR_FLAG_NONE }
> };
Update the manpage with the new option.
Powered by blists - more mailing lists