Help us shape the future of Go! Take the 2026 Go Developer Survey

loopback

package
v1.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package loopback provides the implemention 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL