/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ /* Do not edit directly, auto-generated from: */ /* Documentation/netlink/specs/mptcp_pm.yaml */ /* YNL-GEN uapi header */ #ifndef _UAPI_LINUX_MPTCP_PM_H #define _UAPI_LINUX_MPTCP_PM_H #define MPTCP_PM_NAME … #define MPTCP_PM_VER … /** * 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. * @MPTCP_EVENT_ESTABLISHED: token, family, saddr4 | saddr6, daddr4 | daddr6, * sport, dport 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. * @MPTCP_EVENT_REMOVED: token, rem_id An address has been lost by the peer. * @MPTCP_EVENT_SUB_ESTABLISHED: token, family, loc_id, rem_id, saddr4 | * saddr6, daddr4 | daddr6, sport, dport, backup, if_idx [, error] A new * subflow has been established. 'error' should not be set. * @MPTCP_EVENT_SUB_CLOSED: token, family, loc_id, rem_id, saddr4 | saddr6, * daddr4 | daddr6, sport, dport, backup, if_idx [, error] A subflow has been * closed. An error (copy of sk_err) could be set if an error has been * detected for this subflow. * @MPTCP_EVENT_SUB_PRIORITY: token, family, loc_id, rem_id, saddr4 | saddr6, * daddr4 | daddr6, sport, dport, backup, if_idx [, error] The priority of a * subflow has changed. 'error' should not be set. * @MPTCP_EVENT_LISTENER_CREATED: family, sport, saddr4 | saddr6 A new PM * listener is created. * @MPTCP_EVENT_LISTENER_CLOSED: family, sport, saddr4 | saddr6 A PM listener * is closed. */ enum mptcp_event_type { … }; enum { … }; #define MPTCP_PM_ADDR_ATTR_MAX … enum { … }; #define MPTCP_SUBFLOW_ATTR_MAX … enum { … }; #define MPTCP_PM_ENDPOINT_MAX … enum { … }; #define MPTCP_PM_ATTR_MAX … enum mptcp_event_attr { … }; #define MPTCP_ATTR_MAX … enum { … }; #define MPTCP_PM_CMD_MAX … #endif /* _UAPI_LINUX_MPTCP_PM_H */