conntrack

package
v1.11.0-alpha.20 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: GPL-2.0 Imports: 10 Imported by: 15

Documentation

Index

Constants

View Source
const Enabled = false

Variables

View Source
var (
	KillerEnabled bool
	MemoryLimit   uint64
)

Functions

func Close

func Close()

func Count

func Count() int

func KillerCheck

func KillerCheck() error

func List

func List() []io.Closer

func NewConn

func NewConn(conn net.Conn) (net.Conn, error)

func NewPacketConn

func NewPacketConn(conn net.PacketConn) (net.PacketConn, error)

Types

type Conn

type Conn struct {
	net.Conn
	// contains filtered or unexported fields
}

func (*Conn) Close

func (c *Conn) Close() error

func (*Conn) ReaderReplaceable

func (c *Conn) ReaderReplaceable() bool

func (*Conn) Upstream

func (c *Conn) Upstream() any

func (*Conn) WriterReplaceable

func (c *Conn) WriterReplaceable() bool

type PacketConn

type PacketConn struct {
	net.PacketConn
	// contains filtered or unexported fields
}

func (*PacketConn) Close

func (c *PacketConn) Close() error

func (*PacketConn) ReaderReplaceable

func (c *PacketConn) ReaderReplaceable() bool

func (*PacketConn) Upstream

func (c *PacketConn) Upstream() any

func (*PacketConn) WriterReplaceable

func (c *PacketConn) WriterReplaceable() bool

Jump to

Keyboard shortcuts

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