tunnel

package
v1.21.5 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMetadata

func CreateMetadata(srcAddr, destAddr string, network constant.NetWork) (*constant.Metadata, error)

func CreateTcpMetadata

func CreateTcpMetadata(srcAddr, destAddr net.TCPAddr) constant.Metadata

func CreateUdpMetadata

func CreateUdpMetadata(srcAddr, destAddr net.UDPAddr) constant.Metadata

func ShouldIgnorePacketError added in v0.13.0

func ShouldIgnorePacketError(err error) bool

func TcpQueue

func TcpQueue() chan conn.TcpConnContext

func UdpQueue

func UdpQueue() chan conn.UdpConnContext

func UpdateShouldFindProcess added in v1.7.0

func UpdateShouldFindProcess(value bool)

Types

type CloseableConn

type CloseableConn interface {
	Close() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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