History

mptcp: netlink: Add MPTCP_PM_CMD_REMOVE

This change adds a MPTCP netlink command for issuing a REMOVE_ADDR signal for an address over the chosen MPTCP connection from a userspace path manager. The command requires the following parameters: {token, loc_id}.

Kishen Maloor committed 4 years ago

Commit d9a45941 parent 9a0b3654 files · +76 −2Browse files

Showing the changes to include/uapi (1 of 4 files). Show all

Unified · Split

include/uapi/linux/mptcp.h+2−0
@@ -56,6 +56,7 @@ enum { · 55 unmodified lines
5656 MPTCP_PM_ATTR_RCV_ADD_ADDRS, /* u32 */
5757 MPTCP_PM_ATTR_SUBFLOWS, /* u32 */
5858 MPTCP_PM_ATTR_TOKEN, /* u32 */
59+ MPTCP_PM_ATTR_LOC_ID, /* u8 */
5960
6061 __MPTCP_PM_ATTR_MAX
6162 };
@@ -95,6 +96,7 @@ enum { · 33 unmodified lines
9596 MPTCP_PM_CMD_GET_LIMITS,
9697 MPTCP_PM_CMD_SET_FLAGS,
9798 MPTCP_PM_CMD_ANNOUNCE,
99+ MPTCP_PM_CMD_REMOVE,
98100
99101 __MPTCP_PM_CMD_AFTER_LAST
100102 };