netflow

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder struct {
	session.Session
}

Decoder for NetFlow messages.

func NewDecoder

func NewDecoder(s session.Session) *Decoder

NewDecoder sets up a decoder suitable for reading NetFlow packets.

func (*Decoder) Read

func (d *Decoder) Read(r io.Reader) (Message, error)

Read a single Netflow message from the network. If an error is returned, there is no guarantee the following reads will be succesful.

type Message

type Message interface {
}

Message generlized interface.

Directories

Path Synopsis
Package ipfix implements a decoder for the IP Flow Information Export (IPFIX) protocol.
Package ipfix implements a decoder for the IP Flow Information Export (IPFIX) protocol.
Package netflow1 contains decoders for the NetFlow version 1 protocol.
Package netflow1 contains decoders for the NetFlow version 1 protocol.
Package netflow5 contains decoders for the NetFlow version 5 protocol.
Package netflow5 contains decoders for the NetFlow version 5 protocol.
Package netflow6 contains decoders for the NetFlow version 6 protocol.
Package netflow6 contains decoders for the NetFlow version 6 protocol.
Package netflow7 contains decoders for the NetFlow version 7 protocol.
Package netflow7 contains decoders for the NetFlow version 7 protocol.
Package netflow9 implements NetFlow version 9 as specified in RFC 3954.
Package netflow9 implements NetFlow version 9 as specified in RFC 3954.
Package read provides convenience read functions to extract values from a reader.
Package read provides convenience read functions to extract values from a reader.
Package session provides sessions for the Netflow version 9 and IPFIX decoders that need to track templates bound to a session.
Package session provides sessions for the Netflow version 9 and IPFIX decoders that need to track templates bound to a session.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL