relay

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultBufferSize = 4096
)

Functions

func UDPConn

func UDPConn(c net.PacketConn, bufferSize int) net.PacketConn

func UDPTunClientConn

func UDPTunClientConn(c net.Conn, targetAddr net.Addr) net.Conn

func UDPTunClientPacketConn

func UDPTunClientPacketConn(c net.Conn) net.PacketConn

func UDPTunServerConn

func UDPTunServerConn(c net.Conn) net.PacketConn

Types

This section is empty.

Jump to

Keyboard shortcuts

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