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
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
net: virtual: Add capability flag for VPN type interface
Allow user to mark the virtual interface as a VPN one.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
jukkar committed Mar 21, 2025
commit 8181c0a45981b73aef5445f7313d580b6fb0f546
3 changes: 3 additions & 0 deletions include/zephyr/net/virtual.h
Original file line number Diff line number Diff line change
@@ -46,6 +46,9 @@ enum virtual_interface_caps {
/** Virtual Ethernet bridge interface. */
VIRTUAL_INTERFACE_BRIDGE = BIT(3),

/** VPN interface */
VIRTUAL_INTERFACE_VPN = BIT(4),

/** @cond INTERNAL_HIDDEN */
/* Marker for capabilities - must be at the end of the enum.
* It is here because the capability list cannot be empty.