Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( tunConf *C.Tun, tcpIn chan<- C.ConnContext, udpIn chan<- *inbound.PacketAdapter, tunChangeCallback C.TUNChangeCallback, ) (ipstack.Stack, error)
New TunAdapter
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
iobased
Package iobased provides the implementation of io.ReadWriter based data-link layer endpoints.
|
Package iobased provides the implementation of io.ReadWriter based data-link layer endpoints. |
tun
Package tun provides TUN which implemented device.Device interface.
|
Package tun provides TUN which implemented device.Device interface. |
gvisor
Package gvisor provides a thin wrapper around a gVisor's stack.
|
Package gvisor provides a thin wrapper around a gVisor's stack. |
Click to show internal directories.
Click to hide internal directories.