redir

package
v0.0.0-...-6300974 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SO_ORIGINAL_DST      = 80 // from linux/include/uapi/linux/netfilter_ipv4.h
	IP6T_SO_ORIGINAL_DST = 80 // from linux/include/uapi/linux/netfilter_ipv6/ip6_tables.h
)
View Source
const GETSOCKOPT = syscall.SYS_GETSOCKOPT

Variables

This section is empty.

Functions

func New

func New(addr string, in chan<- C.ConnContext) (C.Listener, error)

Types

type Listener

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

func (*Listener) Address

func (l *Listener) Address() string

Address implements C.Listener

func (*Listener) Close

func (l *Listener) Close() error

Close implements C.Listener

func (*Listener) RawAddress

func (l *Listener) RawAddress() string

RawAddress implements C.Listener

Jump to

Keyboard shortcuts

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