Commit 6b830c6a authored by Matthieu Baerts (NGI0)'s avatar Matthieu Baerts (NGI0) Committed by Jakub Kicinski
Browse files

netlink: specs: mptcp: add missing 'server-side' attr



This attribute is added with the 'created' and 'established' events, but
the documentation didn't mention it.

The documentation in the UAPI header has been auto-generated by:

  ./tools/net/ynl/ynl-regen.sh

Reviewed-by: default avatarGeliang Tang <geliang@kernel.org>
Signed-off-by: default avatarMatthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20241221-net-mptcp-netlink-specs-pm-doc-fixes-v2-1-e54f2db3f844@kernel.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent b3a69c55
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -23,7 +23,8 @@ definitions:
     -
      name: created
      doc:
        token, family, saddr4 | saddr6, daddr4 | daddr6, sport, dport
        token, family, saddr4 | saddr6, daddr4 | daddr6, sport, dport,
        server-side
        A new MPTCP connection has been created. It is the good time to
        allocate memory and send ADD_ADDR if needed. Depending on the
        traffic-patterns it can take a long time until the
@@ -31,7 +32,8 @@ definitions:
     -
      name: established
      doc:
        token, family, saddr4 | saddr6, daddr4 | daddr6, sport, dport
        token, family, saddr4 | saddr6, daddr4 | daddr6, sport, dport,
        server-side
        A MPTCP connection is established (can start new subflows).
     -
      name: closed
+6 −5
Original line number Diff line number Diff line
@@ -13,12 +13,13 @@
 * enum mptcp_event_type
 * @MPTCP_EVENT_UNSPEC: unused event
 * @MPTCP_EVENT_CREATED: token, family, saddr4 | saddr6, daddr4 | daddr6,
 *   sport, dport A new MPTCP connection has been created. It is the good time
 *   to allocate memory and send ADD_ADDR if needed. Depending on the
 *   traffic-patterns it can take a long time until the MPTCP_EVENT_ESTABLISHED
 *   is sent.
 *   sport, dport, server-side A new MPTCP connection has been created. It is
 *   the good time to allocate memory and send ADD_ADDR if needed. Depending on
 *   the traffic-patterns it can take a long time until the
 *   MPTCP_EVENT_ESTABLISHED is sent.
 * @MPTCP_EVENT_ESTABLISHED: token, family, saddr4 | saddr6, daddr4 | daddr6,
 *   sport, dport A MPTCP connection is established (can start new subflows).
 *   sport, dport, server-side A MPTCP connection is established (can start new
 *   subflows).
 * @MPTCP_EVENT_CLOSED: token A MPTCP connection has stopped.
 * @MPTCP_EVENT_ANNOUNCED: token, rem_id, family, daddr4 | daddr6 [, dport] A
 *   new address has been announced by the peer.