Skip to content

Commit

Permalink
Squash-to: "uapi: mptcp: use header file generated from YAML spec"
Browse files Browse the repository at this point in the history
Signed-off-by: Davide Caratti <[email protected]>
  • Loading branch information
dcaratti authored and intel-lab-lkp committed Oct 27, 2023
1 parent 994b4d8 commit dc2e214
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions include/uapi/linux/mptcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@

#include <linux/mptcp_pm.h>

/* for backward compatibility */
#define __MPTCP_PM_CMD_AFTER_LAST __MPTCP_PM_CMD_MAX
#define __MPTCP_ATTR_AFTER_LAST __MPTCP_ATTR_MAX

#define MPTCP_INFO_FLAG_FALLBACK _BITUL(0)
#define MPTCP_INFO_FLAG_REMOTE_KEY_RECEIVED _BITUL(1)

Expand Down
8 changes: 4 additions & 4 deletions include/uapi/linux/mptcp_pm.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ enum {
MPTCP_PM_ATTR_LOC_ID,
MPTCP_PM_ATTR_ADDR_REMOTE,

__MPTCP_PM_ATTR_MAX
__MPTCP_ATTR_AFTER_LAST
};
#define MPTCP_PM_ATTR_MAX (__MPTCP_PM_ATTR_MAX - 1)
#define MPTCP_PM_ATTR_MAX (__MPTCP_ATTR_AFTER_LAST - 1)

enum mptcp_event_attr {
MPTCP_ATTR_UNSPEC,
Expand Down Expand Up @@ -143,8 +143,8 @@ enum {
MPTCP_PM_CMD_SUBFLOW_CREATE,
MPTCP_PM_CMD_SUBFLOW_DESTROY,

__MPTCP_PM_CMD_MAX
__MPTCP_PM_CMD_AFTER_LAST
};
#define MPTCP_PM_CMD_MAX (__MPTCP_PM_CMD_MAX - 1)
#define MPTCP_PM_CMD_MAX (__MPTCP_PM_CMD_AFTER_LAST - 1)

#endif /* _UAPI_LINUX_MPTCP_PM_H */

0 comments on commit dc2e214

Please sign in to comment.