Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GenerateQuicPayloadWithRandomIds ¶
func GenerateQuicPayloadWithRandomIds() []byte
func HopPrinter ¶
func HopPrinter(h Hop)
Types ¶
type Config ¶
type Config struct { SrcAddr string BeginHop int MaxHops int NumMeasurements int ParallelRequests int Timeout time.Duration DestIP net.IP DestPort int Quic bool IPGeoSource ipgeo.Source RDns bool AlwaysWaitRDNS bool PacketInterval int TTLInterval int Lang string DN42 bool RealtimePrinter func(res *Result, ttl int) AsyncPrinter func(res *Result) PktSize int Maptrace bool }
type ICMPTracer ¶
type ICMPTracer struct { Config // contains filtered or unexported fields }
func (*ICMPTracer) Execute ¶
func (t *ICMPTracer) Execute() (*Result, error)
func (*ICMPTracer) PrintFunc ¶
func (t *ICMPTracer) PrintFunc()
type ICMPTracerv6 ¶
type ICMPTracerv6 struct { Config // contains filtered or unexported fields }
func (*ICMPTracerv6) Execute ¶
func (t *ICMPTracerv6) Execute() (*Result, error)
func (*ICMPTracerv6) PrintFunc ¶
func (t *ICMPTracerv6) PrintFunc()
type PacketListener ¶
type PacketListener struct { Conn net.PacketConn Messages chan ReceivedMessage // contains filtered or unexported fields }
func NewPacketListener ¶
func NewPacketListener(conn net.PacketConn, ctx context.Context) *PacketListener
func (*PacketListener) Start ¶
func (l *PacketListener) Start()
type TCPTracerv6 ¶
func (*TCPTracerv6) Execute ¶
func (t *TCPTracerv6) Execute() (*Result, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.