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

Misc net updates #87453

Merged
merged 3 commits into from
Mar 25, 2025
Merged

Misc net updates #87453

merged 3 commits into from
Mar 25, 2025

Conversation

jukkar
Copy link
Member

@jukkar jukkar commented Mar 21, 2025

Picking more useful commits from Wireguard PR.

jukkar added 3 commits March 21, 2025 10:04
Allow user to mark the virtual interface as a VPN one.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
As one should not instantiate sockaddr struct (only have pointers
to it), but only use struct sockaddr_storage to store the
socket address information. In order to simplify the casting,
create net_sad() macro that casts a "struct sockaddr_storage *" to
"struct sockaddr *" which can then be used by other macros in the
networking stack.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
Add DSCP defines for cases where the IPv4 packets need
classification.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
@kartben kartben merged commit f7d37ea into zephyrproject-rtos:main Mar 25, 2025
25 checks passed
@jukkar jukkar deleted the devel/misc-updates branch March 25, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants