Skip to content

expose pm_event_attrs->error to plugins when subflow is closed #330

@marco-a-itl

Description

@marco-a-itl

Is your feature request related to a problem? Please describe.
It would be useful for plugins to be able to identify the reason of a subflow closure in the relevant callback, for example to detect if a subflow was closed for a network error.
The pm_event_attrs->error field looks useful for this purpose.

Describe the solution you'd like
The mptcpd_plugin_subflow_closed() be called with additional argument error.
Or maybe pass the entire pm_event_attrs struct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions