udp

package
v0.0.0-...-a8e6978 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObfsUDPPacketConn

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

func NewObfsUDPConn

func NewObfsUDPConn(orig *net.UDPConn, obfs obfs.Obfuscator) *ObfsUDPPacketConn

func (*ObfsUDPPacketConn) Close

func (c *ObfsUDPPacketConn) Close() error

func (*ObfsUDPPacketConn) File

func (c *ObfsUDPPacketConn) File() (f *os.File, err error)

func (*ObfsUDPPacketConn) LocalAddr

func (c *ObfsUDPPacketConn) LocalAddr() net.Addr

func (*ObfsUDPPacketConn) ReadFrom

func (c *ObfsUDPPacketConn) ReadFrom(p []byte) (int, net.Addr, error)

func (*ObfsUDPPacketConn) SetDeadline

func (c *ObfsUDPPacketConn) SetDeadline(t time.Time) error

func (*ObfsUDPPacketConn) SetReadBuffer

func (c *ObfsUDPPacketConn) SetReadBuffer(bytes int) error

func (*ObfsUDPPacketConn) SetReadDeadline

func (c *ObfsUDPPacketConn) SetReadDeadline(t time.Time) error

func (*ObfsUDPPacketConn) SetWriteBuffer

func (c *ObfsUDPPacketConn) SetWriteBuffer(bytes int) error

func (*ObfsUDPPacketConn) SetWriteDeadline

func (c *ObfsUDPPacketConn) SetWriteDeadline(t time.Time) error

func (*ObfsUDPPacketConn) SyscallConn

func (c *ObfsUDPPacketConn) SyscallConn() (syscall.RawConn, error)

func (*ObfsUDPPacketConn) WriteTo

func (c *ObfsUDPPacketConn) WriteTo(p []byte, addr net.Addr) (n int, err error)

Jump to

Keyboard shortcuts

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