flow

package
v0.0.0-...-a06e19b Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unwrap

func Unwrap(many []*Flow) []*pbFlow.Flow

Types

type Flow

type Flow struct {
	// contains filtered or unexported fields
}

func FromProto

func FromProto(f *pbFlow.Flow) *Flow

func Wrap

func Wrap(many []*pbFlow.Flow) []*Flow

func (*Flow) BuildReceiverService

func (f *Flow) BuildReceiverService() *service.Service

func (*Flow) BuildSenderService

func (f *Flow) BuildSenderService() *service.Service

func (*Flow) BuildServices

func (f *Flow) BuildServices() (*service.Service, *service.Service)

func (*Flow) DestinationPort

func (f *Flow) DestinationPort() *uint32

func (*Flow) ICMPv4

func (f *Flow) ICMPv4() *pbFlow.Layer4_ICMPv4

func (*Flow) ICMPv6

func (f *Flow) ICMPv6() *pbFlow.Layer4_ICMPv6

func (*Flow) ProtocolString

func (f *Flow) ProtocolString() string

func (*Flow) Ref

func (f *Flow) Ref() *pbFlow.Flow

func (*Flow) SourcePort

func (f *Flow) SourcePort() *uint32

func (*Flow) String

func (f *Flow) String() string

func (*Flow) TCP

func (f *Flow) TCP() *pbFlow.TCP

func (*Flow) UDP

func (f *Flow) UDP() *pbFlow.UDP

Jump to

Keyboard shortcuts

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