Skip to content

Commit 6b830c6

Browse files
matttbekuba-moo
authored andcommitted
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: Geliang Tang <[email protected]> Signed-off-by: Matthieu Baerts (NGI0) <[email protected]> Link: https://patch.msgid.link/20241221-net-mptcp-netlink-specs-pm-doc-fixes-v2-1-e54f2db3f844@kernel.org Signed-off-by: Jakub Kicinski <[email protected]>
1 parent b3a69c5 commit 6b830c6

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

Documentation/netlink/specs/mptcp_pm.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,17 @@ definitions:
2323
-
2424
name: created
2525
doc:
26-
token, family, saddr4 | saddr6, daddr4 | daddr6, sport, dport
26+
token, family, saddr4 | saddr6, daddr4 | daddr6, sport, dport,
27+
server-side
2728
A new MPTCP connection has been created. It is the good time to
2829
allocate memory and send ADD_ADDR if needed. Depending on the
2930
traffic-patterns it can take a long time until the
3031
MPTCP_EVENT_ESTABLISHED is sent.
3132
-
3233
name: established
3334
doc:
34-
token, family, saddr4 | saddr6, daddr4 | daddr6, sport, dport
35+
token, family, saddr4 | saddr6, daddr4 | daddr6, sport, dport,
36+
server-side
3537
A MPTCP connection is established (can start new subflows).
3638
-
3739
name: closed

include/uapi/linux/mptcp_pm.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@
1313
* enum mptcp_event_type
1414
* @MPTCP_EVENT_UNSPEC: unused event
1515
* @MPTCP_EVENT_CREATED: token, family, saddr4 | saddr6, daddr4 | daddr6,
16-
* sport, dport A new MPTCP connection has been created. It is the good time
17-
* to allocate memory and send ADD_ADDR if needed. Depending on the
18-
* traffic-patterns it can take a long time until the MPTCP_EVENT_ESTABLISHED
19-
* is sent.
16+
* sport, dport, server-side A new MPTCP connection has been created. It is
17+
* the good time to allocate memory and send ADD_ADDR if needed. Depending on
18+
* the traffic-patterns it can take a long time until the
19+
* MPTCP_EVENT_ESTABLISHED is sent.
2020
* @MPTCP_EVENT_ESTABLISHED: token, family, saddr4 | saddr6, daddr4 | daddr6,
21-
* sport, dport A MPTCP connection is established (can start new subflows).
21+
* sport, dport, server-side A MPTCP connection is established (can start new
22+
* subflows).
2223
* @MPTCP_EVENT_CLOSED: token A MPTCP connection has stopped.
2324
* @MPTCP_EVENT_ANNOUNCED: token, rem_id, family, daddr4 | daddr6 [, dport] A
2425
* new address has been announced by the peer.

0 commit comments

Comments
 (0)