# Functions
LoadAllArchivalRecords reads all PMs from a jsonl stream.
LoadRawNetlinkMessage is a simple utility to read the next NetlinkMessage from a source reader, e.g.
MakeArchivalRecord parses the NetlinkMessage into a ArchivalRecord.
NewArchiveReader wraps a source of JSONL ArchiveRecords to create ArchiveReader.
NewRawReader wraps an io.Reader to create and ArchiveReader.
ParseRouteAttr parses a byte array into slice of NetlinkRouteAttr struct.
# Constants
The length of an attribute changed.
TODO - get these from sys/unix or syscall.
The IDiagState changed.
There is a dropped attribute.
There is a new attribute.
Constants to describe the degree of change between two different ParsedMessages.
There is no TCPInfo attribute.
Some other attribute changed.
One of the packet/byte/segment counts (or other late field) changed.
The previous message was nil.
TODO - get these from sys/unix or syscall.
TODO - get these from sys/unix or syscall.
TODO - get these from sys/unix or syscall.
TODO - get these from sys/unix or syscall.
One of the early fields in DIAG_INFO changed.
# Structs
ArchivalRecord is a container for parsed InetDiag messages and attributes.
ExcludeConfig provides options for excluding some measurements from archival messages.
MessageBlock contains timestamps and message arrays for v4 and v6 from a single collection cycle.
Metadata contains the metadata for a particular TCP stream.
# Interfaces
ArchiveReader produces ArchivedRecord structs from some source.
# Type aliases
ChangeType indicates why a new record is worthwhile saving.
No description provided by the author
No description provided by the author
TODO use unix instead.
No description provided by the author