winDivert

package
v0.0.0-...-a005d87 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseNetEvent

func CloseNetEvent()

func CloseWinDivert

func CloseWinDivert()

only windows

func HackDNSData

func HackDNSData(tunDns *tunDns.TunDns)

func NetEvent

func NetEvent(pid uint32, tunDns *tunDns.TunDns)

func RedirectDNS

func RedirectDNS(dnsAddr string, dnsPort uint16, sendStartPort int, sendEndPort int, localHost bool)

only windows

func RedirectDNSV2

func RedirectDNSV2(dnsAddr string, _port string, sendStartPort int, sendEndPort int)

only windows

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳