forward

package
v0.0.0-...-09c224b Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckUpdate

func CheckUpdate(pid int, excludePorts *comm.PortBitmap, udpExcludePorts *comm.PortBitmap)

func CollectDNSRecords

func CollectDNSRecords(dnsRecords *expirable.LRU[string, string])

func ForceRestartWithGID

func ForceRestartWithGID(pid int) (int, error)

func GetGid

func GetGid() uint32

func GetMark

func GetMark() int

func Htons

func Htons(i uint16) uint16

func RedirectAllTCP

func RedirectAllTCP(proxyPort uint16, excludePorts *comm.PortBitmap, originalPorts *comm.PortNAT)

func RedirectAllUDP

func RedirectAllUDP(proxyPort uint16, excludePorts *comm.PortBitmap, udpNat *udpProxy.UdpNat)

func SetMark

func SetMark(_mark int)

func Stop

func Stop()

Types

This section is empty.

Jump to

Keyboard shortcuts

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