Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Handlers = []struct { LayerType gopacket.LayerType Handler LayerHandler }{ {layers.LayerTypeEthernet, layer2.PrintEthernetLayer}, {layers.LayerTypeIPv4, layer3.PrintIPv4Layer}, {layers.LayerTypeICMPv4, layer3.PrintIcmpLayer}, {layers.LayerTypeARP, layer2.PrintARPLayer}, {layers.LayerTypeTCP, layer4.PrintTcpLayer}, {layers.LayerTypeUDP, layer4.PrintUdpLayer}, {layers.LayerTypeUDP, layer7.PrintAppLayer}, {layers.LayerTypeDNS, layer7.PrintDnsLayer}, {layers.LayerTypeDHCPv4, layer7.PrintDhcpLayer}, {layers.LayerTypeTCP, layer7.PrintAppLayer}, }
Functions ¶
func HelpMessage ¶ added in v0.2.0
func HelpMessage() string
Types ¶
type AnalysisOptions ¶ added in v0.5.1
type CaptureOptions ¶ added in v0.5.1
type Config ¶ added in v0.5.1
type Config struct {
Analysis AnalysisOptions
Capture CaptureOptions
General GeneralOptions
IO IOOptions
Visualization VisualizationOptions
}
Config holds the parsed command-line options grouped by concern.
type GeneralOptions ¶ added in v0.5.1
type LayerHandler ¶
type VisualizationOptions ¶ added in v0.5.1
type VisualizationOptions struct {
NoAscii bool
}
Click to show internal directories.
Click to hide internal directories.