protomap

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Enriches any passing flow message with the human readable protocol. The result is written to the protoname field of any flow

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProtoNumToString

func ProtoNumToString(proto uint32) string

Types

type Protomap

type Protomap struct {
	segments.BaseSegment
}

func (Protomap) New

func (segment Protomap) New(config map[string]string) segments.Segment

TODO make configurable to only add specific protocol names instead of all

func (*Protomap) Run

func (segment *Protomap) Run(wg *sync.WaitGroup)

Jump to

Keyboard shortcuts

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