Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // LinkEndpoints is the interface implemented by // data link layer protocols. LinkEndpoint stack.LinkEndpoint // TransportHandler is the handler used by internal // stack to set transport handlers. TransportHandler adapter.TransportHandler // PrintFunc is the function that will be called // to print internal stack events. PrintFunc func(string, ...any) // Options are supplement options to apply settings // for the internal stack. Options []option.Option }
Config is the configuration to create *stack.Stack.
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. |
Click to show internal directories.
Click to hide internal directories.