conntrack

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	GetDestination(src, dst netip.AddrPort) (netip.AddrPort, bool)
	Close() error
}

func NewClient

func NewClient(log *logging.Logger) (Client, error)

type NetfilterConntrackClient

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

func (*NetfilterConntrackClient) Close

func (n *NetfilterConntrackClient) Close() error

func (*NetfilterConntrackClient) GetDestination

func (n *NetfilterConntrackClient) GetDestination(src, dst netip.AddrPort) (netip.AddrPort, bool)

Jump to

Keyboard shortcuts

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