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)
Click to show internal directories.
Click to hide internal directories.