• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

multipath-tcp / mptcpd / 19820416316

01 Dec 2025 11:04AM UTC coverage: 67.014% (-0.03%) from 67.044%
19820416316

push

github

web-flow
plugin: expose subflow error to plugins (#331)

* plugin: expose subflow error to plugins

Add error parameter to subflow_closed callback to allow plugins
to identify the reason for subflow closure, such as network errors.

The error value corresponds to the MPTCP_ATTR_ERROR attribute from
the kernel, which equals sk_err from struct sock. If the error
attribute is not present in the netlink message, it defaults to 0.

Fixes #330

* Improve error parameter documentation and test coverage

- Add non-zero test value (110) for test_error_4 to verify different values
- Enhance error parameter documentation to clarify it's an errno from sk_err
- Update both public and private plugin headers with detailed description

1 of 2 new or added lines in 2 files covered. (50.0%)

1481 of 2210 relevant lines covered (67.01%)

18.05 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

29.17
/src/path_manager.c


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc