Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAutoDetectInterface ¶
Types ¶
type TcEBpfProgram ¶
type TcEBpfProgram struct {
// contains filtered or unexported fields
}
func NewRedirEBpfProgram ¶
func NewRedirEBpfProgram(ifaceNames []string, redirPort uint16, defaultRouteInterfaceName string) (*TcEBpfProgram, error)
NewRedirEBpfProgram new auto redirect ebpf program
func NewTcEBpfProgram ¶
func NewTcEBpfProgram(ifaceNames []string, tunName string) (*TcEBpfProgram, error)
NewTcEBpfProgram new redirect to tun ebpf program
func (*TcEBpfProgram) Close ¶
func (t *TcEBpfProgram) Close()
func (*TcEBpfProgram) RawNICs ¶
func (t *TcEBpfProgram) RawNICs() []string
Click to show internal directories.
Click to hide internal directories.