icmp

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2016 License: Apache-2.0 Imports: 10 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

This section is empty.

Types

type ICMPv4Processor

type ICMPv4Processor interface {
	ProcessICMPv4(tcphdr *layers.ICMPv4, pkt *protos.Packet)
}

type ICMPv6Processor

type ICMPv6Processor interface {
	ProcessICMPv6(tcphdr *layers.ICMPv6, pkt *protos.Packet)
}

type Icmp

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

func NewIcmp

func NewIcmp(testMode bool, results publish.Transactions) (*Icmp, error)

func (*Icmp) ProcessICMPv4

func (icmp *Icmp) ProcessICMPv4(icmp4 *layers.ICMPv4, pkt *protos.Packet)

func (*Icmp) ProcessICMPv6

func (icmp *Icmp) ProcessICMPv6(icmp6 *layers.ICMPv6, pkt *protos.Packet)

Jump to

Keyboard shortcuts

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