Documentation
¶
Overview ¶
Package pcap provides functions to interface with the gopacket/pcap library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartCapture ¶
Types ¶
type Flag ¶ added in v0.1.2
type Flag uint8
const ( // capture all packets from all interfaces. CaptureAllFlag Flag = 1 << iota // put capturing interface in promiscuous mode PromiscuousFlag // put capturing interface in monitor mode MonitorFlag // automatically use the first non loopback interface found on the system to capture packets AutoIfaceFlag // display packets in hex form HexDumpFlag // display packets in summary form SummaryFlag )
Click to show internal directories.
Click to hide internal directories.