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

More parser to link, tc and rule #77

Merged
merged 8 commits into from
Dec 5, 2023
Merged

Conversation

cathay4t
Copy link
Member

@cathay4t cathay4t commented Dec 5, 2023

No description provided.

Parse `IFLA_EXT_MASK` to `LinkAttribute::ExtMask(Vec<LinkExtentMask>)`

Signed-off-by: Gris Ge <[email protected]>
Copy link

codecov bot commented Dec 5, 2023

Codecov Report

Attention: 63 lines in your changes are missing coverage. Please review.

Comparison is base (75a038a) 63.58% compared to head (7fb99ef) 63.66%.

Files Patch % Lines
src/link/link_info/vxlan.rs 74.71% 22 Missing ⚠️
src/link/link_flag.rs 0.00% 19 Missing ⚠️
src/link/ext_mask.rs 67.39% 15 Missing ⚠️
src/link/link_info/macsec.rs 40.00% 3 Missing ⚠️
src/link/af_spec/inet6.rs 0.00% 2 Missing ⚠️
src/rule/action.rs 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #77      +/-   ##
==========================================
+ Coverage   63.58%   63.66%   +0.07%     
==========================================
  Files         133      134       +1     
  Lines        8428     8484      +56     
==========================================
+ Hits         5359     5401      +42     
- Misses       3069     3083      +14     

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

The `u32::MAX` for `VfInfo::SpoofCheck`, `VfInfo::Trust` and
`VfInfo::RssQueryEn` mean false.

Signed-off-by: Gris Ge <[email protected]>
Make sure the name is align with kernel constant name.

Signed-off-by: Gris Ge <[email protected]>
@cathay4t cathay4t merged commit a6af25c into rust-netlink:main Dec 5, 2023
10 checks passed
@cathay4t cathay4t deleted the pre_release branch December 5, 2023 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant