icmp

package
v3.0.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

README

also see other ICMP implementations
http://godoc.org/golang.org/x/net/icmp
http://godoc.org/golang.org/x/net/ipv4#ICMPType
http://godoc.org/golang.org/x/net/ipv6#ICMPType

see
libbeat/CONTRIBUTING.md
libbeat/common/endpoint.go
libbeat/common/tuples.go
SUPPORT_PROTOCOL.md
docs/new_protocol.asciidoc
etc/fields.yml

requirements
- transaction: single message or message pair
- correlation key: ip: src, dst; icmp: id, seq

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(testMode bool, results protos.Reporter, cfg *common.Config) (*icmpPlugin, error)

Types

type ICMPv4Processor

type ICMPv4Processor interface {
	ProcessICMPv4(flowID *flows.FlowID, hdr *layers.ICMPv4, pkt *protos.Packet)
}

type ICMPv6Processor

type ICMPv6Processor interface {
	ProcessICMPv6(flowID *flows.FlowID, hdr *layers.ICMPv6, pkt *protos.Packet)
}

Jump to

Keyboard shortcuts

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