Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnHandler ¶
type TunNetstack ¶
type TunNetstack struct {
// contains filtered or unexported fields
}
func New ¶
func New(tunCfg tun.TunConfig) *TunNetstack
func (*TunNetstack) Close ¶
func (ns *TunNetstack) Close() error
func (*TunNetstack) RegisterConnHandler ¶
func (ns *TunNetstack) RegisterConnHandler(handler ConnHandler)
func (*TunNetstack) Start ¶
func (ns *TunNetstack) Start() (err error)
Directories ¶
Path | Synopsis |
---|---|
core/device/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. |
Click to show internal directories.
Click to hide internal directories.