-
Notifications
You must be signed in to change notification settings - Fork 627
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
net: NET_NATIVE nad Multicast Listener Discovery cherry-picks #2064
Merged
rlubos
merged 11 commits into
nrfconnect:main
from
rlubos:ncs/cherry-pick-native-separation-and-mld
Oct 16, 2024
Merged
net: NET_NATIVE nad Multicast Listener Discovery cherry-picks #2064
rlubos
merged 11 commits into
nrfconnect:main
from
rlubos:ncs/cherry-pick-native-separation-and-mld
Oct 16, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rlubos
force-pushed
the
ncs/cherry-pick-native-separation-and-mld
branch
2 times, most recently
from
October 9, 2024 07:15
2495962
to
e10e6e4
Compare
LuDuda
approved these changes
Oct 10, 2024
jukkar
approved these changes
Oct 10, 2024
…ATIVE_IPV4 IPv4 Kconfig options which only affect native IPv4 stack should be dependent on NET_NATIVE_IPV4, similarly as it's done for IPv6. Signed-off-by: Robert Lubos <[email protected]> (cherry picked from commit 5d085b4)
…r IP address It shouldn't be needed to enable native networking to be able to add/delete IP addresses on network interfaces. Signed-off-by: Robert Lubos <[email protected]> (cherry picked from commit 8d296ba)
…ess registration Make sure it's possible to register IPv4/6 addresses on an offloaded interface. Add an extra build configuration to make sure it's also possible when native IP stack is disabled. Signed-off-by: Robert Lubos <[email protected]> (cherry picked from commit 4595295)
…TIVE is disabled Some commands can be executed and some statuses can be printed even if native IP is disabled. Signed-off-by: Robert Lubos <[email protected]> (cherry picked from commit c377017)
…om syscalls Native IP socket implementation need only be build if native IP stack is enabled. Therefore, split the native IP sockets from the common socket syscalls shared across all socket implementations. Signed-off-by: Robert Lubos <[email protected]> (cherry picked from commit 404e9c7)
…T_NATIVE In case NET_NATIVE is disabled, certain network stack components do not need to be compiled. Otherwise, they could throw errors if --no-gc-sections compiler options is enabled. Signed-off-by: Robert Lubos <[email protected]> (cherry picked from commit 2e1d896)
…_OFFLOAD Net offloading doesn't need net TC threads to be enabled as they're used by the native stack. This fixes build if CONFIG_NET_OFFLOAD is enabled but native stack is disabled. Signed-off-by: Robert Lubos <[email protected]> (cherry picked from commit bdbf7cc)
Macros with flow control are discouraged and generate compliance error, hence remove it and replace the corresponding code with simple errno assignments. Signed-off-by: Robert Lubos <[email protected]> (cherry picked from commit 0c1550d)
IPv6 MLD API was so far defined in an internal header. This does not seem correct though, as application code should be able to join/leave multicast groups, hence the API should be exposed in a public header, just as it is done for its IPv4 countepart - IGMP. Signed-off-by: Robert Lubos <[email protected]> (cherry picked from commit c6498bb)
…6 lookups IPv6 based interface lookups doesn't require native IP stack support, hence reflect that in the API. Signed-off-by: Robert Lubos <[email protected]> (cherry picked from commit f4335d2)
…mon file msghdr_non_empty_iov_count() is used by TLS sockets too therefore should be available regardless of native IP sockets being enabled or not. Signed-off-by: Robert Lubos <[email protected]> (cherry picked from commit 66ff30e)
rlubos
force-pushed
the
ncs/cherry-pick-native-separation-and-mld
branch
from
October 10, 2024 11:53
e10e6e4
to
a34ef1d
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Cherry-pick NET_NATIVE improvements and MLD public header.