Documentation
¶
Overview ¶
Package tcp adds a TCP traceroute implementation to the agent
Package tcp adds a TCP traceroute implementation to the agent
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TCPv4 ¶
type TCPv4 struct { Target net.IP DestPort 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 }
TCPv4 encapsulates the data needed to run a TCPv4 traceroute
func NewTCPv4 ¶
func NewTCPv4(target net.IP, targetPort uint16, numPaths uint16, minTTL uint8, maxTTL uint8, delay time.Duration, timeout time.Duration) *TCPv4
NewTCPv4 initializes a new TCPv4 traceroute instance
Click to show internal directories.
Click to hide internal directories.