package
0.9.0
Repository: https://github.com/noisysockets/netstack.git
Documentation: pkg.go.dev

# 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.

# Structs

Endpoint is used to sniff and log network traffic.

# Type aliases

A Direction indicates whether the packing is being sent or received.