network

package
v0.0.0-...-a0c44de Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IcmpPacket

type IcmpPacket struct {
	DestIP                 net.IP
	CustomInternetProtoID  int
	CustomSequenceNum      int
	Data                   []byte
	TestCount              uint16
	DelayBetweenEachPacket uint16
}

func NewIcmpPacket

func NewIcmpPacket(dest string, count uint16, opts ...IcmpPacketOption) (*IcmpPacket, error)

func (*IcmpPacket) MeasureReplyDelay

func (i *IcmpPacket) MeasureReplyDelay() error

type IcmpPacketOption

type IcmpPacketOption = func(c *IcmpPacket)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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