Message ID | 1eaea070b52f2db1f310506ac49f4b5d51b5704c.1683294873.git.aclaudi@redhat.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | David Ahern |
Headers | show |
Series | [iproute2-next] mptcp: add support for implicit flag | expand |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Not a local patch |
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@redhat.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.
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 } };
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@redhat.com> --- ip/ipmptcp.c | 1 + 1 file changed, 1 insertion(+)