pcap

package
v0.0.0-...-0ee8813 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnknownIP   = "-1.-1.-1.-1"
	UnknownPort = "-1"
)

Variables

This section is empty.

Functions

func ListAvailableInterfaces

func ListAvailableInterfaces() (devicesText string, err error)

func NewWorker

func NewWorker(number int, packetStream chan gopacket.Packet, options opt.Options) *worker

func StartCapture

func StartCapture(device, filter string, snaplen int, promiscuous bool, options opt.Options) error

func StopCapture

func StopCapture()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL