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

apps: Set sll_protocol for raw socket to ETH_P_ALL #60

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

wengzhe
Copy link
Member

@wengzhe wengzhe commented Jan 15, 2025

Summary

Ref: https://man7.org/linux/man-pages/man7/packet.7.html

We should either set protocal when creating socket or binding, otherwise we cannot capture any packet.

Impact

apps using raw sockets.

Testing

Together with open-vela/nuttx#155

Ref: https://man7.org/linux/man-pages/man7/packet.7.html

We should either set protocal when creating socket or binding, otherwise
we cannot capture any packet.

Signed-off-by: Zhe Weng <[email protected]>
@xiaoxiang781216 xiaoxiang781216 merged commit 0dade3e into open-vela:dev Jan 15, 2025
3 checks passed
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.

None yet

2 participants