Module parsers

Module parsers 

Source
Expand description

sFlow v5 parser

This module provides parsing functionality for sFlow v5 datagrams. All data is in network byte order (big-endian) as per XDR specification.

Structs§

Parser
Parser for sFlow v5 datagrams

Enums§

ParseError
Parser error type

Functions§

parse_datagram
Parse an sFlow v5 datagram from a byte slice
parse_datagrams
Parse multiple sFlow v5 datagrams from a byte slice This is useful when multiple datagrams are concatenated (like in our test file)

Type Aliases§

Result
Result type for parser operations