Versions in this module Expand all Collapse all v0 v0.5.0 Apr 18, 2026 Changes in this version + const FlagDefault — windows/amd64 + const FlagDrop — windows/amd64 + const FlagSniff — windows/amd64 + const LayerFlow — windows/amd64 + const LayerNetwork — windows/amd64 + const LayerNetworkForward — windows/amd64 + const LayerReflect — windows/amd64 + const LayerSocket — windows/amd64 + const ParamQueueLength — windows/amd64 + const ParamQueueSize — windows/amd64 + const ParamQueueTime — windows/amd64 + var ErrNotElevated = errors.New("snix/windows: process is not running elevated (Administrator)") — windows/amd64 + func Close(h handleRaw) error — windows/amd64 + func IsElevated() (bool, error) — windows/amd64 + func IsHandleClosed(err error) bool — windows/amd64 + func Open(filter string, layer uint32, priority int16, flags uint64) (handleRaw, error) — windows/amd64 + func Send(h handleRaw, pkt []byte, addr *Address) (uint32, error) — windows/amd64 + func SetParam(h handleRaw, param uint32, value uint64) error — windows/amd64 + type Address struct — windows/amd64 + Data [64]byte + LayerEvent uint32 + Reserved2 uint32 + Timestamp int64 + func Recv(h handleRaw, buf []byte) (n uint32, addr Address, err error) + func (a *Address) IPChecksum() bool + func (a *Address) Outbound() bool + func (a *Address) SetOutbound(v bool) + func (a *Address) TCPChecksum() bool + type Backend struct — windows/amd64 + func New(cfg Config) *Backend + func (b *Backend) Close() error + func (b *Backend) Inject(pkt []byte, dir snixplatform.Direction) error + func (b *Backend) Open(ctx context.Context, scope snixplatform.Scope) error + func (b *Backend) Packets() <-chan snixplatform.Packet + type Config struct — windows/amd64 + Priority int16 + QueueLength uint64 + ReadBufferSize int