Documentation ¶
Overview ¶
This is the implementation of gosniff
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintDeviceInterfaces ¶
func PrintDeviceInterfaces() error
Types ¶
type Sniffer ¶
type Sniffer struct { // Device interface Name InterfaceName *string // BPF expression for filtering BpfFilterExpr *string // The maximum length of the packets captured SnapshotLength int32 // The duration of the sniffer were packets will be consumed Duration time.Duration // Determines whether to use Promiscuous mode Promiscuous bool // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.