tc

package
v1.18.7 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EBpfTC

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

func NewEBpfTc

func NewEBpfTc(ifName string, ifIndex int, ifMark uint32, tunIfIndex uint32) *EBpfTC

func (*EBpfTC) Close

func (e *EBpfTC) Close()

func (*EBpfTC) Lookup

func (e *EBpfTC) Lookup(_ netip.AddrPort) (socks5.Addr, error)

func (*EBpfTC) Start

func (e *EBpfTC) Start() error

Jump to

Keyboard shortcuts

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