-
Notifications
You must be signed in to change notification settings - Fork 2k
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
sys/net: Add ipv4/ipv6 pseudomodules #16966
Conversation
Enabled when GNRC, lwIP or OpenWSN uses IPv6
@fjmolinas can you have a look if this makes sense for OpenWSN, please? |
Changed check of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why does this remove the GNRC specification around seemingly gnrc specific code without making it more general?
Based on ipv6 pseudomodule
Enabled when lwIP uses IPv4.
i tested: lets have another ping @fjmolinas |
LGTM, sorry for the delay was on vacation. |
Is there anything left to do here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
Contribution description
New pseudomodules
ipv4
andipv6
are enabled whenever a networking stack supports the relevant protocol.Change how
SOCK_HAS_IPV6
is set, is now done in one place. (The define can now be replaced with a ipv6 module check if that is preferred)Testing procedure
tests/gnrc_sock_async_event
still worksIssues/PRs references
Another step towards a shared ifconfig shell command implementation.