# Functions
LogPacket logs a packet to stdout.
New creates a new sniffer link-layer endpoint.
NewWithPrefix creates a new sniffer link-layer endpoint.
NewWithWriter creates a new sniffer link-layer endpoint.
# Constants
DirectionRecv indicates a received packet.
DirectionSend indicates a sent packet.
# Variables
LogPackets is a flag used to enable or disable packet logging via the log package.
# Type aliases
A Direction indicates whether the packing is being sent or received.