Skip to content

Add enum entries to InfoGreTun and InfoGreTun6 #174

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Toorero
Copy link
Contributor

@Toorero Toorero commented Aug 9, 2025

This pull request exposes the most common IFLA_GRE_* attributes by adding them to InfoGreTun and InfoGreTun6 respectively. On that matter I bundled the link::link_info::gre* modules into a new link::link_info::gre module. This was done so I can define used GRE structures shared by InfoGreTun and InfoGreTun6 like the IFLA_GRE_* constants.

@Toorero Toorero force-pushed the feature/info_gre_tun branch 2 times, most recently from 1a5eea1 to cf6e5dc Compare August 9, 2025 16:34
@Toorero
Copy link
Contributor Author

Toorero commented Aug 9, 2025

I also "added" entries to InfoGreTap and InfoGreTap6 by simply aliasing the corresponding InfoGreTun and InfoGreTun6 structs because their variants are the exact same as their L3 counterparts.

@Toorero Toorero force-pushed the feature/info_gre_tun branch from f782470 to ae5aa3a Compare August 11, 2025 16:24
@Toorero Toorero force-pushed the feature/info_gre_tun branch from ae5aa3a to 3bd79ff Compare August 11, 2025 16:28
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