package tundev

import "gvisor.dev/gvisor/pkg/sentry/devices/tundev"

Package tundev implements the /dev/net/tun device.

Index

Functions

func IsNetTunSupported

func IsNetTunSupported(s inet.Stack) bool

IsNetTunSupported returns whether /dev/net/tun device is supported for s.

func Register

func Register(vfsObj *vfs.VirtualFilesystem) error

Register registers all devices implemented by this package in vfsObj.

Source Files

tundev.go

Version
v0.0.0-20250605235530-a6711d1e1dc6 (latest)
Published
Jun 5, 2025
Platform
linux/amd64
Imports
17 packages
Last checked
4 hours ago

Tools for package owners.