Versions in this module Expand all Collapse all v1 v1.31.1 Nov 1, 2023 v1.31.0 Oct 20, 2023 Changes in this version + type TcEBpfProgram struct + func NewAutoRedirProgram(pros []C.EBpf, rawNICs []string, rawInterface string) *TcEBpfProgram + func NewRedirEBpfProgram(_ []string, _ uint16, _ string) (*TcEBpfProgram, error) + func NewRedirEBpfProgram(ifaceNames []string, redirPort uint16, defaultRouteInterfaceName string) (*TcEBpfProgram, error) + func NewTcEBpfProgram(_ []string, _ string) (*TcEBpfProgram, error) + func NewTcEBpfProgram(ifaceNames []string, tunName string) (*TcEBpfProgram, error) + func (t *TcEBpfProgram) Close() + func (t *TcEBpfProgram) Lookup(srcAddrPort netip.AddrPort) (addr socks5.Addr, err error) + func (t *TcEBpfProgram) RawInterface() string + func (t *TcEBpfProgram) RawNICs() []string