Skip to main content

Module wire

Module wire 

Source
Expand description

Implements a default Wire using pnet

Structs§

PNetReader
A PNetReader implementation of packet Reader
PNetSender
A PNetSender implementation of packet Sender
Wire
Represents a packet Reader and packet Sender tuple

Constants§

DEFAULT_PACKET_SEND_TIMING
Default timing for throttling packet sends to prevent packet loss. 200µs (5,000 pps) balances scan speed against reliability on WiFi, macOS BPF, and virtualised environments where tighter timings cause silent packet drops.

Traits§

Reader
Trait describing a packet reader
Sender
Trait describing a packet sender

Functions§

default
Returns the default wire for current host

Type Aliases§

PacketMetadata
PacketMetadata from wire