flow

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flow

type Flow struct {
	Agent      bnet.IP
	SrcPort    uint16
	DstPort    uint16
	SrcAs      uint32
	DstAs      uint32
	NextAs     uint32
	IntIn      string
	IntOut     string
	Packets    uint64
	Protocol   uint8
	Family     uint8
	Timestamp  int64
	Size       uint64
	Samplerate uint64
	SrcAddr    bnet.IP
	DstAddr    bnet.IP
	NextHop    bnet.IP
	SrcPfx     bnet.Prefix
	DstPfx     bnet.Prefix
	VRFIn      uint64
	VRFOut     uint64
}

Flow defines a network flow

func (*Flow) Add

func (fl *Flow) Add(a *Flow)

Add adds up to flows

func (*Flow) Dump added in v0.6.0

func (fl *Flow) Dump()

Dump dumps the flow

Jump to

Keyboard shortcuts

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