Documentation ¶
Overview ¶
Package udp adds a UDP traceroute implementation to the agent
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UDPv4 ¶
type UDPv4 struct { Target net.IP TargetPort uint16 NumPaths uint16 MinTTL uint8 MaxTTL uint8 Delay time.Duration // delay between sending packets (not applicable if we go the serial send/receive route) Timeout time.Duration // full timeout for all packets // contains filtered or unexported fields }
UDPv4 encapsulates the data needed to run a UDPv4 traceroute
func NewUDPv4 ¶
func NewUDPv4(target net.IP, targetPort uint16, numPaths uint16, minTTL uint8, maxTTL uint8, delay time.Duration, timeout time.Duration) *UDPv4
NewUDPv4 initializes a new UDPv4 traceroute instance
Click to show internal directories.
Click to hide internal directories.