forwarder

package
v0.37.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: BSD-3-Clause Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Forwarder

type Forwarder struct {
	// contains filtered or unexported fields
}

func New

func New(iface common.IFaceMapper, logger *nblog.Logger, netstack bool) (*Forwarder, error)

func (*Forwarder) InjectIncomingPacket

func (f *Forwarder) InjectIncomingPacket(payload []byte) error

func (*Forwarder) Stop

func (f *Forwarder) Stop()

Stop gracefully shuts down the forwarder

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳