Documentation
¶
Index ¶
- func CheckUpdate(pid int, excludePorts *comm.PortBitmap, udpExcludePorts *comm.PortBitmap)
- func CollectDNSRecords(dnsRecords *expirable.LRU[string, string])
- func ForceRestartWithGID(pid int) (int, error)
- func GetGid() uint32
- func GetMark() int
- func Htons(i uint16) uint16
- func RedirectAllTCP(proxyPort uint16, excludePorts *comm.PortBitmap, originalPorts *comm.PortNAT)
- func RedirectAllUDP(proxyPort uint16, excludePorts *comm.PortBitmap, udpNat *udpProxy.UdpNat)
- func SetMark(_mark int)
- func Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckUpdate ¶
func CheckUpdate(pid int, excludePorts *comm.PortBitmap, udpExcludePorts *comm.PortBitmap)
func ForceRestartWithGID ¶
func RedirectAllTCP ¶
func RedirectAllTCP(proxyPort uint16, excludePorts *comm.PortBitmap, originalPorts *comm.PortNAT)
func RedirectAllUDP ¶
func RedirectAllUDP(proxyPort uint16, excludePorts *comm.PortBitmap, udpNat *udpProxy.UdpNat)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.