Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Args ¶
type Args struct {
TCP bool
UDP bool
ForceIPv4 bool
ForceIPv6 bool
DestinationPort uint
SourcePort uint
NumProbes uint
MaxTTL uint
// FIXME: Clean this up
InterProbeDelay time.Duration
InterTTLDelay time.Duration
Timeout time.Duration
Json bool // output json to stdout
JsonFile string // output json to file while showing TUI
HashAlgorithm string // hash algorithm: crc32, sha256
Log string // log file path, empty means no logging
LogLevel string // log level: debug, info, warn, error
Destination string
ParallelProbes uint
}
func (Args) ProtocolName ¶
ProtocolName returns the protocol name based on args
Click to show internal directories.
Click to hide internal directories.