Documentation ¶
Overview ¶
Package loopback provides the implementation of loopback data-link layer endpoints. Such endpoints just turn outbound packets into inbound ones.
Loopback endpoints can be used in the networking stack by calling New() to create a new endpoint, and then passing it as an argument to Stack.CreateNIC().
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() stack.LinkEndpoint
New creates a new loopback endpoint. This link-layer endpoint just turns outbound packets into inbound packets.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.