History

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

Matthieu Baerts (NGI0) committed 1 year ago

Commit 6b830c61 parent b3a69c52 files · +10 −7Browse files

Unified · Split

2 files
  1. Documentation/netlink/specs/mptcp_pm.yaml +4 −2
  2. include/uapi/linux/mptcp_pm.h +6 −5
Documentation/netlink/specs/mptcp_pm.yaml+4−2
@@ -23,7 +23,8 @@ definitions: · 22 unmodified lines
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
@@ -31,7 +32,8 @@ definitions: · 1 unmodified line
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+6−5
@@ -13,12 +13,13 @@ · 12 unmodified lines
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.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t