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 |
kfessel
left a comment
There was a problem hiding this comment.
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? |
Contribution description
New pseudomodules
ipv4andipv6are enabled whenever a networking stack supports the relevant protocol.Change how
SOCK_HAS_IPV6is 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_eventstill worksIssues/PRs references
Another step towards a shared ifconfig shell command implementation.