package
0.6.11
Repository: https://github.com/dreadl0ck/netcap.git
Documentation: pkg.go.dev

# Constants

All will invoke decoder for all transport protocols.
TCP protocol.
UDP protocol.

# Structs

ConversationInfo is wrapper structure for traffic sent over a Transport protocol to allow Transport agnostic decoding of data streams.
StreamData is a payload fragment of data we received from a streamReader its contains the raw bytes as well an assembler context with timestamp information.

# Interfaces

DecoderAPI describes functionality of a decoder.
StreamDecoderAPI describes an interface that all stream decoders need to implement this allows to supply a custom structure and maintain state for advanced protocol analysis.
StreamDecoderFactory produces stream decoder instances.
StreamDecoderInterface is the interface for processing a bi-directional network connection.

# Type aliases

DataFragments implements sort.Interface to sort data fragments based on their timestamps.
TransportProtocol is a layer 4 protocol from the OSI model.