Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Protocol ¶
type Protocol string
Protocol defines supported network protocols Please define new protocols based on the Keyword from: https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml
type TCPMethod ¶
type TCPMethod string
TCPMethod is the method used to run a TCP traceroute.
const ( // TCPConfigSYN means to only perform SYN traceroutes TCPConfigSYN TCPMethod = "syn" // TCPConfigSACK means to only perform SACK traceroutes TCPConfigSACK TCPMethod = "sack" // TCPConfigPreferSACK means to try SACK, and fall back to SYN if the remote doesn't support SACK TCPConfigPreferSACK TCPMethod = "prefer_sack" // TCPConfigSYNSocket means to use a SYN with TCP socket options to perform the traceroute (windows only) TCPConfigSYNSocket TCPMethod = "syn_socket" )
Click to show internal directories.
Click to hide internal directories.