Versions in this module Expand all Collapse all v0 v0.9.1 May 16, 2022 Changes in this version + type Decoder struct + func NewDecoder(raddr net.IP, b []byte) *Decoder + func (d *Decoder) Decode() (*Message, error) + type FlowRecord struct + DstAddr uint32 + DstAsNum uint16 + DstMask uint8 + DstPort uint16 + EndTime uint32 + Input uint16 + L3Octets uint32 + NextHop uint32 + Output uint16 + Padding1 uint8 + Padding2 uint16 + PktCount uint32 + ProtType uint8 + SrcAddr uint32 + SrcAsNum uint16 + SrcMask uint8 + SrcPort uint16 + StartTime uint32 + TCPFlags uint8 + Tos uint8 + type Message struct + AgentID string + Flows []FlowRecord + Header PacketHeader + func (m *Message) JSONMarshal(b *bytes.Buffer) ([]byte, error) + type PacketHeader struct + Count uint16 + EngID uint8 + EngType uint8 + SeqNum uint32 + SmpInt uint16 + SysUpTimeMSecs uint32 + UNIXNSecs uint32 + UNIXSecs uint32 + Version uint16