Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DNSRcodeToStr ¶
DNSRcodeToStr decode DNS flags response code bits and return a string https://datatracker.ietf.org/doc/html/rfc2929#section-2.3
func PBFlowToMap ¶
func PBFlowToMap(pb *pbflow.Record) config.GenericMap
func PktDropCauseToStr ¶
PktDropCauseToStr is based on kernel drop cause definition https://elixir.bootlin.com/linux/latest/source/include/net/dropreason.h#L88 nolint:cyclop
func RecordToMap ¶
func RecordToMap(fr *flow.Record) config.GenericMap
RecordToMap converts the flow from Agent inner model into FLP GenericMap model
func TCPStateToStr ¶
TCPStateToStr is based on kernel TCP state definition https://elixir.bootlin.com/linux/v6.3/source/include/net/tcp_states.h#L12
Types ¶
type Protobuf ¶
type Protobuf struct { }
Protobuf decodes protobuf flow records definitions, as forwarded by ingest.NetObservAgent, into a Generic Map that follows the same naming conventions as the IPFIX flows from ingest.IngestCollector