Documentation ¶
Index ¶
- Variables
- func DivertInit()
- func SendOut(Handle uintptr, Data []byte)
- func WinDivertClose(Handle uintptr) error
- func WinDivertOpen(filter string, layer int, priority int16, flags uint64) (uintptr, error)
- func WinDivertSend(Handle uintptr, packet *DivertPacket) error
- func WinDivertShutdown(Handle uintptr, How uint) error
- type DivertPacket
- type WINDIVERTADDRESS
Constants ¶
This section is empty.
Variables ¶
View Source
var DivertCalcCheckSums *syscall.LazyProc
View Source
var DivertClose *syscall.LazyProc
View Source
var DivertOpen *syscall.LazyProc
View Source
var DivertRecv *syscall.LazyProc
View Source
var DivertSend *syscall.LazyProc
View Source
var DivertShutdown *syscall.LazyProc
View Source
var EndFlag bool
View Source
var RXChan chan *DivertPacket
View Source
var TXChan chan *DivertPacket
Functions ¶
func DivertInit ¶
func DivertInit()
func WinDivertClose ¶
func WinDivertOpen ¶
func WinDivertSend ¶
func WinDivertSend(Handle uintptr, packet *DivertPacket) error
func WinDivertShutdown ¶
Types ¶
type DivertPacket ¶
type DivertPacket struct { Data []byte Addr WINDIVERTADDRESS }
func WinDivertRecv ¶
func WinDivertRecv(Handle uintptr) (*DivertPacket, error)
type WINDIVERTADDRESS ¶
Click to show internal directories.
Click to hide internal directories.