icmp

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBodyIsNotICMPEchoReply      = errors.New("body is not icmp echo reply")
	ErrBodyIsNotICMPDstUnreachable = errors.New("body is not icmp destination unreachable")
)

Functions

func ParseEchoReply

func ParseEchoReply(bytes []byte) (*icmp.Echo, error)

func ParseUnreachable

func ParseUnreachable(bytes []byte) (*icmp.DstUnreach, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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