Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support extended ACKs #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

koalo
Copy link

@koalo koalo commented Jan 3, 2024

Extended ACKs allow to add TLVs to control messages to indicate more details, e.g. to provide a textual error message.

Extend the error message to support reading these TLVs. For this it is required to properly consider the optional payload of the original request depending on the
NLM_F_CAPPED flag.

Copy link

codecov bot commented Jan 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (91e71b6) 83.49% compared to head (52fe764) 91.24%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #22      +/-   ##
==========================================
+ Coverage   83.49%   91.24%   +7.74%     
==========================================
  Files           7        6       -1     
  Lines         515      845     +330     
==========================================
+ Hits          430      771     +341     
+ Misses         85       74      -11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Extended ACKs allow to add TLVs to control messages
to indicate more details, e.g. to provide a textual
error message.

Extend the error message to support reading these TLVs.
For this it is required to properly consider the optional
payload of the original request depending on the
NLM_F_CAPPED flag.

Signed-off-by: Florian Kauer <[email protected]>
@koalo
Copy link
Author

koalo commented Jan 10, 2024

I added several more test cases, so the coverage should be much better now.

@koalo
Copy link
Author

koalo commented Jun 24, 2024

Any opinion on this? I really would like to provide more contributions to rust-netlink but this PR currently blocks it :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant