1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
4 protocol: genetlink-legacy
7 c-family-name: mptcp-pm-name
8 c-version-name: mptcp-pm-ver
11 cmd-cnt-name: --mptcp-pm-cmd-after-last
17 enum-name: mptcp-event-type
18 name-prefix: mptcp-event-
26 token, family, saddr4 | saddr6, daddr4 | daddr6, sport, dport
27 A new MPTCP connection has been created. It is the good time to
28 allocate memory and send ADD_ADDR if needed. Depending on the
29 traffic-patterns it can take a long time until the
30 MPTCP_EVENT_ESTABLISHED is sent.
34 token, family, saddr4 | saddr6, daddr4 | daddr6, sport, dport
35 A MPTCP connection is established (can start new subflows).
40 A MPTCP connection has stopped.
45 token, rem_id, family, daddr4 | daddr6 [, dport]
46 A new address has been announced by the peer.
51 An address has been lost by the peer.
56 token, family, loc_id, rem_id, saddr4 | saddr6, daddr4 | daddr6, sport,
57 dport, backup, if_idx [, error]
58 A new subflow has been established. 'error' should not be set.
62 token, family, loc_id, rem_id, saddr4 | saddr6, daddr4 | daddr6, sport,
63 dport, backup, if_idx [, error]
64 A subflow has been closed. An error (copy of sk_err) could be set if an
65 error has been detected for this subflow.
70 token, family, loc_id, rem_id, saddr4 | saddr6, daddr4 | daddr6, sport,
71 dport, backup, if_idx [, error]
72 The priority of a subflow has changed. 'error' should not be set.
74 name: listener-created
77 family, sport, saddr4 | saddr6
78 A new PM listener is created.
82 family, sport, saddr4 | saddr6
83 A PM listener is closed.
88 name-prefix: mptcp-pm-addr-attr-
103 byte-order: big-endian
119 name: subflow-attribute
120 name-prefix: mptcp-subflow-attr-
161 name-prefix: mptcp-pm-endpoint-
166 nested-attributes: address
169 name-prefix: mptcp-pm-attr-
170 attr-cnt-name: --mptcp-attr-after-last
179 nested-attributes: address
195 nested-attributes: address
198 enum-name: mptcp-event-attr
199 name-prefix: mptcp-attr-
220 byte-order: big-endian
229 byte-order: big-endian
238 byte-order: big-endian
242 byte-order: big-endian
277 attribute-set: endpoint
278 dont-validate: [ strict ]
279 flags: [ uns-admin-perm ]
287 attribute-set: endpoint
288 dont-validate: [ strict ]
289 flags: [ uns-admin-perm ]
293 doc: Get endpoint information
295 dont-validate: [ strict ]
311 attribute-set: endpoint
312 dont-validate: [ strict ]
313 flags: [ uns-admin-perm ]
317 doc: Set protocol limits
319 dont-validate: [ strict ]
320 flags: [ uns-admin-perm ]
328 doc: Get protocol limits
330 dont-validate: [ strict ]
331 do: &mptcp-get-limits
342 doc: Change endpoint flags
344 dont-validate: [ strict ]
345 flags: [ uns-admin-perm ]
356 dont-validate: [ strict ]
357 flags: [ uns-admin-perm ]
365 doc: announce removal
367 dont-validate: [ strict ]
368 flags: [ uns-admin-perm ]
378 dont-validate: [ strict ]
379 flags: [ uns-admin-perm ]
387 name: subflow-destroy
390 dont-validate: [ strict ]
391 flags: [ uns-admin-perm ]