Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListDeviceNames ¶
ListDevicesNames returns the list of adapters available for sniffing on this computer. If the withDescription parameter is set to true, a human readable version of the adapter name is added. If the withIP parameter is set to true, IP address of the adapter is added.
Types ¶
type Option ¶
type Option func(sniffer *Sniffer)
func WithBpfFilter ¶
func WithBufferSize ¶
func WithDevice ¶
func WithDumpFiile ¶
func WithPromisc ¶
func WithSnaplen ¶
Click to show internal directories.
Click to hide internal directories.