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
112 byte-order: big-endian
120 name: subflow-attribute
121 name-prefix: mptcp-subflow-attr-
162 name-prefix: mptcp-pm-endpoint-
167 nested-attributes: address
170 name-prefix: mptcp-pm-attr-
171 attr-cnt-name: --mptcp-attr-after-last
180 nested-attributes: address
196 nested-attributes: address
199 enum-name: mptcp-event-attr
200 name-prefix: mptcp-attr-
221 byte-order: big-endian
230 byte-order: big-endian
239 byte-order: big-endian
243 byte-order: big-endian
278 attribute-set: endpoint
279 dont-validate: [ strict ]
280 flags: [ uns-admin-perm ]
288 attribute-set: endpoint
289 dont-validate: [ strict ]
290 flags: [ uns-admin-perm ]
294 doc: Get endpoint information
296 dont-validate: [ strict ]
297 flags: [ uns-admin-perm ]
313 attribute-set: endpoint
314 dont-validate: [ strict ]
315 flags: [ uns-admin-perm ]
319 doc: Set protocol limits
321 dont-validate: [ strict ]
322 flags: [ uns-admin-perm ]
330 doc: Get protocol limits
332 dont-validate: [ strict ]
333 do: &mptcp-get-limits
344 doc: Change endpoint flags
346 dont-validate: [ strict ]
347 flags: [ uns-admin-perm ]
358 dont-validate: [ strict ]
359 flags: [ uns-admin-perm ]
367 doc: announce removal
369 dont-validate: [ strict ]
370 flags: [ uns-admin-perm ]
380 dont-validate: [ strict ]
381 flags: [ uns-admin-perm ]
389 name: subflow-destroy
392 dont-validate: [ strict ]
393 flags: [ uns-admin-perm ]