# README
trafficlog
A log for network traffic. See the Go doc for details.
# Functions
New returns a new TrafficLog.
SetMeasurementMode is used by test utilities to take measurements on traffic logs.
# Constants
DefaultStatsInterval is the default interval at which a traffic log outputs statistics.
Possible link layer types.
Possible link layer types.
MinimumStatsInterval is the minimum acceptable stats interval for traffic logs.
# Structs
AppStripperFactory implements MutatorFactory, producing PacketMutators which strip application layer data out of input packets.
CaptureStats holds information about packet capture statistics.
ErrorMalformedAddress may be returned by TrafficLog.UpdateAddresses.
NoOpFactory implements MutatorFactory, producing PacketMutators which do not perform any mutations on input packets.
Options for running a traffic log.
TrafficLog is a log of network traffic.
# Interfaces
A MutatorFactory is used to produce new packet mutators.
# Type aliases
LinkType denotes a possible format of link layer packets.
PacketMutator is a function which takes in link-layer packets (e.g.