Skip to content

Implement socket_bind_device and set_socket_bind_device #1426

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 1 commit into
base: main
Choose a base branch
from

Conversation

al8n
Copy link
Contributor

@al8n al8n commented Mar 26, 2025

Hi, this PR adds socket_bind_device and set_socket_bind_device methods.

Besides, as the interface name can only be [u8; 16], I think adding an InterfaceBuffer is better, so that we can remove the alloc feature, which has been mentioned in #1393 and #1397 previously.

@sunfishcode sunfishcode added the enhancement New feature or request label Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants