icmp

package
v0.0.0-...-b4268f6 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagAck = 1
)

Variables

View Source
var (
	ErrInvalidPacket = errors.New("icmp: invalid packet")
	ErrInvalidType   = errors.New("icmp: invalid type")
	ErrShortBuffer   = errors.New("icmp: short buffer")
)

Functions

func ClientConn

func ClientConn(conn net.PacketConn, id int) net.PacketConn

func ServerConn

func ServerConn(conn net.PacketConn) net.PacketConn

Types

This section is empty.

Jump to

Keyboard shortcuts

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