Skip to content

Conversation

@dallenng
Copy link
Contributor

@dallenng dallenng commented Sep 9, 2025

Closes #163.
I simply added the if_tun module and ran the generator with the command in the README, so I don't know why the btrfs module has been modified. Should I revert the btrfs changes ?

@sunfishcode
Copy link
Owner

The btrfs diffs are likely due to using a different clang version. Iirc the current bindings use clang-22.

@dallenng
Copy link
Contributor Author

I regenerated the bindings with clang 22, so the btrfs changes are reverted and the new module was already generated correctly. Would you prefer the new bindings to be in it's own module like it is now or to be included in another module like the net module ?

@sunfishcode
Copy link
Owner

A new module sounds good. Thanks for the PR!

@sunfishcode sunfishcode merged commit 26971ae into sunfishcode:main Oct 24, 2025
@sunfishcode
Copy link
Owner

This is now released in linux-raw-sys 0.12.0.

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.

Missing if_tun constants

2 participants