Skip to main content

Module parsers

Module parsers 

Source
Expand description

IPFIX parser

This module provides parsing functionality for IPFIX Messages. All data is in network byte order (big-endian) as per RFC 7011 Section 6.1.

IPFIX Messages are length-delimited, so parsing works on byte slices and every read is bounds-checked: malformed input returns a ParseError, never panics.

Structs§

Decoder
Stateful IPFIX decoder holding the Template cache of one Transport Session
DecoderConfig
Decoder configuration

Enums§

ParseError
Parser error type
Transport
Transport protocol of the Transport Session (RFC 7011 Section 10)

Functions§

parse_message
Parse a single self-contained IPFIX Message.
parse_messages
Parse a buffer of consecutive IPFIX Messages, sharing Templates across them (as if they belonged to the same Transport Session).

Type Aliases§

Result
Result type for parser operations