MCPcopy Create free account
hub / github.com/encodeous/nylon / Tun

Method Tun

core/sys_virtual.go:18–18  ·  view source on GitHub ↗
(node state.NodeId)

Source from the content-addressed store, hash-verified

16type VirtualNet interface {
17 Bind(node state.NodeId) conn.Bind
18 Tun(node state.NodeId) tun.Device
19}
20
21func NewWireGuardDevice(n *Nylon) (dev *device.Device, tunDevice tun.Device, realItf string, err error) {

Callers 1

NewWireGuardDeviceFunction · 0.65

Implementers 1

InMemoryNetworkintegration/harness.go

Calls

no outgoing calls

Tested by

no test coverage detected