mptcpd
mptcpd copied to clipboard
Propagate subflow close event "reset" attributes to plugins
Is your feature request related to a problem? Please describe. Subflow closure (reset) reasons are not propagated to mptcpd plugins.
Describe the solution you'd like
Propagate values corresponding to the MPTCP_ATTR_RESET_REASON and MPTCP_ATTR_RESET_FLAGS MPTCP generic netlink attributes to the subflow_closed() mptcpd plugin operation.
On a related note, we should consider bundling PM netlink event attributes passed to plugin operations into a struct to minimize the number of plugin parameters. Some plugin operations have a large number of parameters, which is undesirable.